Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: problem in python

PIP comes preinstalled in recent versions of Python, so it's likely there. Are you trying to run it in the [python interpreter]? Try typing "pip install pygame" on the command prompt outside of python or the interpreter, or alternatively typing "python -m pip install SomePackage", as indicated [here].

URL: https://forum.audiogames.net/post/509213/#p509213




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : matthew2004 via Audiogames-reflector


  


Re: problem in python

thanks for all of your help guise!but, I have a problem again in python, when I type pip install pygame,SyntaxError: invalid syntax

URL: https://forum.audiogames.net/post/509208/#p509208




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : matthew2004 via Audiogames-reflector


  


Re: problem in python

thanks for all of your help guise!but, I have a problem again in python, when I type pip install pygame,...SyntaxError: invalid syntax

URL: https://forum.audiogames.net/post/509208/#p509208




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: problem in python

When installing python, theres an option where you can check off adding it to the system paths.

URL: https://forum.audiogames.net/post/509200/#p509200




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : matthew2004 via Audiogames-reflector


  


Re: problem in python

how can I do that?

URL: https://forum.audiogames.net/post/509187/#p509187




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : mechaSkyGuardian via Audiogames-reflector


  


Re: problem in python

You need to add python to your path

URL: https://forum.audiogames.net/post/509182/#p509182




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : matthew2004 via Audiogames-reflector


  


problem in python

hello, when i opened command promt, and type python, I've got this message, 'python' is not recognized as an internal or external command,operable program or batch file.pleas can you help me in this?

URL: https://forum.audiogames.net/post/509178/#p509178




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


problem in python

2020-03-15 Thread AudioGames . net Forum — Developers room : matthew2004 via Audiogames-reflector


  


problem in python

hello, when i opened command promt, and type python, I've god this message, 'python' is not recognized as an internal or external command,operable program or batch file.pleas can you help me in this?

URL: https://forum.audiogames.net/post/509178/#p509178




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: open al problem in python

Nuts, I did fix this already, for whatever reason that seems to be an outdated version of the wrapper. Bleh, line  in openal.py, change the line:stri[dev] += data[a]To:stri[dev] += str(data[a])I'd upload a fix to my repo, but i've had problems accessing it lately.

URL: https://forum.audiogames.net/post/458293/#p458293




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector


  


Re: open al problem in python

there's something else i don't know how to fix as i have never used python 2.7, another traceback is belowTraceback (most recent call last):  File "OpenAL_3D.py", line 42, in     Example()  File "OpenAL_3D.py", line 7, in __init__    self.listener = Listener()  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 2032, in __init__    self.cap_devices = self.parse(alc.alcGetString(None, alc.ALC_CAPTURE_DEVICE_SPECIFIER))  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line , in parse    stri[dev] += data[a]TypeError: can only concatenate str (not "bytes") to strAL lib: (EE) alc_cleanup: 1 device not closedwhenever i fix something, another thing pops up to take it's place, do you want the finished product when it's done? just so some beginners don't face the same problem, or if you are ok with it, i can host it on google drive or dropbox

URL: https://forum.audiogames.net/post/458290/#p458290




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: open al problem in python

Thats wierd... Oh, wait a minute, ok. Edit openal.py and search for "xrange", according to the traceback its on line 2220, then change it to "range" instead. That should fix it. Feel free to copy over the edited copy of openal.py over all the others when your finished to fix it in the examples.The reason this is a problem is because Python 2 can use xrange for some loop optimization, but Python 3 doesn't have it anymore so it throws a fit.

URL: https://forum.audiogames.net/post/458287/#p458287




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector


  


Re: open al problem in python

i fixed the earlier problem, this is a new traceback when i ran the programTraceback (most recent call last):  File "OpenAL_3D.py", line 42, in     Example()  File "OpenAL_3D.py", line 7, in __init__    self.listener = Listener()  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 2032, in __init__    self.cap_devices = self.parse(alc.alcGetString(None, alc.ALC_CAPTURE_DEVICE_SPECIFIER))  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 2220, in parse    for a in xrange(0,100,1):NameError: name 'xrange' is not definedAL lib: (EE) alc_cleanup: 1 device not closed

URL: https://forum.audiogames.net/post/458273/#p458273




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector


  


Re: open al problem in python

it now says thisTraceback (most recent call last):  File "OpenAL_3D.py", line 1, in     from openal import *  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 1965, in     al = lib_openal()  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 67, in __init__    self._lib = ctypes.CDLL('OpenAL32.dll')  File "C:\Users\yousi\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", line 364, in __init__    self._handle = _dlopen(self._name, mode)OSError: [WinError 193] %1 is not a valid Win32 application

URL: https://forum.audiogames.net/post/458273/#p458273




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


Re: open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : magurp244 via Audiogames-reflector


  


Re: open al problem in python

Thats an indication that you don't have the right OpenAL dll. There are actually two versions of OpenAL, the OpenAL from Creative, which doesn't support advances functions, and the open source OpenAL Soft, whoch does and is more up to date. If you install Creatives OpenAL, programs will default to that version and the test scripts won't work. There are two ways to solve this, the first is to uninstall OpenAL from your system, the examples come with the right OpenAL Soft dll and should look for it in the local working directory. The other way is to grab a copy of [OpenAL Soft] and follow the instructions to overwrite your existing Creative OpenAL installation, if you happen to have one.

URL: https://forum.audiogames.net/post/458261/#p458261




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector


open al problem in python

2019-08-28 Thread AudioGames . net Forum — Developers room : SkyGuardian via Audiogames-reflector


  


open al problem in python

so, i was looking at the OpenAl  examples created by magap244, and i tried to run the 3d audio example, it gave me some tracebacks first about the print statements which i fixed, but it then gave me a traceback that i don't know how to resolve, the traceback is belowTraceback (most recent call last):  File "OpenAL_3D.py", line 1, in     from openal import *  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 1966, in     alc = lib_alc()  File "C:\Users\yousi\Downloads\OpenAL_Py_Lite_v1.1\3D_Audio\openal.py", line 760, in __init__    self.alcGetStringiSOFT = self._lib.alcGetStringiSOFT  File "C:\Users\yousi\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", line 377, in __getattr__    func = self.__getitem__(name)  File "C:\Users\yousi\AppData\Local\Programs\Python\Python37\lib\ctypes\__init__.py", line 382, in __getitem__    func = self._FuncPtr((name_or_ordinal, self))AttributeError: function 'alcGetStringiSOFT' not found

URL: https://forum.audiogames.net/post/458242/#p458242




-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector