0

I am reading a book("Learn Python 3 the Hard Way") that teaches me python 3.6 but I am unable to get python 3.6 running on the terminal. The book specifically says "In your Terminal program, run python3.6. You run things in Terminal by just typing the name and hitting RETURN." I already installed python 3.6 and Atom but typing in python3.6 is giving me an error.

dyld: Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
  Referenced from: /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
  Reason: image not found
Abort trap: 6

I have tried just typing in "python" but it defaults to 2.7. Please help because I am super confused and I have no idea what I'm doing. Thank you.

4
  • You can try installing the package from here: python.org/search/?q=python+3.6&submit= Commented Jun 12, 2021 at 17:21
  • 1
    Try reinstalling Python. Commented Jun 12, 2021 at 17:21
  • Try python3 instead. Commented Jun 12, 2021 at 17:21
  • Which operating system and version? It may already have a python 3 and your install may have messed that up. For your tutorial, version 3.6 and up should all be okay (new versions have new features but usually don't delete old features). Commented Jun 12, 2021 at 18:09

2 Answers 2

1

Looks like a known bug; Python versions older than 3.7 do not work on Big Sur.

Sign up to request clarification or add additional context in comments.

Comments

1

You should just use the homebrew to install the python or the other packages, it's simpler and doesn't really hampers the underlying versions of python.

If you want to remove the previous versions or unwanted versions from you system https://stackoverflow.com/a/3819829/13176117 this is the best answer that i follow every time.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.