前提・実現したいこと
環境:
HW: RaspberryPi 3B+
OS: CentOS 7.6
上記環境に、python3 (3.6.8)をyumでインストールし、pip3で、numpy まではインストールできたのですが、
pandas をインストールしようとすると、以下のエラーではじかれます.
[root@iot ~]# pip3 list
Package Version
Cython 0.29.15
numpy 1.13.3
pip 20.0.2
python-dateutil 2.8.1
pytz 2019.3
setuptools 45.2.0
six 1.14.0
wheel 0.34.2
解決方法をご存知の方、類似問題を解決したご経験ある方、
ご教示をお願いします。
発生している問題・エラーメッセージ
[root@iot ~]# sudo pip3 install pandas WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. Collecting pandas Using cached pandas-1.0.1.tar.gz (4.9 MB) Installing build dependencies ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python3 /usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-zu806z90/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' cwd: None Complete output (10 lines): Ignoring numpy: markers 'python_version >= "3.7" and platform_system != "AIX"' don't match your environment Ignoring numpy: markers 'python_version == "3.6" and platform_system == "AIX"' don't match your environment Ignoring numpy: markers 'python_version >= "3.7" and platform_system == "AIX"' don't match your environment WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7540db90>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7540daf0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7540dbd0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7540d990>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7540d8f0>: Failed to establish a new connection: [Errno -2] Name or service not known',)': /simple/setuptools/ ERROR: Could not find a version that satisfies the requirement setuptools (from versions: none) ERROR: No matching distribution found for setuptools ---------------------------------------- ERROR: Command errored out with exit status 1: /usr/bin/python3 /usr/local/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-zu806z90/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel 'Cython>=0.29.13' 'numpy==1.13.3; python_version=='"'"'3.6'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.14.5; python_version>='"'"'3.7'"'"' and platform_system!='"'"'AIX'"'"'' 'numpy==1.16.0; python_version=='"'"'3.6'"'"' and platform_system=='"'"'AIX'"'"'' 'numpy==1.16.0; python_version>='"'"'3.7'"'"' and platform_system=='"'"'AIX'"'"'' Check the logs for full command output. [root@iot ~]#
試したこと
numpyのインストールにおいて、"Building wheel for numpy (setup.py) ... error"のエラーが出ましたが、
[root@iot ~]# sudo yum install python3-tkinter
の実行で解消しました。
pandasでも同様にできないかトライしましたが、上記エラーが表示されます。
補足情報(FW/ツールのバージョンなど)
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー