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

virtualenv problem #69

Open
AnonymousLesserPanda opened this issue Mar 6, 2024 · 2 comments
Open

virtualenv problem #69

AnonymousLesserPanda opened this issue Mar 6, 2024 · 2 comments

Comments

@AnonymousLesserPanda
Copy link

Hello
I want to install this package in my virtual environment, and if I don't use 'sudo', the permission problem will shut down the install progress, but when I used 'sudo' command, this package would be installed in the root python.
If there any way to install this package in virtual environment.
Thanks for your help.

@edgar-costa
Copy link
Collaborator

Hi,

Right now we do not support that. If you want to install everything in a virtual env, you will need to modify the install script yourself.

@IamAdiSri
Copy link

IamAdiSri commented Mar 8, 2024

  • Create your virtual environment. Now execute sudo su to raise your privileges to super user.

  • Activate your virtual environment, and install the package like normal.

  • If this doesn't work, find the python path to your virtual environment, and while still a super user, try this command: <path to venv>/python -m pip install <package>

  • exit command will exit the superuser

Edit: Based on what edgar says, I guess this won't work.

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

3 participants