我在使用pip的时候意外的发现了一些问题
Traceback (most recent call last):
File "D:\program\Anaconda3\Scripts\pip-script.py", line 6, in <module>
from pip._internal.cli.main import main
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\cli\main.py", line 9, in <module>
from pip._internal.cli.autocompletion import autocomplete
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\cli\autocompletion.py", line 10, in <module>
from pip._internal.cli.main_parser import create_main_parser
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\cli\main_parser.py", line 8, in <module>
from pip._internal.cli import cmdoptions
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\cli\cmdoptions.py", line 23, in <module>
from pip._internal.cli.parser import ConfigOptionParser
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\cli\parser.py", line 12, in <module>
from pip._internal.configuration import Configuration, ConfigurationError
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\configuration.py", line 21, in <module>
from pip._internal.exceptions import (
File "D:\program\Anaconda3\lib\site-packages\pip\_internal\exceptions.py", line 8, in <module>
from pip._vendor.requests.models import Request, Response
File "D:\program\Anaconda3\lib\site-packages\pip\_vendor\requests\__init__.py", line 136, in <module>
from . import packages
File "D:\program\Anaconda3\lib\site-packages\pip\_vendor\requests\packages.py", line 8, in <module>
locals()[package] = __import__(vendored_package)
File "D:\program\Anaconda3\lib\site-packages\pip\_vendor\idna\__init__.py", line 2, in <module>
from .core import (
File "D:\program\Anaconda3\lib\site-packages\pip\_vendor\idna\core.py", line 3, in <module>
import unicodedata
ModuleNotFoundError: No module named 'unicodedata'
我注意到报错代码中提到了 我没有unicodedata
这个模块
但是我应该如何在pip无法使用的情况下安装unicodedata这个文件,我尝试的下载了 unicodedata.tar.gz文件并安装在我的Windows操作系统上 但是非常遗憾地是这个下载的文件中没有提供install/main.py 文件,我无法安装,请问有更好的办法吗?