software-challenge / software-challenge/player_python
pkg_resources not found
Open
Beginner friendly
Nobody has claimed this yet.
bug
- Dominant language
- Python
- Stars
- 13
- Forks
- 4
- Avg merge
- 12h 20m
- Merged PRs (30d)
- 2
Description
Description
Wenn ich dem Guide zum erstellen eines Python Spielers folge, bekomme ich folgenden Fehler:
Traceback (most recent call last):
File "/home/sdo/Documents/socha/Development/python_player_test/logic.py", line 25, in <module>
from socha.starter import Starter
File "/home/sdo/Documents/socha/Development/python_player_test/venv/lib/python3.12/site-packages/socha/starter.py", line 12, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Environment
- Python version: [e.g. 3.12]
- Operating System: [Ubuntu 24.04]
- Version of the Python SoCha Client: latest
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Python 3.12 setup described in the issue and inspect the import at socha/starter.py line 12, reached from logic.py line 25. Check how the Python client declares and installs the dependency, then verify that following the player guide no longer raises ModuleNotFoundError for pkg_resources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100