ValvePython / steam

☁️ Python package for interacting with Steam
http://steam.readthedocs.io
MIT License
1.05k stars 127 forks source link

AttributeError: 'SteamClient' object has no attribute '_listeners' #380

Closed Blazzycrafter closed 2 years ago

Blazzycrafter commented 2 years ago

Same as #320 but when i uninstalles eventemitter then i got this error:

Traceback (most recent call last):
  File "E:\000\py\steam test\main.py", line 1, in <module>
    from steam.client import SteamClient
  File "E:\000\py\steam test\venv\lib\site-packages\steam\client\__init__.py", line 25, in <module>
    from eventemitter import EventEmitter
ModuleNotFoundError: No module named 'eventemitter'
rossengeorgiev commented 2 years ago

You have to install the package with the client extra, like so pip install -U steam[client], to get deps for SteamClient. See the README

Also eventemitter is not the right package, steam uses gevent-eventemmiter, which has a name collision with eventemitter