Closed skyfpv closed 4 years ago
What is the error you are receiving and can you share your code so we can help some more?
Are you sure there are no typos?
import steam
from steam.client import SteamClient
Cheers
@vBubbaa Here is my terminal output given the following sequence of commands.
C:\Users\Timothy\Documents\FlowState\scripts\steam-sdk>pip3 install steam
Requirement already satisfied: steam in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (0.9.1)
Requirement already satisfied: six>=1.10 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (1.14.0)
Requirement already satisfied: cryptography>=1.3 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (2.8)
Requirement already satisfied: requests>=2.9.1 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (2.23.0)
Requirement already satisfied: vdf>=2.0 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (3.2)
Requirement already satisfied: gevent>=1.2.0 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (1.4.0)
Requirement already satisfied: protobuf>=3.0.0 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (3.11.3)
Requirement already satisfied: gevent-eventemitter>=2.0 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from steam) (2.1)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from cryptography>=1.3->steam) (1.14.0)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from requests>=2.9.1->steam) (1.25.8)
Requirement already satisfied: idna<3,>=2.5 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from requests>=2.9.1->steam) (2.9)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from requests>=2.9.1->steam) (2019.11.28)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from requests>=2.9.1->steam) (3.0.4)
Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from gevent>=1.2.0->steam) (0.4.15)
Requirement already satisfied: setuptools in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from protobuf>=3.0.0->steam) (40.6.2)
Requirement already satisfied: pycparser in c:\users\timothy\appdata\local\programs\python\python37\lib\site-packages (from cffi!=1.11.3,>=1.8->cryptography>=1.3->steam) (2.19)
C:\Users\Timothy\Documents\FlowState\scripts\steam-sdk>python3
Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import steam
>>> from steam.client import SteamClient
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'steam.client'
It looks like your installed packages are saving to your Python 3.7 folder but you are running Python 3.8. This could be the causing the issue, can you try running that with Python 3.7 and see if that works?
Closing this due to inactivity.
I'm attempting to run through an example after following the Windows native install instructions. While I am able to call
import steam
, my python script is not able to successfully callfrom steam.client import SteamClient
as shown in this example. I'm sure I've done something simple wrong, but I am just new enough at this not to know what it is. Thanks in advance for the help!