Python Forum

Full Version: pip and installing modules
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all,
I'm sorry if this is the wrong location, but I couldn't find a good spot to post this.

I'm a relative noob with python. I'm trying to use pip and install a specialized module called pyiso. If I'm administrator and run pip to install pyiso, I'm getting the syntax error, "invalid syntax". If I run IronPython I get the same syntax error. If I'm in Visual Studio and run Anaconda, same thing. My main development, IDLE, has the same problem.

Any ideas? I know I'm out of my element here, but tips are welcome.

Thx,
I think you write pip command from interactive interpreter(has >>>).
Then get syntax error, "invalid syntax"
You shall write commands from cmd
Look last in post how i use pip.
Quote:If I'm in Visual Studio and run Anaconda, same thing.
For Anaconda is pip conda and python located in anaconda/bin folder.
I you have not set  environment variable Path to Anaconda(will ask for this under install of Anaconda).
Have to cd into anaconda/bin folder and prefably use conda not pip.
conda install pyiso if not work then pip install pyiso.
Many thanks snipsat.

I did get it to install while in Administrator cmd prompt. It does appear that Anaconda is in the path and my environment variables are set.

Thanks again, I owe you a beer!