python - Can I use same virtual environment on different computers -


on office computer, i've made virtualenv one-for-rule-them-all @ dropbox folder. want use environment both @ work , @ home. possible? (currently i'm not successful)

look using relocatable option of virtualenv. full documentation, see virtualenv documentation on subject.

one note of interest:

also, not make packages cross-platform. can move directory around, can used on other similar computers. known environmental differences can cause incompatibilities: different version of python, when 1 platform uses ucs2 internal unicode representation , uses ucs4 (a compile-time option), obvious platform changes windows vs. linux, or intel vs. arm, , if have libraries bind c libraries on system, if c libraries located somewhere different (either different versions, or different filesystem layout).

as alternative approach, manage project/setup dependencies setup.py requirements (install_requires, setup_requires), or pip requirements.txt file. more portable , cross-platform.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -