0

I installed python 2.7.9 instead of 3.4.3 due to module xlutils not working on 3.4.3 and from the time I installed python 2.7.9 and I just can't install the related modules to it by using pip install and I added the ;C:\Python27 to the system path. what am I missing here coz it keeps on telling me this error: 'pip is not recognized as an internal or external command

Mahmoud Ayman
  • 177
  • 1
  • 11

1 Answers1

0

Pip is not in C:\Python27.

It's in C:\Python27\Scripts.

Check that folder to make sure there is a pip.exe, if there is then it should have installed fine, and make sure that C:\Python27\Scripts is in your PATH.

NDevox
  • 3,751
  • 4
  • 18
  • 32
  • I have pip.exe inC:\Python27\Scripts and the path you mean the "System path" or "User Path" ? – Mahmoud Ayman Mar 30 '15 at 12:58
  • I added the C:\Python27\Scripts to system path by appending that at the end of the system path but it now tells me "Attribute Error: 'module' object has no attribute 'wraps' – Mahmoud Ayman Mar 30 '15 at 13:02
  • Yep I meant the system path. how are you calling pip? – NDevox Mar 30 '15 at 13:04
  • Also post the full traceback if possible. – NDevox Mar 30 '15 at 13:05
  • In cmd I type in the first line: pip install "package name" – Mahmoud Ayman Mar 30 '15 at 13:06
  • and whats the traceback? – NDevox Mar 30 '15 at 13:07
  • Doing a little digging I found these two links: https://ask.openstack.org/en/question/56412/juno-devstack-install-failure-attributeerror-module-object-has-no-attribute-wraps/ and http://stackoverflow.com/questions/29038889/searched-everywhere-but-cant-seem-to-find-a-solution-to-attributeerror-mo they both suggest you have conflicting installs of a package somewhere. It may be worth uninstalling 2.7, deleting the directory, and then re-installing. Or you can find which package is causing the conflict. – NDevox Mar 30 '15 at 13:11
  • It say: "Attribute Error: 'module' object has no attribute 'wraps – Mahmoud Ayman Mar 30 '15 at 13:15
  • Oh I do have 2 Pip folders indeed ill try removing them and trying again! – Mahmoud Ayman Mar 30 '15 at 13:20
  • I re-installed Python 2.7.9 after uninstalling it and deleting all it's related files and it worked good again and yes there was conflictions in too many libraries. Thank you @Scironic – Mahmoud Ayman Mar 31 '15 at 11:21
  • No problem! Don't forget to accept the answer so people in the future will know where to look. – NDevox Mar 31 '15 at 11:22