-
-
Notifications
You must be signed in to change notification settings - Fork 22
Trouble launching under windows - import errors #414
Comments
You're in the wrong directory, you should be one directory up in the root level of the project at and launching with the just the command |
I tried going up and level and also tried it in another folder / drive to be sure nothing in that tree was in the way.
|
@PySimpleGUI I don't use Anaconda but a quick search leads me to this, which seems to imply that you need to add the directory to |
I added the project's folder as well as the next level down to PYTHONPATH and I still get errors due to imports. It's OK. I'm not a user so it's not important. I just wanted to see what your GUI looked like. This is the first Python program I've run into with these kind of import problems. I would think executing from the project's home folder would be enough as that's what I normally do for imports that are local files. I'm not actively using Conda or any virtual environment. It's straight python best I can tell. You can close this one as it seems to work for everyone else. |
I think your
I'd try again with a non-Anaconda version of python 3.7, if you have one handy. |
Thanks for pySimpleGui, btw. I definitely have some feedback/feature requests which I'll probably post on the subreddit or github. |
Glad you like using PySimpleGUI. Please submit new feature requests only on the GitHub. |
Got it working with 3.7.5. Fresh install + install of matplotlib got it up and running. I went to the project's folder and ran You'll definitely be interested in the last couple of PySimpleGUI releases as the ttk styles are finally working correctly. You can also change the ttk theme for the window now and the elements all style themselves correctly. This is particularly good for your app due to the number of combo boxes you have as well as tabs. How would I go about launching the program from PyCharm? I've got 3.7 configured correctly, but trying to run any of the .py files in the home folder exit with a return code and no other info. Maybe it's not possible with the way I've got things setup. I don't use a virtual environment within PyCharm. |
Environment details
kcauto version "v8.0.0-rc1"
Operating system - Windows 10
Issue variability
Every time
Issue
Having trouble running both on the command line and launching via PyCharm.
I'm sure I've not done something right with the setup. Do I need to modify my paths?
Log
The text was updated successfully, but these errors were encountered: