1

I've installed python3.4 from the deadsnakes repo, and I'd like to make it my default python3 (which is currently python3.2). Is it safe to simply change the python3 link?

sudo ln -s /usr/bin/python3.4m /usr/bin/python3

Are there system components that would die due to an inability to work with python3.4 instead of python3.2?

1
  • 3
    Why not virtualenv? Seems much safer. – muru Feb 22 '15 at 2:59
4

If you do that

  • python3.4 will not find modules installed in places like /usr/lib/python3.2/. That includes all modules installed by the package manager.
  • modules containing binary libs compiles against Python 2.3 will likely not work without recompiling.

That means that almost all programs from the official repositories needing Python3 will stop working.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.