简体   繁体   English

我可以在 python3.6 中使用 python3.4 模块吗?

[英]Can I use python3.4 modules in python3.6?

Is it possible to run python3.4 modules in python3.6?是否可以在 python3.6 中运行 python3.4 模块? I'm not looking for installing the python3.6 equivalent package.我不是在寻找安装 python3.6 等效包。 Example: yum install python34-apsw and then in python3.6 to be able to do import apsw ?示例: yum install python34-apsw然后在 python3.6 中可以执行import apsw吗? Thanks in advance!提前致谢!

If modules that are used in your module(apsw as ı said) is not deleted in python 3.6, you can use.如果在你的模块中使用的模块(如我所说的 apsw)在 python 3.6 中没有被删除,你可以使用。 Generally, python doesn't delete important modules in new versions.一般情况下,python 不会删除新版本中的重要模块。 But ıf python34-apsw excluded in new versions of python, you may got trouble.但是如果在新版本的 python 中排除了 python34-apsw,你可能会遇到麻烦。 Best way to understand is try!最好的理解方法是尝试!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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