Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装最新版本报错呢 #47

Open
yuan6785 opened this issue Jul 10, 2024 · 4 comments
Open

安装最新版本报错呢 #47

yuan6785 opened this issue Jul 10, 2024 · 4 comments

Comments

@yuan6785
Copy link

pip install -U MiService==2.1.2
Collecting MiService==2.1.2
Using cached miservice-2.1.2.tar.gz (12 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/Users/yuanxiao/.pyenv/versions/py3.11_virtualenv_test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
main()
File "/Users/yuanxiao/.pyenv/versions/py3.11_virtualenv_test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/yuanxiao/.pyenv/versions/py3.11_virtualenv_test/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/yz/wr4mf5654m306_wpj23bx7vm0000gn/T/pip-build-env-q62g21_v/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 327, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/private/var/folders/yz/wr4mf5654m306_wpj23bx7vm0000gn/T/pip-build-env-q62g21_v/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 297, in _get_build_requires
self.run_setup()
File "/private/var/folders/yz/wr4mf5654m306_wpj23bx7vm0000gn/T/pip-build-env-q62g21_v/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 497, in run_setup
super().run_setup(setup_script=setup_script)
File "/private/var/folders/yz/wr4mf5654m306_wpj23bx7vm0000gn/T/pip-build-env-q62g21_v/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 313, in run_setup
exec(code, locals())
File "", line 17, in
File "/private/var/folders/yz/wr4mf5654m306_wpj23bx7vm0000gn/T/pip-install-w73i_04y/miservice_8561a24430bf4f04b3ca223dff320819/micli.py", line 2, in
from aiohttp import ClientSession
ModuleNotFoundError: No module named 'aiohttp'
[end of output]

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

× Getting requirements to build wheel 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.

@CHEN-HONGLIN
Copy link

是呢,我也是报同样的错。 from aiohttp import ClientSession
ModuleNotFoundError: No module named 'aiohttp'

@CHEN-HONGLIN
Copy link

aiohttp 这个模块已经安装了 ,还是报错 ModuleNotFoundError: No module named 'aiohttp'

@jasonhorga
Copy link

我也出这个问题,很奇怪,突然就出现了...

@jasonhorga
Copy link

我更新了一下wheel,然后发现yarl报错,又把yarl删掉重新装了一下,然后发现miservice安装没错误了。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants