8 version of python that include pip, pyinstaller, pygame, py2exe. I tried a lot of solutions, after a search in google and this website. I tried to:
- convert my .py file to exe --> dont sucssed
- add the path to the enviorment variables --> dont work
- install pyinstaller from the cmd, and then run the command
pyinstaller --onefile -w "myfile.py"--> dont work, the same with work shell - install the py2exe from the cmd and then with to convert to exe --> don't work
- reinstall --> dont work
Everything tells me that the problem is my version(3.8) of python, because this version don't support yet on the pyinstaller(acording to what I read).
cmd Error:
File C:\Users\zahta\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\win32ctypes\pywin32\pywintypes.py", line 37, in pywin32error raise error(exception.winerror, exception.function, exception.strerror) win32ctypes.pywin32.pywintypes.error: (1920, 'LoadLibraryEx', 'The file cannot be accessed by the system')
work shell Error:
File "C:\Users\zahta\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\win32ctypes\pywin32\pywintypes.py", line 37, in pywin32error raise error(exception.winerror, exception.function, exception.strerror) win32ctypes.pywin32.pywintypes.error: (1920, 'LoadLibraryEx', 'The file cannot be accessed by the system')
After typing the command in cmd nothing happened. After the WorkShell - dist folder created but empty without change my python version what can I do to fix it to get a excutable file of my game?
Thank you