Why does pip freeze list “pkg-resources==0.0.0”?

前端 未结 2 1842
忘掉有多难
忘掉有多难 2020-12-13 08:34

On Ubuntu 16.04 with virtualenv 15.0.1 and Python 3.5.2 (both installed with apt) when I create and activate new Python virtual environment with



        
相关标签:
2条回答
  • 2020-12-13 09:24

    I had the same problem in my virtual environment. I removed it with pip uninstall pkg-resources==0.0.0

    0 讨论(0)
  • 2020-12-13 09:31

    According to https://github.com/pypa/pip/issues/4022, this is a bug resulting from Ubuntu providing incorrect metadata to pip. So, no there does not seem to be a good reason for this behaviour. I filed a follow-up bug with Ubuntu. https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1635463

    0 讨论(0)
提交回复
热议问题