filmov
tv
pip install scikit-image SyntaxError: invalid syntax fix
![preview_player](https://i.ytimg.com/vi/YcZRpYx26cU/maxresdefault.jpg)
Показать описание
pip install scikit-image
SyntaxError: invalid syntax
how to fix it?
pip install scikit-image
pip is run from the command line, not the Python interpreter.
It is a program that installs modules, so you can use them from
Python. Once you have installed the module, then you can open
the Python shell and do import scikit-image.
The Python shell is not a command line, it is an interactive
interpreter. You type Python code into it, not commands.
Use the command line, not the Python shell (DOS, PowerShell in Windows).
C:\Program Files\Python2.7\Scripts pip install XYZ
If you installed Python into your PATH using the latest installers, you don't need to be in that folder to run pip
Terminal in Mac or Linux
$ pip install XYZ
SyntaxError: invalid syntax
how to fix it?
pip install scikit-image
pip is run from the command line, not the Python interpreter.
It is a program that installs modules, so you can use them from
Python. Once you have installed the module, then you can open
the Python shell and do import scikit-image.
The Python shell is not a command line, it is an interactive
interpreter. You type Python code into it, not commands.
Use the command line, not the Python shell (DOS, PowerShell in Windows).
C:\Program Files\Python2.7\Scripts pip install XYZ
If you installed Python into your PATH using the latest installers, you don't need to be in that folder to run pip
Terminal in Mac or Linux
$ pip install XYZ