the pygame folder would be in this path. I am not sure where you moved to? By importing that example yourself you got that path, so it must be there.
Libraries you install should be in /usr/local/lib, not /usr/lib. Look for python versions you installed there. Im pretty sure that Macs use the linux file structure for the most part.
If you cant find it run the whereis command on it to find its location
/usr/lib/python2.6/site-packages/
Libraries you install should be in /usr/local/lib, not /usr/lib. Look for python versions you installed there. Im pretty sure that Macs use the linux file structure for the most part.
If you cant find it run the whereis command on it to find its location
metulburr@ubuntu:~$ whereis python3.6 python3: /usr/bin/python3.5m /usr/bin/python3.5-config /usr/bin/python3.5m-config /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.5 /usr/bin/python3.7m /usr/lib/python3 /usr/lib/python3.7 /usr/lib/python3.6 /usr/lib/python3.5 /etc/python3 /etc/python3.7 /etc/python3.6 /etc/python3.5 /usr/local/bin/python3.6-config /usr/local/bin/python3.6m-config /usr/local/bin/python3 /usr/local/bin/python3.6 /usr/local/bin/python3.6m /usr/local/lib/python3.7 /usr/local/lib/python3.6 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/include/python3.6 /usr/include/python3.5 /usr/include/python3.6m /usr/share/python3 /usr/share/man/man1/python3.1.gz metulburr@ubuntu:~$ whereis python2.7 python2: /usr/bin/python2.7 /usr/bin/python2.7-config /usr/bin/python2 /usr/lib/python2.7 /etc/python2.7 /usr/local/lib/python2.7 /usr/include/python2.7 /usr/share/man/man1/python2.1.gz metulburr@ubuntu:~$ whereis python3.7 python3: /usr/bin/python3.5m /usr/bin/python3.5-config /usr/bin/python3.5m-config /usr/bin/python3 /usr/bin/python3.7 /usr/bin/python3.5 /usr/bin/python3.7m /usr/lib/python3 /usr/lib/python3.7 /usr/lib/python3.6 /usr/lib/python3.5 /etc/python3 /etc/python3.7 /etc/python3.6 /etc/python3.5 /usr/local/bin/python3.6-config /usr/local/bin/python3.6m-config /usr/local/bin/python3 /usr/local/bin/python3.6 /usr/local/bin/python3.6m /usr/local/lib/python3.7 /usr/local/lib/python3.6 /usr/local/lib/python3.5 /usr/include/python3.5m /usr/include/python3.6 /usr/include/python3.5 /usr/include/python3.6m /usr/share/python3 /usr/share/man/man1/python3.1.gz
Recommended Tutorials: