How to install Python libraries under specific environments

前端 未结 3 706
野性不改
野性不改 2021-02-06 18:00

I have two Anaconda installations on my computer. The first one is based on Python 2.7 and the other is based on Python 3.4. The default Python version is the 3.4 though. What i

3条回答
  •  猫巷女王i
    2021-02-06 18:36

    Virtualenv seems like the obvious answer here, but I do want to suggest an alternative that we've been using to great effect lately: Fig - this is particularly effective since we use Docker in production as well, but I imagine that using Fig as a replacement for virtualenv would be quite effective regardless of your production environment.

提交回复
热议问题