for what it's worth, the problem comes from the debianized version of virtualenv which uses a debundled version of pkg_resource which gets added into the virtualenv at creation time :
$ virtualenv .
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/caribou/git/quividi/test/bin/python2
Also creating executable in /home/caribou/git/quividi/test/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
$ pip freeze
pkg-resources==0.0.0
Using the pip installed version of virtualenv can be a workable workaround :
Hello,
for what it's worth, the problem comes from the debianized version of virtualenv which uses a debundled version of pkg_resource which gets added into the virtualenv at creation time :
$ virtualenv . git/quividi/ test/bin/ python2 git/quividi/ test/bin/ python =0.0.0
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/caribou/
Also creating executable in /home/caribou/
Installing setuptools, pkg_resources, pip, wheel...done.
$ pip freeze
pkg-resources=
Using the pip installed version of virtualenv can be a workable workaround :
$ sudo apt -y purge python3-virtualenv virtualenv tox /files. pythonhosted. org/packages/ c5/97/00dd42a0f c41e9016b23f07e c7f657f636cb672 fad9cf72b80f8f6 5c6a46/ virtualenv- 16.7.7- py2.py3- none-any. whl (3.4MB) ███████ ███████ ███████ █████| 3.4MB 351kB/s git/quividi/ test/bin/ python
$ pip install virtualenv
$ virtualenv .
pip install virtualenv
Collecting virtualenv
Downloading https:/
100% |██████
Installing collected packages: virtualenv
Successfully installed virtualenv-16.7.7
$ virtualenv .
New python executable in /home/caribou/
Installing setuptools, pip, wheel...
done.
$ source bin/activate
$ pip freeze
$
hth,
...Louis