What is the difference between installing a package using pip vs. apt-get?

后端 未结 6 1341
悲&欢浪女
悲&欢浪女 2021-01-31 03:25

I\'m trying to deploy a Django site on an Ubuntu machine. I need to install Psycopg2 and PIL but it seems that I\'m able to install them using either apt-get or using pip. Is th

6条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-31 03:38

    You should be aware that what makes it in the package manager undergoes some integration testing, while what is in Pypi is untested.

    Pypi is OK for development.

    In production, you may go with Pypi, but you will soon learn that you can always rely on what is in the package manager...

提交回复
热议问题