![]() ![]() This is extremely helpful in case of conflict in dependencies.Īpt-get installs python modules in system-wide location. We can install any version of the package that has previously been uploaded on PyPI. So, with apt-get we cannot decide the version of python-package that we want. So, there are a lot of python modules which you won't be able to install using apt-get.Ĭanonical only hosts a single version of any package (generally the latest or the one released in recent past). Whereas, PyPI hosts a much broader range of python modules. Some of the differences between installing python packages from apt-get and pip are as follows:Ĭanonical only provides packages for selected python modules. It is a specialized package manager that only deals with python packages.Īpt-get is used to download and install packages from Ubuntu repositories which are hosted by Canonical. ![]() PyPI is hosted by Python Software Foundation. Pip is used to download and install packages directly from PyPI. PyPI is the Python Package index - repository of python modules. ![]()
0 Comments
Leave a Reply. |