Does Python have a versioned dependency management solution?

后端 未结 1 1377
孤独总比滥情好
孤独总比滥情好 2021-01-15 18:05

Does Python have anything similar to apt or Maven where a single repository can house different versions of a library as opposed to just the current version?

For exa

相关标签:
1条回答
  • 2021-01-15 18:09

    No, there is no way to install multiple versions of a package in the same environment, nor import multiple versions in the same process. The commonly accepted way to handle specific versions for separate projects is to set up a virtualenv for that project and install the specific requirements.

    0 讨论(0)
提交回复
热议问题