hi man
I try run script with using socet.
blender can’t find it.
or print :
_import socet
Import error: Modul use of python22 conflicts with this version of Python.
i have installing Python 22 on XP.
can enyone help me?
thanks jm
hi man
I try run script with using socet.
blender can’t find it.
or print :
_import socet
Import error: Modul use of python22 conflicts with this version of Python.
i have installing Python 22 on XP.
can enyone help me?
thanks jm
you mean the socket module?
Are you sure you are running python 22?
what version of blender did you try this in?
(2.26 and later use python 22, earlier use python 20, don’t use python 23)
Is your python path set correctly?
yes my python path is correctly. I Use Python 2.2./Blender 2.25.
I think the Python is correct because I use some other script that work fine.
import sys
print "**Imported sys**
"
#the path may be different on linux systems
sys.path =['c:\\python22','c:\\python22\\Tools\\idle','c:\\python22\\Lib','c:\\python22\\DLLs','c:\\python22\\Lib\lib-tk']
print "**Setting System Path**
"
print "**System Path set at:
"
print sys.path
import socket
print "**Imported socket**"
self.socket = socket.socket(socket.AF_INET,socket.SOCK_STREAM)
print "**Setting socket protocols**
"
self.SocketState = "connectnow"
print "**Socket State has been set**
"
In last test show me again
_import socet
Import error: Modul use of python22 conflicts with this version of Python.
but only on first time in Game, on second time it seams work.
jm
blender 2.25 used python 2.0 not 2.2
install a rollback or a seperate version of python and relinkt eh python path
thank you
with Python 2.0 work with no error.
but this is strange…why they publish at www.gameblender.org
code with path to Python 22?
thx jm