Skip to content

安装最新版本报错呢 #47

@yuan6785

Description

@yuan6785

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions