Nov-27-2020, 05:41 PM
I have python 3.0 the latest version but when I type python in my shell it says 2.7. How do I set python 3.0 in my shell as my default version
set python default 3.0
|
Nov-27-2020, 05:41 PM
I have python 3.0 the latest version but when I type python in my shell it says 2.7. How do I set python 3.0 in my shell as my default version
Nov-27-2020, 05:47 PM
What will happen if you write python3?
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Nov-27-2020, 06:00 PM
The best way to do this is to use pyenv, see: https://python-forum.io/Thread-pyenv-Sim...Management
------- Otherwise you will need to set up environment variables. This is best done during installation, so I'd suggest uninstalling python and reinstalling. Messing with environment variables can be dangerous unless you are sure you know how to do it safely. depends on your OS see: https://python-forum.io/Forum-Python-Ins...-Execution Select tutorial for your OS (use snippsat's threads)
Nov-27-2020, 06:03 PM
i have pip already installed by why am I having using setting 3.0 as my default I'm on a mac and the default is 2.7
Nov-27-2020, 06:04 PM
Read your older Thread, post #7
The link The right and wrong way to set Python 3 as default on a Mac,really explain it well. |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
pip installs in a different python version and directory than the default 3.11 | ao_tex_mal | 9 | 14,179 |
Jun-20-2023, 02:55 PM Last Post: snippsat |
|
Mac default python interpreter | Viewpoint8455 | 2 | 1,643 |
Oct-13-2022, 06:25 AM Last Post: perfringo |
|
How to see python default methods from inside | mariolucas75 | 3 | 3,195 |
Jun-14-2020, 11:41 AM Last Post: snippsat |
|
set 'default' cwd in python | zealjeung | 1 | 2,811 |
Aug-19-2018, 12:04 PM Last Post: Windspar |
|
How to make the python default language be 3.6 instead of 2.7 | sylas | 4 | 7,824 |
Jul-06-2018, 06:11 AM Last Post: sylas |