pip vs apt packages

asked 2018-11-11 02:10:42 -0600

yasin lachiny gravatar image

i use apt to install packages of my openstack.sometimes i should use pip. every time i use pip all packages damages. what should i do?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2018-11-12 03:07:16 -0600

PyPI — a repository of python modules. apt is used to download and install packages from Ubuntu repositories

In ubuntu repository packages available only for selected python modules. but in , PyPI repository a much broader range of python modules. So, there are a lot of python modules which you won't be able to install using apt.

In ubuntu repository, generally, the latest version package or the one released latest. So, in apt ubuntu repository, we cannot able to specify the version of python-package that we need. but using pip we can install specific version the of package we need.

if we use apt, the modules install in the system-wide location, we are not able to install into the virtualenv. but, the pip will solver this probelm.

In your scenario, there will be a prerequisite required, Currently, the clients do not support Python 3. https://docs.openstack.org/newton/use...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-11 02:10:42 -0600

Seen: 77 times

Last updated: Nov 12 '18