Skip to main content

Thread: Missing PyString_FromString


i tried install pygame via sudo apt-get install python-pygame since python 2.6.5 default python came ubuntu, can't use pygame on python 3. so, copy-pasted pygame (and numpy, heard somewhere pygame uses too) folder /usr/lib/python2.6/dist-packages/ /usr/lib/python3/dist-packages/ . however, importing pygame in python 3 gives following error message:

code:
python 3.1.2 (r312:79147, sep 27 2010, 09:45:41)   [gcc 4.4.3] on linux2  type "help", "copyright", "credits" or "license" more information.  >>> import pygame  traceback (most recent call last):    file "<stdin>", line 1, in <module>    file "/usr/lib/python3.1/dist-packages/pygame/__init__.py", line 95, in <module>      pygame.base import *  importerror: /usr/lib/python3.1/dist-packages/pygame/base.so: undefined symbol: pystring_fromstring  >>>
what did miss? how import/install pygame in python 3?

according faqs on pygame website, pygame hasn't yet been ported python 3, there partial support things. want work out if enough modules have been ported yet before deciding if want use pygame python 2 or python 3. http://pygame.org/wiki/frequentlyask...with python 3?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Missing PyString_FromString


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support