When you create this environment yourenv , you will setup pip to install packages only into this environment, not to the entire system. Typically, in a distribution, it's recommended that you use the distribution's package manager.
You can of course install things using pip or, in the perl world, cpan , or compile and install things yourself. However, when you do this, the distribution's package manager doesn't know about them and can't manage dependencies or updates for them. Using pip is pretty much equivalent to compiling and installing your own package.
Do it if you need to, but prefer the distribution's package manager. Python Javascript Linux Cheat sheet Contact. Recommended way of installing python packages on Arch If you don't need the python packages for all users then you can install them in your home like this: pip install --user packagename Installing in your home will not conflict with the package manager. You could give a chance to virtualenv or even conda If you are planning to develop some python application or python package your better option is use virtual environments.
Similarly, python packages in AUR should only be installed with pacman to fulfill package dependencies of packages in AUR. Atom topic feed. Arch Linux. Index Rules Search Register Login. You are not logged in. Topics: Active Unanswered. How to clean? Pages: 1. This is my real punishment for not using virtualenv, I guess. Your venvs should use it correctly once you do, possibly with some small tweaks. Fortunately, venvs are really easy to rebuild if you need to nuke them entirely.
If you still need help, feel free to post a new question. Add a comment. Code-Apprentice Code-Apprentice Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog.
Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming Featured on Meta.
Now live: A fully responsive profile. Linked Related Hot Network Questions. Question feed.
0コメント