Skip to content

Link package outside virtualenv as instaled #2482

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ManPython opened this issue Jan 6, 2023 · 3 comments
Closed

Link package outside virtualenv as instaled #2482

ManPython opened this issue Jan 6, 2023 · 3 comments

Comments

@ManPython
Copy link

ManPython commented Jan 6, 2023

What's the problem this feature will solve?
I often installing module/package that need in many venvs and this same in in pain python.. in some reason.

Describe the solution you'd like

Want install module/package in (virtualenv) as active into other as paralel where can in main python site-package dir and "linked" in to virtualenv or virtualenv1 and virtualenv2, etc.

Alternative Solutions

Can be implemented in PIP

Additional context

pip install pandas --base as main Python site-package dir

pip install pandas --base --virtualenv as main Python site-package dir + virtualenv as paralel instalation
pip install pandas --base --virtualenv activated as main Python site-package dir + virtualenv as paralel instalation
pip install pandas --base --virtualenv activated e:/other/path/virtualenv1 e:/other/path/virtualenv2 as main Python site-package dir + virtualenv as paralel instalation
pip install pandas --base --linked activated e:/other/path/virtualenv1 e:/other/path/virtualenv2 as main Python site-package dir + virtualenv as linked instalation

@gaborbernat
Copy link
Contributor

gaborbernat commented Jan 6, 2023

This sounds like a pip issue, not virtualenv.

@ManPython
Copy link
Author

Myabe You are right. But what if module is instaled into "--base" and not use pip in virtualvenv? Why not do some symlink via virtualvenv in simple way into base python indicating just module? Eg. update virtualvenv with some package that are instaled?
My idea is that after virtualvenv is created, the this virtualvenv know where is base, then can be updated this virtualvenv by some instaled modules as site-packages and can clone this maybe to other as pocket/portfolilo eg. like requiments.txt can be clone.txt or pacakge.txt pocket.txt that can be easy cloned to other venv or linked

@gaborbernat
Copy link
Contributor

virtualenv does not install packages (only seed ones) and lacks capability to install anything else, and we don't plan to support it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants