Python Forum
Using Enthought Canopy and Installing Python3
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using Enthought Canopy and Installing Python3
#1
Hi,
I'm on os x with Python 2.7 in usr/local/bin (Terminal bash: >>>which python) but have also Enthought Canopy installed (path follows), where I have been doing most of my coding. I use a few cronjobs and have thus set $PYTHONPATH to "/Users/me/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/". Now I would like to install Python3 and use PyCharm for Version 3 while keeping the Canopy and cronjobs functional.

I'm pretty clueless on how to get there and am missing a structured picture of what needs doing: Where and how do I install P3? How do I have to adjust $PATH and/or $PYTHONPATH to use both Versions. I would currently prioritize P2 as all my coding/cronjobs rely on this. I have read about the possibility of using Python site module, but TBH I don't understand what to do there and I would not know how to include a path in my python file. I am also not sure wether virtualenv is the right solution. Ideally, I can simply switch using P2 and P3 - is this possible?
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020