-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App doesn't connect to device on Mac #684
Comments
Here is some information on my environment where I encounter above described behavior. Environment: Python: For which environmental variables do I have to look out? |
PSLab desktop opens a Python Shell to run the backend that comminicates with the PSLab board. The Python Shell runs whatever Running GUI applications from the command line will pass the correct |
Ok. Thanks |
just adding my 2 cents ... the notion of 'standard python' in macOS may be confusing macOS comes with a baked-in Python2.7 https://docs.python.org/3/using/mac.html if we install Python3 with brew it has a standard path for installing python versions if we install PSLab with pip it also has a standard path for installing PSLab under so maybe that could help to improve findability of Python and / or PSLab libraries. however is there maybe an easier way of bundling Electron and Python code? (even at the expense of the size of the packaged App?) |
I'm submitting a ...
What is the current status?
Opening the app via normal means will not connect to the device.
From Gitter - @chiefenne
Current workaround - @chrvoigt
What is the expected behavior?
Connection works without needing this workaround.
Please tell us about your environment:
Mojave 10.14.6
Other information ( Any research that you may have done which you think is the cause of problem )
This is likely because Mac handles command line and GUI apps differently. Environmental variables might be set in one and not set in the other depending on how python is installed.
Would you like to work on it?
I don't have a Mac so it will be hard for me to reproduce.
The text was updated successfully, but these errors were encountered: