外部ライブラリのローカルインストール

###はじめに
今回初めて質問させていただきます。pythonの知識もほとんどない状態からの取り組みなので環境準備のところからつまずいています。
エラーの解決方法がわからないので教えていただければ幸いです。

前提

・pythonを使用
・会社での作業となるため外部ライブラリをインターネットから直接インストールができない

下記urlを参考に外部ライブラリをインストールしたが外部ライブラリによってエラーコードが違う。(インストールしたい外部ライブラリは後述)
ローカルからの外部ライブラリダウンロード方法
https://gammasoft.jp/blog/pip-install-from-local-archives-by-manually/

実現したいこと

下記外部ライブラリをインストールし、pythonで使用できるようにする。
(バージョンは全て12/7日時点で最新のもの)
・pandas
・matplotlib
・numpy
・pyinstaller
・virtualenv

###発生している問題・エラーメッセージ
①pandas,numpy
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run succes exit code: 1
[3 lines of output]
Looking in links: openpyx| sro
ERROR: Could not find a version that satisfies the requirement >=51. 0. 0(from versions:none)
ERROR: No matching distribution found for setuptools>=51. 0. 0

②matplotlib
error: subprocess-exited-with-error
X python setup.py egg_info did not run successfully. exit code: 1
以下会社情報もあるため省略

③pyinstaller,virtualenv
error: subprocess-exited-with-error
X pip subprocess to install build dependencies did not run successfully.
exit code: 1
-> 13 lines of output]
Looking in links: openpyx|_sc
ERROR: Could not find a version that satisfies the requirement wheel (from
ERROR: No matching distribution found for wheel [end of output]

試したこと

pipやsetuptoolsがpython内に入っていることの確認。
①に対してはpython内のバージョンが入っていることを確認

python:3.11.1
pip:22.3.1
setuptools:65.5.0

コメントを投稿

0 コメント