Python Forum
pip and installing modules - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: pip and installing modules (/thread-3783.html)



pip and installing modules - deep_logic - Jun-23-2017

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,


RE: pip and installing modules - snippsat - Jun-23-2017

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.


RE: pip and installing modules - deep_logic - Jun-25-2017

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!