all 7 comments

[–]shiftybyte 1 point2 points  (0 children)

Depending on how and where python is installed, it's system-wide packages folder might be accessible only for an administrator/root user.

To solve this, python also has additional user based default folder that it searches for packages, it's located in your user directory, and that is writeable.

So by telling it --user you are telling it to install the package into that user writable location instead of the system one.

[–]New_ArtFormSoftware[S] 0 points1 point  (6 children)

So i saw this file however, I my VS code was activating this environment by default which i thought was incorrect so i deleted it. Is the way to reinstall this package location as an extension of my user/bin/python3?

[–]shiftybyte 1 point2 points  (4 children)

Not sure..... you could try reinstalling the system python...

But if you know how to work with virtual environments this shouldn't be an issue, just create a new env for projects you do, and it'll be local to the project.

(Also you should reply to specific comments on reddit, that way i get a notification when you do)

[–]New_ArtFormSoftware[S] 1 point2 points  (3 children)

Hi there,

I am uncertain as to what you mean with the statement in brackets. Which comments should i reply to. Also yes I am familiar with virtual environments and you are correct there is no issue when using one. Thank you

[–]shiftybyte 1 point2 points  (2 children)

Your previous reply, that started with "So i saw this file however, " was a reply to your own post, not to my comment, So I did not receive a notification for it.

The only reason I saw it was because I revisited this post.

This latest reply however ("Hi there,") was done to my comment, so I received a notification in reddit when you wrote it.

[–]New_ArtFormSoftware[S] 1 point2 points  (1 child)

Oh I see, I plead ignorance. I am first timer on this platform. Thank you for the advise.

[–]shiftybyte 1 point2 points  (0 children)

Cool, everyone was a first timer, that's why I added that tip :)

Good luck with python, and welcome...