简体   繁体   中英

Python packages - same name, different install dir?

Here's my problem. I have two packages with the same name but with the different methods. Is it possible to change their default install directories without changing their names?

Python doesn't accept two packages with the same name so for complete answer see this links : https://stackoverflow.com/a/5063268/2867928

and https://docs.python.org/2/tutorial/modules.html#the-module-search-path

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