Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python: how to get different versions of python to access the same modules? [closed]

I use a mac, and I have two versions of python (2.7 and 3.5). I installed scitools using pip and import from scitools import * works with 2.7 but not 3.5. I was wondering if it's because of links or something. I have included a screenshot. Thank you!

enter image description here

EDIT:

pip3 install scitools gives:

enter image description here

like image 933
Johnathan Avatar asked Feb 22 '26 19:02

Johnathan


2 Answers

scitools requires Python 2.7 (source: github). It's apparently not actively maintained, so don't wait around for Python 3 support.

like image 62
wim Avatar answered Feb 25 '26 10:02

wim


As you can read on https://github.com/hplgit/scitools , the module dependencies are Python2.7 and numpy.

like image 41
Mo84 Avatar answered Feb 25 '26 08:02

Mo84



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!