Python Forum
pip install syntax errror again and again
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip install syntax errror again and again
#1
Dear all,

I am coming across a frustrating issue with python when it comes to packages installation. To put it bluntly, the famous "pip install package" command line that it is recommended by the creators DOES NOT WORK: SyntaxError: invalid syntax.

However, if I type "pip.main(['install', 'package']) it works...

I import pip before installing packages, my PATH is OK, as well as the Environment VAriables. I am using python 3.6 x64 on Win 10 and Win 7 (I am working on many machines some new, out of the box, and some old).

My question is how come this happens even with new, clean installations on each machine?

It is very frustrating... makes a Matlab license work the cost...

Best regards,
Jean
Reply


Messages In This Thread
pip install syntax errror again and again - by jeanloup - Nov-01-2017, 12:25 AM

Forum Jump:

User Panel Messages

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