Python Forum
Library error - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: Library error (/thread-39883.html)

Pages: 1 2


Library error - M53RX1 - Apr-29-2023

hello, i have a problem, i installed this library https://github.com/ValvePython/steam/discussions
but I keep getting this error as if this library is not there, does anyone have an idea why this might be happening? here is the error he gets

steam import game_servers as gs
ModuleNotFoundError: No module named 'steam'


RE: Library error - Axel_Erfurt - Apr-29-2023

https://steam.readthedocs.io/en/latest/install.html


RE: Library error - M53RX1 - Apr-29-2023

(Apr-29-2023, 09:32 AM)Axel_Erfurt Wrote: https://steam.readthedocs.io/en/latest/install.html
I did everything according to the instructions, I have the library installed, but the program does not see it.


RE: Library error - Axel_Erfurt - Apr-29-2023

Are you using an IDE? If yes, which?


RE: Library error - M53RX1 - Apr-29-2023

(Apr-29-2023, 04:01 PM)Axel_Erfurt Wrote: Are you using an IDE? If yes, which?
I'm using Pycharm


RE: Library error - Axel_Erfurt - Apr-29-2023

I think PyCharm uses its own venv. Therefore you have to install the module within PyCharm.


RE: Library error - M53RX1 - Apr-29-2023

(Apr-29-2023, 06:27 PM)Axel_Erfurt Wrote: I think PyCharm uses its own venv. Therefore you have to install the module within PyCharm.
what module? can you guide me


RE: Library error - Axel_Erfurt - Apr-29-2023

All python modules (packages) that you want to use in PyCharm have to be installed within PyCharm.

https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html


RE: Library error - M53RX1 - Apr-29-2023

(Apr-29-2023, 07:04 PM)Axel_Erfurt Wrote: All python modules (packages) that you want to use in PyCharm have to be installed within PyCharm.

https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html
I installed steam using this tool, is this the library I'm talking about?
[Image: 4OfbiQ6.png]


RE: Library error - Axel_Erfurt - Apr-29-2023

Run your project and you'll see it.