How to deal with Linux/Python dependencies?

后端 未结 2 1806
执念已碎
执念已碎 2020-12-24 15:26

Due to lack of support for some libraries I want to use, I moved some Python development from Windows to Linux development. I\'ve spent most of the day messing about getting

2条回答
  •  滥情空心
    2020-12-24 16:05

    Your story reminds me of my early experiences with Linux, and why I love APT.

    There is no universal solution to your general problem; the best you can do is to take advantage of the work or others. The Debian packagers do a great job of flagging the dependencies of packages, so apt-get will pull in what you need. So, my strategy is simply to avoid building and installing stuff on my own, and use apt-get wherever possible.

    Note that Ubuntu is based on Debian and thus gains the benefit of the work of the Debian packagers. I haven't used Fedora but I hear that the packages are not as well-organized as the ones from Debian.

提交回复
热议问题