You have been subscribed to a public bug:
Linux Mint 15 Olivia Cinnamon 32bit.
Open synaptic package manager, search for "pyglet". If not already
installed, mark "python-pyglet 1.1.4" for installation, apply. Package
installs. Installed files are present under /usr/share/pyshared/pyglet.
Open IDLE (Python 2.7.4)
type "import pyglet"
returns message "ImportError: No module named pyglet"
type "help('modules')"
returns list of modules installed, pyglet is not one of them
What i expected to happen was for Pyglet to import in python without
returning an error.
This happened even if I removed and reinstalled pyglet with Synaptic. I
tried a handful of times all with the same result.
I then unistalled pyglet in synaptic, then tried installing the pyglet
manually from source.
I downloaded the source code for the module:
http://pyglet.googlecode.com/files/pyglet-1.1.4.tar.gz
extracted the tarball, navigated into the newly created directory and
ran "sudo python setup.py install" to manually install pyglet. The
install script reported a successful install.
I opened IDLE (Python 2.7.4) and typed "import pyglet" and no error was
returned. I then ran a script that required pyglet, and it ran fine.
For some reason the package for pyglet in repos does not work, but the
same package from source does work.
** Affects: pyglet (Ubuntu)
Importance: Undecided
Status: New
--
Installing Python "pyglet" module from package manager doesn't work for Python
2.7.4
https://bugs.launchpad.net/bugs/1325197
You received this bug notification because you are a member of Ubuntu Bugs,
which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs