I have created my project in virtual environment using Python 3.6.
I used pip install virtualenv
and has created my environment using the following command:
virtualenv venv
Now I have the folder called venv
. I have installed everything and now willing to shift on another system.
So I just copied the folder and activated the environment which ran successfully.
Now I am trying to check the version of the pip
but is it giving the following error:
C:\Users\aims\Desktop\venv\Scripts>activate
(venv) C:\Users\aims\Desktop\venv\Scripts>pip --version
Fatal error in launcher: Unable to create process using '"c:\users\jaffer\venv\scripts\python.exe" "C:\Users\aims\Desktop\venv\Scripts\pip.exe" --version'
I am puzzled as the virtual environment has everything and was working fin on the previous system. I guess the virtualenv
didn't made the environment system independent.
Please suggest me how I can make the project portable or dockable from one system to another without loosing and environment.
EDITED:
I tried --relocatable Not working. Please tell me my pip
is not working at all. Means something got missed.