0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

pipインストールで依存関係でエラー発生の対処 メモ

0
Posted at

環境
Windows10 pro
python3.7

requirements.txtで以下のインストールする為のアプリケーションを記述。

base58==1.0.3
ecdsa==0.13
Flask==1.0.2
requests==2.21.0

ターミナルでインストールを実行

pip3 install -r requirements.txt  

依存関係のエラーが発生した。

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pandas-datareader 0.10.0 requires lxml, which is not installed.
flask-sqlalchemy 2.5.1 requires SQLAlchemy>=0.8.0, which is not installed.
docxtpl 0.15.2 requires lxml, which is not installed.
conda-repo-cli 1.0.4 requires pathlib, which is not installed.

pandasに問題があると思い。
アップデートしました。

pip3 install --upgrade pandas

インストール時に次の依存関係のエラー

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pandas-datareader 0.10.0 requires lxml, which is not installed.

pandas-datareaderをインストールするが、また依存関係のエラー

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pyshark 0.4.5 requires py, which is not installed.

pyshark をインストールして無事にインストールができたので
再度、pandas-datareaderをインストール
正常にインストール完了し、 pandasを再度アップデートして無事インストール完了。
再度

pip3 install -r requirements.txt

を実行したら正常にインストール完了しました。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?