简体   繁体   中英

Can python 3.5 packages be installed in python 3.6?

I've built tensorflow using python 3.5, but when attempting to install it via pip3 (in python 3.6), it says

tensorflow-1.12.0-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.

So, is this due to being incompatible python versions?

Bonus question: how can I get pip to tell me the reason for the incompatibility?

The package apparently has some compiled bits that may not be compatible across versions. The Python ABI may be different.

You can install pre-built tensorflow right from Pypi

$ pip3.6 install tensorflow

Will that work for you?

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