2

I already downloaded Python 3.8 onto my iOS macbook computer. My terminal is showing me instead that i have 2.7 install instead.

Version here

Another problem was when downloading python flask, i've gotten this error many times.

Flask Download error.

Im trying to use python flask on version 3.8 but it keeps registering as 2.7. any help is appreciated. Thank you.

eyllanesc
  • 235,170
  • 19
  • 170
  • 241
Ryeunn
  • 21
  • 1
  • Welcome to Stackoverflow! Please copy/paste the *text* of the errors you are getting into your question post. Please **do not** post images of the errors! – Kevin Oct 27 '19 at 20:09

2 Answers2

4

You need to call python3. python defaults to version 2.

You can alias python to python3

Evgeny Bovykin
  • 2,572
  • 2
  • 14
  • 27
1

Adding to @Evgeny Bovykin answer

You can find the answer to your second issue here: https://stackoverflow.com/a/50893981/8692977

pip3 install --user package-name  # for Python3
pip install --user package-name   # for Python2
Marsilinou Zaky
  • 1,038
  • 7
  • 17