Skip to content
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

Missing venv/bin #2272

Open
rinu opened this issue Jun 7, 2023 · 1 comment
Open

Missing venv/bin #2272

rinu opened this issue Jun 7, 2023 · 1 comment

Comments

@rinu
Copy link
Contributor

rinu commented Jun 7, 2023

https://github.com/mail-in-a-box/mailinabox/blob/main/setup/management.sh

On line 30 it creates a virtualenv in /usr/local/lib/mailinabox/env with virtualenv -ppython3 $venv and then immediately after assumes $venv/bin/pip exists. However for me that doesn't seem to work. All I have is $venv/local/bin/pip. Even when using that pip the virtualenv is messed up and pip will instead install dependecies globally.

I'm trying to upgrade an older system. It's probably my fault for not working but I have failed to figure out what I have done wrong.

@rinu
Copy link
Contributor Author

rinu commented Jun 8, 2023

I tried running virtualenv -ppython3 /usr/local/lib/mailinabox/env on a different Ubuntu 22 machine and it did create the bin folder instead of local/bin. I guess the issue then is isolated to one machine and me not really knowing how virtualenv works.

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

No branches or pull requests

1 participant