0
2

More than 3 years have passed since last update.

pip installでエラーが出たときの備忘録

Posted at

pip installって意外とうまくいかない。。

趣味と(未だに)仕事で機械学習をプログラミングしているのですが、必要なパッケージをインストールする際に困ることがよくあります。特にpip install系のエラー。
仕方なくAnacondaを使用できず、開発環境が異なっている状態だとエラーがでる要因がたくさんあります。

検索すれば解決するのですが、再発する頃には結局忘れてもう一回検索。。と面倒なので自分用の備忘録を残します(笑)

transformers(os:win)

error01.PNG

FileNotFoundError: [Errno 2] No such file or directory: '..\VERSION' ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

ここ
statementpiece-0.1.84-cp36-cp36m-win_amd64.whl
をダウンロードして
pip install statementpiece-0.1.84-cp36-cp36m-win_amd64.whl
でインストールすればOK

エラー出たらバージョンに適したwhlをインストールする

0
2
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
2