这是一台带有MacOS Catalina和python3.7的新型笔记本电脑。
由于某种原因,当我尝试使用“ pip3”安装新软件包时,收到一条通知,通知该软件包已安装,并且出现错误。
这里是一个例子:
~ pip3 install pylint
Requirement already satisfied: pylint in ./Library/Python/3.7/lib/python/site-packages (2.3.1)
No metadata found in ./Library/Python/3.7/lib/python/site-packages
Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/Users/tennis.smith/Library/Python/3.7/lib/python/site-packages/pylint-2.3.1.dist-info/METADATA'
任何人都知道什么损坏或配置错误?
谢谢