Open yb-ben opened 2 months ago
为什么我这边编译失败呢
我已经通过sip-wheel 生成了 pywpsrpc-2.3.9-cp36-cp36m-manylinux1_aarch64.whl,然后用pip installl ,提示 not a supported wheel on this platform
一样的问题,不知道哪里出错了
我的出错信息为: (python4wps) mypc@mypc-pc:~/hetianhe/pywpsrpc-2.3.9$ pip install pip install -vvv *.whl Using pip 24.2 from /home/mypc/python4wps/lib/python3.8/site-packages/pip (python 3.8) Non-user install because user site-packages disabled Disabling truststore because Python version isn't 3.10+ Created temporary directory: /tmp/pip-build-tracker-19dkd_yr Initialized build tracking at /tmp/pip-build-tracker-19dkd_yr Created build tracker: /tmp/pip-build-tracker-19dkd_yr Entered build tracker: /tmp/pip-build-tracker-19dkd_yr Created temporary directory: /tmp/pip-install-1zh5z5fr Created temporary directory: /tmp/pip-ephem-wheel-cache-b956azc2 Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Disabling truststore because Python version isn't 3.10+ Remote version of pip: 24.2 Local version of pip: 24.2 Was pip installed by pip? True ERROR: pywpsrpc-2.3.9-cp38-cp38-manylinux_2_5_aarch64.whl is not a supported wheel on this platform. Exception information: Traceback (most recent call last): File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 105, in _run_wrapper status = _inner_run() File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 96, in _inner_run return self.run(options, args) File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 67, in wrapper return func(self, options, args) File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 379, in run requirement_set = resolver.resolve( File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 76, in resolve collected = self.factory.collect_root_requirements(root_reqs) File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 539, in collect_root_requirements reqs = list( File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 490, in _make_requirements_from_install_req self._fail_if_link_is_unsupported_wheel(ireq.link) File "/home/mypc/python4wps/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 146, in _fail_if_link_is_unsupported_wheel raise UnsupportedWheel(msg) pip._internal.exceptions.UnsupportedWheel: pywpsrpc-2.3.9-cp38-cp38-manylinux_2_5_aarch64.whl is not a supported wheel on this platform. Removed build tracker: '/tmp/pip-build-tracker-19dkd_yr'
编译跟安装是同一台设备
强行unpack whl包,把里面的WHEEL文件改了,然后再打包,就可以安装了
我已经通过sip-wheel 生成了 pywpsrpc-2.3.9-cp36-cp36m-manylinux1_aarch64.whl,然后用pip installl ,提示 not a supported wheel on this platform