LoginSignup
0
0

More than 3 years have passed since last update.

Tensorflow インストールでWARNING, numpy, metadata,...なんとかかんとかを解決。

Last updated at Posted at 2020-11-27
pip install tensorflow

でインストールしようとすると、
こういうエラーが出ました。

FileNotFoundError: [Errno 2] No such file or directory: '/Users/-/anaconda3/lib/python3.6/site-packages/numpy-1.19.4.dist-info/RECORD'

とか、

No metadata found in ./anaconda3/lib/python3.6/site-packages

とか、

WARNING: Error parsing requirements for numpy: [Errno 2] No such file or directory: '/Users/-/anaconda3/lib/python3.6/site-packages/numpy-1.19.4.dist-info/METADATA'

解決策

外国に解決された方がいました。
Installation problem :Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: #6647

image.png
翻訳...
image.png

つまり、/Users/-/anaconda3/lib/python3.6/site-packages/ に存在する他のライブラリのフォルダーにあった、METADATA、metadata.json、RECORDを持ってきて入れました。そしたらなんか解決します。
なんじゃこりゃ。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0