由于环境错误而无法安装软件包:[Errno 2]

问题描述:

我最近开始在点子安装方面遇到问题.每次我在终端中运行这种命令时,都会出现错误:

I`ve recently started having problems with pip installs. Every time I run this kind of command in Terminal, I get an error:

由于以下原因而无法安装软件包

Could not install packages due to:

EnvironmentError:[错误2]没有这样的文件或目录:'/'me'/'me'/anaconda3/lib/python3.6/site-packages/tqdm-4.11.2.dist-info/METADATA'

EnvironmentError: [Errno 2] No such file or directory: '/'me'/'me'/anaconda3/lib/python3.6/site-packages/tqdm-4.11.2.dist-info/METADATA'

有人知道怎么了吗?一个月前没有这个问题.请帮忙! 以防万一:当我写pip install sex-guesser时,会弹出上述错误.

Does anyone know what's wrong? Didn't have this issue a month ago. Please help! Just in case: the error above popped up when i wrote pip install gender-guesser.

尝试使用conda重新安装tqdm. 然后您可以使用pip安装软件包.

Try to reinstall tqdm with conda. And then you can install packages with pip.

conda install tqdm

等待直到完成.然后,您可以执行以下操作:

Wait until it done. Then you can do:

pip install gender-guesser