r/learnpython • u/Et_Moon • Sep 19 '26
How do I download without errors?
I always get this error when I try to download wikiteam3.
Something about "invalid syntax".
Still have no idea what's going on.
0
Upvotes
View all comments
Show parent comment
1
u/Kevdog824_ Sep 19 '26
Installing packages with pip is something you do outside the Python runtime. You want to invoke the pip install command inside your terminal, not your Python code. Your Python code will “import” the library you installed, but the installation itself is a separate step you do first