Closed nalzok closed 4 months ago
Maybe try with Python 3.9.
CC @sthen who seems to be a maintainer of the OpenBSD ports tree. The package steamctl
is only intended to work with at most Python 3.9, but it is using Python 3.11 as per this commit message.
The reported problem is because steamctl uses pkg_resources ("deprecated in favor of importlib.resources, importlib.metadata and their backports" according to setuptools docs) so it needs setuptools to be installed at runtime. I'll get that dependency added to the port but in the meantime @nalzok please try "pkg_add py3-setuptools" - it will get past this problem - and see if steamctl then works.
If there are other issues relating to newer Python versions they'll need to be patched, hopefully it will be ok anyway though because most OS have moved past Python 3.9 by now.
It works after I upgrade to 0.9.5p0
. Thanks for the help, everyone!
Description On OpenBSD, executing
steamctl depot download -os linux64 -a 1637730
givesModuleNotFoundError: No module named 'pkg_resources
Steps to Reproduce the behavior
Expected behavior
It downloads the game.
What actually happend
It does not download the game.
Logs
steamctl -l debug
``` $ steamctl -l debug [DEBUG] steamctl: Parsed args: {'versions_report': None, 'log_level': 'debug', 'anonymous': False, 'user': None, 'password': None, 'command': None, '_cmd_func':Versions Report
steamctl --versions-report
(Run steamctl --versions-report and paste the output below) ```yaml $ steamctl --versions-report steamctl: 0.9.5 Dependencies: Traceback (most recent call last): File "/usr/local/bin/steamctl", line 8, in