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

Pip development install does not recognize --user flag #45

Open
Jul3k opened this issue Apr 29, 2021 · 0 comments
Open

Pip development install does not recognize --user flag #45

Jul3k opened this issue Apr 29, 2021 · 0 comments

Comments

@Jul3k
Copy link

Jul3k commented Apr 29, 2021

I am running the following command to install voila-vuetify in development mode (-e) of a local clone of the repository on a linux machine:

pip install --user -e .

This however fails because setup.py is trying to write into /usr/share/jupyter without root permission. With a print command added behind the line that checks for the --user flag,

if '--user' in sys.prefix:  # TODO: is there a better way to find out?

I found out that this expression fails to correctly detect the --user flag. The user_dirfunction contains two more errors as the env and home variable are not defined.

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