I am unable to run
Closed this issue · 2 comments
PS D:\game> d:; cd 'd:\game'; & 'd:\Program\Python39\python.exe' 'c:\Users\zhangziwen.vscode-insiders\extensions\ms-python.debugpy-2024.7.11591013-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '56845' '--' 'd:\game\main.py'
Traceback (most recent call last):
File "d:\game\main.py", line 4, in
steamworks = STEAMWORKS()
File "d:\game\steamworks_init_.py", line 51, in init
self.initialize()
File "d:\game\steamworks_init.py", line 91, in _initialize
self.cdll = CDLL(library_path) # Throw native exception in case of error
File "d:\Program\Python39\lib\ctypes_init.py", line 374, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 127] Unable to find the specified program.
PS D:\game>
Hi, I made a pypi package, should help make things easier,
as you don't need anything else.
starting from empty folder
- Install the package.
- create a py file in your desired folder.
- add you appid.txt
- make sure a steamclient is running and you appid is valid.
only difference from the file in your screenshot is the first line changes to:
from steamworkspy.steamworks import STEAMWORKS
Windows:
py -m pip install steamworkspy
Thanks.It's easy to run.