ccj@ccj-PC:~$ pip install psutil
Traceback (most recent call last):
File "/usr/bin/pip", line 5, in
from pip._internal.cli.main import main
File "/home/ccj/.local/lib/python3.10/site-packages/pip/init.py", line 13, in
from pip.utils import get_installed_distributions, get_prog
File "/home/ccj/.local/lib/python3.10/site-packages/pip/utils/init.py", line 23, in
from pip._vendor import pkg_resources
File "/home/ccj/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 32, in
import symbol
ModuleNotFoundError: No module named 'symbol'
出错信息如下,不知是什么情况,请高手分析下:
ccj@ccj-PC:~$ pip install psutil
Traceback (most recent call last):
File "/usr/bin/pip", line 5, in
from pip._internal.cli.main import main
File "/home/ccj/.local/lib/python3.10/site-packages/pip/init.py", line 13, in
from pip.utils import get_installed_distributions, get_prog
File "/home/ccj/.local/lib/python3.10/site-packages/pip/utils/init.py", line 23, in
from pip._vendor import pkg_resources
File "/home/ccj/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/init.py", line 32, in
import symbol
ModuleNotFoundError: No module named 'symbol'