-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
automotive demo is not working on a mac #6686
Comments
Using the |
The other workaround is to add |
FWIW, I'd be up for just checking My preference would be to avoid a toolchain, so we don't lock the user into a specific Python binary. (When debugging bindings, I found it useful to (a) use a debug version of Ubuntu-packaged Python and (b) build Python from source in debug mode to crawl through the source a little.) |
I wonder whether installing a |
As another option: we could create an executable file |
I can see advantages with either, though I have a slight aversion to wrappers. I have some tentative plans to factor out the small number of flags (e.g, |
My preference would be to have this be system-wide (using the For the Another option is to explicitly use |
The local |
(Note that Homebrew already draws attention to the problem of Python not being in the PATH and offers a solution pretty clearly, so any warning message in
|
We should probably also verify the behavior of having all of |
@soonho-tri Is this any better now? Is there anything left to do, or could we close it? |
I think we're good now. @jamiesnape , please re-open this if you think not. |
How to reproduce
Symptom
Related PR/Issues : #6616, #6333
Diagnosis
From https://stackoverflow.com/questions/35640529/what-does-fatal-python-error-pythreadstate-get-no-current-thread-mean :
which python
returns/usr/bin/python
while homebrew'spython
is located at/usr/local/opt/python/libexec/bin/python
. Note that homebrew only putpython2
andpython2.7
under/usr/local/bin
.A workaround
From
brew info python
:Preferably, we need to find a solution to call the homebrew's python from the demo (without asking for modifying the
PATH
env variable). If that's not feasible, we need to add an instruction to updatePATH
in the documentation.The text was updated successfully, but these errors were encountered: