Does it need to be a completely separate VM?

It sounds like you could instead use a python Virtual Environment 
<http://docs.python-guide.org/en/latest/dev/virtualenvs/> in your existing 
VM.

Then you can do:

pip freeze > requirements.txt

Then create a new virtual environment, activate it, and run:

pip install -r requirements.txt

To interact with your virtual environments I like the convenience of 
virtualenv-burrito <https://github.com/brainsik/virtualenv-burrito>

Also, assuming all your packages were installed in the global site-packages 
(you don't want that) you will probably need to use --no-site-packages so 
they are ignored in your new virtual environment


On Thursday, September 11, 2014 11:59:49 PM UTC-7, Barış Bilgiç wrote:
>
> I develop Django project in PyCharm with Vagrant.
>
> In my project there are many python packages installed in to VM. Now, I 
> need to use all same packages in other project.
>
> How can I clone (not only configuration but also data) my existing VM and 
> use it with Vagrant in other project?
>
> Thanks
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to