简体   繁体   中英

How to install multiple version pip package

I use package who need some package

prompt-toolkit == 0.54

another package need

prompt-toolkit == 0.46

when I upgrade prompt-toolkit to 0.54, another package not work properly

how I deal with it

您需要的是virtualenv模块

我认为这对pip无效,但是您可以将这些软件包的不同版本复制到site-packages /中(例如package_v1package_v2 ),并将其作为import package_v1 as package代码中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM