Coding Tip! Python: Fix for File “manage.py”, line 14 ) from exc SyntaxError: invalid syntax

txshon
txshon
Aug 31, 2018 · 1 min read

One of the issue between working on python project is that the default macOS is using python@2.7. However, the project I cooperate with is already at python3.

In order to solve this issue, we have to use

pip3

instead of

pip

Ok! That’s it for solving this issue! Let’s start our app by

python3 manage.py startapp app

Done!

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade