影刀安装odps包报错
回答
收藏

影刀安装odps包报错

逆天的龙少
2024-03-16 00:32·浏览量:326
逆天的龙少
发布于 2024-03-16 00:32326浏览

使用Python包管理功能安装odps模块时候报错,截图和日志如下,如何处理?

Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, http://mirrors.aliyun.com/pypi/simple

Looking in links: c:\Program Files (x86)\ShadowBot\shadowbot-5.15.52\python\\whls

Collecting odps

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\odps-3.5.1-py2.py3-none-any.whl

Collecting pyodps (from odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\pyodps-0.11.5.post0-cp37-cp37m-win32.whl

Collecting urllib3<2.0,>=1.26.0 (from pyodps->odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\urllib3-1.26.18-py2.py3-none-any.whl

Collecting certifi>=2017.4.17 (from pyodps->odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\certifi-2024.2.2-py3-none-any.whl

Collecting charset-normalizer>=2 (from pyodps->odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\charset_normalizer-3.3.2-cp37-cp37m-win32.whl

Collecting idna>=2.5 (from pyodps->odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\idna-3.6-py3-none-any.whl

Collecting pyarrow>=2.0.0 (from pyodps->odps)

 Using cached http://mirrors.aliyun.com/pypi/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz (1.0 MB)

 Installing build dependencies: started

 Installing build dependencies: finished with status 'done'

 Getting requirements to build wheel: started

 Getting requirements to build wheel: finished with status 'done'

 Preparing metadata (pyproject.toml): started

 Preparing metadata (pyproject.toml): finished with status 'done'

Discarding http://mirrors.aliyun.com/pypi/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz#sha256=cce317fc96e5b71107bf1f9f184d5e54e2bd14bbf3f9a3d62819961f0af86fec (from http://mirrors.aliyun.com/pypi/simple/pyarrow/) (requires-python:>=3.7): Requested pyarrow>=2.0.0 from http://mirrors.aliyun.com/pypi/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz#sha256=cce317fc96e5b71107bf1f9f184d5e54e2bd14bbf3f9a3d62819961f0af86fec (from pyodps->odps) has inconsistent version: expected '12.0.1', but metadata has '12.0.0'

 Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz (1.0 MB)

 Installing build dependencies: started

 Installing build dependencies: finished with status 'done'

 Getting requirements to build wheel: started

 Getting requirements to build wheel: finished with status 'done'

 Preparing metadata (pyproject.toml): started

 Preparing metadata (pyproject.toml): finished with status 'done'

Discarding https://pypi.tuna.tsinghua.edu.cn/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz#sha256=cce317fc96e5b71107bf1f9f184d5e54e2bd14bbf3f9a3d62819961f0af86fec (from https://pypi.tuna.tsinghua.edu.cn/simple/pyarrow/) (requires-python:>=3.7): Requested pyarrow>=2.0.0 from https://pypi.tuna.tsinghua.edu.cn/packages/c5/68/d3410e975bebbf5be00c1238d0418345d8ec5d88b7a6c102211a1c967edd/pyarrow-12.0.1.tar.gz#sha256=cce317fc96e5b71107bf1f9f184d5e54e2bd14bbf3f9a3d62819961f0af86fec (from pyodps->odps) has inconsistent version: expected '12.0.1', but metadata has '12.0.0'

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\pyarrow-12.0.0.tar.gz

 Installing build dependencies: started

 Installing build dependencies: finished with status 'done'

 Getting requirements to build wheel: started

 Getting requirements to build wheel: finished with status 'done'

 Preparing metadata (pyproject.toml): started

 Preparing metadata (pyproject.toml): finished with status 'done'

Collecting numpy>=1.16.6 (from pyarrow>=2.0.0->pyodps->odps)

 File was already downloaded c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\numpy-1.21.6-cp37-cp37m-win32.whl

Successfully downloaded odps pyodps certifi charset-normalizer idna pyarrow urllib3 numpy

Looking in links: c:\Program Files (x86)\ShadowBot\shadowbot-5.15.52\python\Lib\site-packages, c:\Users\Administrator.iZnus3bsric3rjZ\AppData\Local\Shadowbot\cache\packages

Processing c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\odps-3.5.1-py2.py3-none-any.whl

Processing c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\pyodps-0.11.5.post0-cp37-cp37m-win32.whl (from odps)

Requirement already satisfied: urllib3<2.0,>=1.26.0 in \lib\site-packages (from pyodps->odps) (1.26.12)

Requirement already satisfied: certifi>=2017.4.17 in \lib\site-packages (from pyodps->odps) (2022.6.15.1)

Requirement already satisfied: charset-normalizer>=2 in \lib\site-packages (from pyodps->odps) (2.1.1)

Requirement already satisfied: idna>=2.5 in \lib\site-packages (from pyodps->odps) (3.3)

Processing c:\users\administrator.iznus3bsric3rjz\appdata\local\shadowbot\cache\packages\pyarrow-12.0.0.tar.gz (from pyodps->odps)

 Installing build dependencies: started

 Installing build dependencies: finished with status 'error'

 error: subprocess-exited-with-error

 

 pip subprocess to install build dependencies did not run successfully.

 exit code: 1

 

 [3 lines of output]

 Looking in links: c:\Program Files (x86)\ShadowBot\shadowbot-5.15.52\python\Lib\site-packages, c:\Users\Administrator.iZnus3bsric3rjZ\AppData\Local\Shadowbot\cache\packages

 ERROR: Could not find a version that satisfies the requirement cython>=0.29.31 (from versions: none)

 ERROR: No matching distribution found for cython>=0.29.31

 [end of output]

 

 note: This error originates from a subprocess, and is likely not a problem with pip.

error: subprocess-exited-with-error

pip subprocess to install build dependencies did not run successfully.

exit code: 1

See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

尝试过的方案

尝试过指定镜像和指定版本,都报错了

收藏
全部回答1
最新
发布回答
回答