sshivaji / kivy-chess

Chess Application using Kivy.
43 stars 15 forks source link

ImportError: No module named pgn #8

Closed ghost closed 9 years ago

ghost commented 9 years ago

Not sure where I went wrong. Looks like I don't have some sort of dependency? Any thoughts would be appreciated. :)

ᐅ kivy main.py [INFO ] Kivy v1.8.0 [INFO ] [Logger ] Record log in /Users//.kivy/logs/kivy_15-02-03_8.txt [INFO ] [Factory ] 157 symbols loaded [DEBUG ] [Cache ] register with limit=None, timeout=60s [DEBUG ] [Cache ] register with limit=None, timeout=Nones [INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_gif (img_pil ignored) [DEBUG ] [Cache ] register with limit=1000, timeout=60s [DEBUG ] [Cache ] register with limit=1000, timeout=3600s [DEBUG ] [Cache ] register with limit=None, timeout=Nones [INFO ] [Text ] Provider: pygame [DEBUG ] [Window ] Ignored (import error) [INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored) [DEBUG ] [Window ] Display driver Quartz [DEBUG ] [Window ] Actual window size: 800x600 [DEBUG ] [Window ] Actual color bits r8 g8 b8 a8 [DEBUG ] [Window ] Actual depth bits: 24 [DEBUG ] [Window ] Actual stencil bits: 8 [DEBUG ] [Window ] Actual multisampling samples: 2 [INFO ] [GL ] OpenGL version <2.1 NVIDIA-10.2.1 310.41.15f01> [INFO ] [GL ] OpenGL vendor [INFO ] [GL ] OpenGL renderer <NVIDIA GeForce GT 650M OpenGL Engine> [INFO ] [GL ] OpenGL parsed version: 2, 1 [INFO ] [GL ] Shading version <1.20> [INFO ] [GL ] Texture max size <16384> [INFO ] [GL ] Texture max units <16> [DEBUG ] [Shader ] Fragment compiled successfully [DEBUG ] [Shader ] Vertex compiled successfully [DEBUG ] [ImageImageIO] Load </Applications/Kivy.app/Contents/Resources/kivy/kivy/data/glsl/default.png> [INFO ] [GL ] BGRA texture support is available [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked [DEBUG ] [Cache ] register with limit=500, timeout=60s [INFO ] [Loader ] using a thread pool of 2 workers [DEBUG ] [Cache ] register with limit=None, timeout=60.0s [DEBUG ] [Cache ] register with limit=None, timeout=60.0s Traceback (most recent call last): File "main.py", line 102, in import chess.pgn ImportError: No module named pgn

sshivaji commented 9 years ago

Install instructions now out of date, you need to run "install.sh" and then run chesspython/bin/python main.py. Will update the install instructions if this works for you.

ghost commented 9 years ago

Works great! Thanks for the quick help! :+1: