python - I want my already created virtualenv to have access to system packages -
i've installed opencv3 on ubuntu 14.04. tutorial followed reason using virtualenv. want move opencv virtual global environment. reason can't seem use packages installed on global environment getting on nerves. how can that?
i'm not sure got question right, probably virtualenv has been created without specifying option --system-site-packages
, gives virtualenv access packages installed system-wise.
if run virtualenv --system-site-packages tutorial_venv
instead of virtualenv tutorial_venv
when creating tutorial virtualenv, might fine.
fyi, using virtualenv local dependencies it's widespread practice, which:
- gives isolation , reproducibility in production scenarios
- makes possible users without privilege of installing packages system-wide run , develop python application
the last benefit might reason why tutorial suggested virtualenv based approach.
Comments
Post a Comment