Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (39.0.1) Hi3861 error

root@ubuntu:/# pip3 install setuptools
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.
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (39.0.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv

Requirement already satisfied: setuptools in /home/liyuxuan/.local/lib/python3.8/site-packages (75.3.2) Requirement already satisfied: pip in /home/liyuxuan/.local/lib/python3.8/site-packages (25.0.1) Collecting packaging Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB) Downloading packaging-24.2-py3-none-any.whl (65 kB) WARNING: Error parsing dependencies of distro-info: Invalid version: &#39;0.23ubuntu1&#39; WARNING: Error parsing dependencies of python-debian: Invalid version: &#39;0.1.36ubuntu1&#39; Installing collected packages: packaging Successfully installed packaging-24.2 liyuxuan@l2957488710:~/ardupilot$ pip3 install --user -U future lxml pymavlink pyserial MAVProxy pexpect geocoder empy==3.3.4 ptyprocess dronecan flake8 junitparser pygame intelhex Collecting future Downloading future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Requirement already satisfied: lxml in /usr/lib/python3/dist-packages (4.5.0) Collecting lxml Downloading lxml-5.3.1-cp38-cp38-manylinux_2_28_x86_64.whl.metadata (3.5 kB) Collecting pymavlink Downloading pymavlink-2.4.43-py3-none-any.whl.metadata (6.4 kB) Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (3.4) Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl.metadata (1.6 kB) Collecting MAVProxy Downloading MAVProxy-1.8.71-py3-none-any.whl.metadata (2.0 kB) Requirement already satisfied: pexpect in /usr/lib/python3/dist-packages (4.6.0) Collecting pexpect Downloading pexpect-4.9.0-py2.py3-none-any.whl.metadata (2.5 kB) Collecting geocoder Downloading geocoder-1.38.1-py2.py3-none-any.whl.metadata (14 kB) Collecting empy==3.3.4 Downloading empy-3.3.4.tar.gz (62 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error × python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [10 lines of output] Traceback (most recent call last): File "<string>", line 2, in <module> File "<pip-setuptools-caller>", line 14, in <module> File "/home/liyuxuan/.local/lib/python3.8/site-packages/setuptools/__init__.py", line 27, in <module> from .dist import Distribution File "/home/liyuxuan/.local/lib/python3.8/site-packages/setuptools/dist.py", line 30, in <module> from . import ( File "/home/liyuxuan/.local/lib/python3.8/site-packages/setuptools/_entry_points.py", line 45, in <module> def validate(eps: metadata.EntryPoints): AttributeError: module &#39;importlib_metadata&#39; has no attribute &#39;EntryPoints&#39; [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the p
04-04
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值