Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip and installing modules
#1
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,
"Human history becomes more and more a race between education and catastrophe." - H. G. Wells (1866-1946)
Reply
#2
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.
Reply
#3
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!
"Human history becomes more and more a race between education and catastrophe." - H. G. Wells (1866-1946)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing Modules PythonBorg 10 2,050 Sep-03-2022, 09:58 AM
Last Post: PythonBorg
Question Trouble installing modules/libraries and getting Notepad++ to show cyrillic letters Dragiev 6 2,245 Jul-24-2022, 12:55 PM
Last Post: Dragiev
  Installing Modules / packages Oshadha 1 1,701 Feb-05-2021, 08:04 PM
Last Post: Jeff900
  installing third-party modules shabux 5 3,429 Apr-13-2020, 12:41 AM
Last Post: Larz60+
  3rd Party Modules - Installing martyl 9 5,689 Jun-15-2018, 01:49 AM
Last Post: martyl
  Modules issue, pip3 download modules only to pyhton3.5.2 not the latest 3.6.1 bmohanraj91 6 8,432 May-25-2017, 08:15 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020