0

I am having some difficulties for installing pyglet for python 3. I write into CMD: "[the setup.py filepath] install"

here is an image of the text

I have tried re-installing the pyglet file many times, but it always gets stuck on this error. I'm still new to most of the complicated ways that things work, so try to make your answers clear and simple.

Sayali Sonawane
  • 12,289
  • 5
  • 46
  • 47
Ale Kid
  • 79
  • 1
  • 1
  • 5
  • Have you tried using `pip`? – Aaron N. Brock Mar 28 '17 at 22:16
  • then it says: 'pip' is not recognized as an internal or external command, operable program or batch file. – Ale Kid Mar 28 '17 at 22:18
  • Are you on windows? If so try: `python -m pip install pyglet` – Aaron N. Brock Mar 28 '17 at 22:27
  • @AleKid, before running that command, make sure *you are in* the `pyglet` directory that contains the `setup.py` file: see this answer: [Python module won't install](http://stackoverflow.com/a/14867310/1248974) – chickity china chinese chicken Mar 29 '17 at 01:46
  • i don't understand what you mean by 'in the directory'. anyway, then it claims that python is not recognised. – Ale Kid Mar 29 '17 at 22:09
  • I'm assuming windows because the backslash in the path. When installing Python get you get the option "Add Python to system PATH", make sure you check that box. Also make sure `pip` is checked when installing Python. After that, reboot the PC, open a command promt **as administrator** and run `pip install pyglet`. – Torxed Apr 07 '17 at 21:54
  • so, i have to reinstall python? How do i do that? – Ale Kid May 25 '17 at 22:38

0 Answers0