Pip cannot find metadata file - EnvironmentError

后端 未结 6 1987
感情败类
感情败类 2020-12-11 18:59

Whenever I run pip to install the Flask packages like virtualenv in Ubuntu 16.04, I get this error:

pip install virtualenv

6条回答
  •  无人及你
    2020-12-11 19:45

    I meet the same problem

    ERROR: Could not install packages due to an EnvironmentError: [Errno 2] No such file or directory: '/root/anaconda3/lib/python3.6/site-packages/tornado-6.0.4.dist-info/METADATA
    

    then I cd /root/anaconda3/lib/python3.6/site-packages/tornado-6.0.4.dist-info/ && ls

    DESCRIPTION.rst  LICENSE.txt  metadata.json
    

    finally, I did cp metadata.json METADATA solved the problem. maybe this is helpful to you.

提交回复
热议问题