I am using the pyglet python module (python 3 on windows). When I refer to any classes in pyglet.image, using the python processor jumps up and doesn't crash until I exit python. For example:
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Anaconda3>python.exe Python 3.4.3 |Anaconda 2.3.0 (64-bit)| (default, Mar 6 2015, 12:06:10) [MSC v.1 600 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import pyglet
Is this the expected behavior? Why does the mention of this class (not even its creation) lead to such a high processor load?
Systems I tested:
Windows 7 desktop with Anaconda python 3.4.3 installed and pyglet via "pip install pyglet": high CPU usage (my problem)
The same Win7 desktop with Anaconda python 3.4.3, but the piglet is installed via 'pip install hg + https://bitbucket.org/pyglet/pyglet ': high CPU usage.
The same Win7 desktop with python 3.5 from python.org and pyglet installed via "pip install pyglet": high CPU usage.
Lenovo Fedora 22 for laptop with python 3.4.2 and pyglet 1.2.1 installed via dnf: no problem.
Windows 10 HP laptop with Anaconda python 3.4 and pyglet installed via "pip install pyglet": no problem.
Is it possible that this is hardware dependent?
python debugging windows cpu pyglet
Andrew
source share