zettonaender / eqapotographiceq-gui

GUI version of https://github.com/zettonaender/convtographiceq
82 stars 3 forks source link

ModuleNotFoundError: No module named 'PySimpleGUI' #3

Closed fuzzybabybunny closed 2 years ago

fuzzybabybunny commented 3 years ago

I'm unfortunately getting the following error:

C:\Users\Admin\Downloads\eqapotographiceq-gui-main>py gui.py

Traceback (most recent call last):

  File "C:\Users\Admin\Downloads\eqapotographiceq-gui-main\gui.py", line 1, in <module>
    import PySimpleGUI as sg

ModuleNotFoundError: No module named 'PySimpleGUI'

But I've already got PySimpleGUI installed:

C:\Users\Admin>pip install --upgrade PySimpleGUI

Requirement already satisfied: PySimpleGUI in c:\users\admin\appdata\local\programs\python\python37\lib\site-packages (4.43.0)

When I run Python from the command line it seems to know where PySimpleGUI is:

C:\Users\Admin>python
Python 3.7.8 (tags/v3.7.8:4b47a5b6ba, Jun 28 2020, 08:53:46) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import PySimpleGUI
>>> PySimpleGUI
<module 'PySimpleGUI' from 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\PySimpleGUI\\__init__.py'>
>>>

I've got pip-21.1.2 and Python 3.7.8 on Windows 10.

zettonaender commented 3 years ago

Do you have another version of python installed? In any case, you can try running pip in administrator mode to see if it helps.