Ask HN: People using both python 2.x and 3.x on OS X, what setup do you use?

https://news.ycombinator.com/item?id=10272298
by natch • 11 years ago
2 4 11 years ago

Specifically I'm wondering how you make it all work with installing and using modules, when a few things are happening:

- You may need to run 2.7 scripts

- You may need to run 3.x scripts

- You may need to edit, create, and maintain scripts of both versions.

- The system may change the system python out from under you, with major updates of the OS or Xcode

- You install libraries with pip or pip3 and they claim to have installed for a specific version of python, but then at run time, that same specific version of python complains that the library isn't installed.

What setup is best for managing this?

If your answer is "I don't do that" or "I wouldn't do that if I were you" then it's OK, you don't have to answer... this question is for people who are doing it.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com