Python Forum
Pyglet installation problems
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pyglet installation problems
#1
Hello

Very new to python - I have a beginners book and working through it, still on chapter 1.

I have been trying for the last hour to install pyglet on my laptop and running in to problems.

I have 3.6 python installed, and I have downloaded pyglet 1.3.0 in a zip file and unzipped it.

I have been following the install instructions using python setup.py install and various files/programmes appear to be installed BUT always, always an error occurs:

running install
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

[Errno 13] Permission denied: 'C:\\Program Files (x86)\\Python36-32\\Lib\\si
te-packages\\test-easy-install-6964.write-test'


The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

C:\Program Files (x86)\Python36-32\Lib\site-packages\



It states I perhaps need to have administrator access (which I do).

I am just lost.

I really just need a basic step-by-step guide as to how to get use of pyglet.

Any pointers would be great, thanks.
Reply
#2
use (from command line):
pip install PyGlet
Reply
#3
C:\Windows\System32>cd\ # Check that python work C:\>python -V Python 3.6.4 # Check that pip work C:\>pip -V pip 9.0.1 from c:\python36\lib\site-packages (python 3.6) # Install C:\>pip install -U pyglet Collecting pyglet Downloading pyglet-1.3.0-py2.py3-none-any.whl (1.0MB) 100% |████████████████████████████████| 1.0MB 720kB/s Requirement already up-to-date: future in c:\python36\lib\site-packages (from pyglet) Installing collected packages: pyglet Found existing installation: pyglet 1.2.4 Uninstalling pyglet-1.2.4: Successfully uninstalled pyglet-1.2.4 Successfully installed pyglet-1.3.0 # Test C:\>python Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:04:45) [MSC v.1900 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pyglet >>> pyglet.version '1.3.0' >>> exit() C:\>
If python and pip dos not work from like this from cmd.
Python 3.6 and pip installation under Windows, part-2.
Reply
#4
Thank you snippsat - your reply really got my query sorted.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Playing mp3 with pyglet constantin01 3 7,436 Dec-17-2021, 01:14 PM
Last Post: Legumen
  pyglet problem deansenecal 1 3,414 Feb-15-2021, 11:15 PM
Last Post: Larz60+
  How many times was the button pressed in pyglet rama27 0 2,693 Oct-10-2020, 10:26 AM
Last Post: rama27
  Game in Pycharm using pyglet pierrem13 0 3,986 Nov-29-2017, 01:54 AM
Last Post: pierrem13
  Pyglet Media: unjustifiable memory usage hbknjr 4 6,579 Aug-20-2017, 02:08 AM
Last Post: hbknjr

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020
This forum uses Lukasz Tkacz MyBB addons.
Forum use Krzysztof "Supryk" Supryczynski addons.