-
Notifications
You must be signed in to change notification settings - Fork 337
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
Can't use virtualenv with system python #1248
Comments
it doesn't really make sense to use system this way. "system" in rtx really just means lack of using rtx at all. Perhaps I should rename it to "omit" or "null" or something to make the behavior clearer. |
My use case is to activate (create one if not exists) virtual env in the folder using the system python. This can be done with direnv using
Is this possible in rtx? |
this would require a fair amount of work since currently rtx goes out of its way to ignore the system versions. It is possible to fix though |
Maybe the real issue here is that virtualenv management should be separated from the Python tool and a different plugin/tool dedicated to virtualenv management could be created? There could then even be competing ones based on the way different folks think virtualenvs should be managed (#1438)? The virtualenv management tool/plugin would just use the |
you can do that today, just write a plugin that has a I would like to make this possible though so it wouldn't require so much boilerplate: [env]
_.script = '~/scripts/setup_my_venv.sh' |
Describe the bug
It fails with this output:
To Reproduce
Create local configuration somewhere:
and change current directory to that directory.
Expected behavior
It should create virtual environment with system python.
rtx doctor
outputThe text was updated successfully, but these errors were encountered: