Wing101 is defaulting to python 2.7 even though I have the latest version installed on my Mac

390 Views Asked by At

I installed Python 3.7 for my Mac Book Pro and in Wing101 it still uses Python 2.7.. anyone who can help me out?

2

There are 2 best solutions below

0
Stephan On BEST ANSWER

In Wing 101, you can set the Python being used in the Configure Python dialog from the Edit menu, by setting the Python Executable. Wing 101 version 6+ should really be finding and using the latest Python installation, although maybe it's installed in a place that it isn't found automatically. Wing version 5 prefers Python 2 because it's fairly old and that made more sense at the time.

0
Rushiraj Nenuji On

Check this out: https://github.com/pyenv/pyenv

pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

Quite useful tool for managing different versions of Python on your machine.

Happy Coding! :)