I've deployed a Django app in a virtualenv
that uses Python 3 as interpreter. This worked great until I needed a pip
package that was written for Python 2. Is there a good way to use Python 2 packages within a Python 3 environment? I know that there's an interoperability library out there that might be able to help, but I don't know where to start.
不,可能不会。。。我想这个网站应该为您提供帮助: https : //wiki.python.org/moin/Python2orPython3如果您真的想使用它,可以移植此软件包。
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.