Skip to content Skip to sidebar Skip to footer

Why Virtualenv Relies On The Global Python Instead Of The Local One, After Being Pulled?

I pulled (git) a python project which was created (by me on another computer) using virtualenv. So, the python library is actually in a local directory (e.g., fila_env/bin/python)

Solution 1:

  1. You cannot and you shouldn't, If I use 32-bit Linux and your virtualenv has been created on 64-bit Windows (or vice versa) your python binary certainly will not work for me.

  2. Again, no. virtualenv is a developer's tool, not a distribution tool. For distribution you should consider sdist/egg/wheel, or creating platform-dependent binaries with PyInstaller, py2exe or similar tools.

Post a Comment for "Why Virtualenv Relies On The Global Python Instead Of The Local One, After Being Pulled?"