Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Installing Python packages
Installing Python packages
Some widely used Python packages already available in the Debian repositories, but much more — not. I know that I can install Python packages using pip, but is this correct approach in Debian? Maybe there is another, more correct in terms of Debian system maintenance, way?
-
- Posts: 1405
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Installing Python packages
I don't know what is pip. I use apt-get for packages installing.
If you would like GUI and see all packages together, use synaptic.
Peter.
If you would like GUI and see all packages together, use synaptic.
Peter.
Re: Installing Python packages
You can easily install and uninstall via pip. Of course, if the package is in the repo and the vesion is usable, I'd use the repo. AFAIK pip will automatically install only Python dependencies. So in that case you need to check the package webpage (or other source) to know what it requires (outside of Python).
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Installing Python packages
The package may also be in the repo, just not under the name you're expecting. python-numpy is one that comes to mind.
MX Linux packager and developer
-
- Posts: 10
- Joined: 2015-11-20 18:46
Re: Installing Python packages
I would never recommend installing python packages globally. You should always install them in a virtual environment (a modified path). You want to keep your python dependencies versioned between python projects.