software-challenge / software-challenge/player_python

pkg_resources not found

Open Beginner friendly
#107 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.