ghpythonremote icon indicating copy to clipboard operation
ghpythonremote copied to clipboard

On MacOS, `get_python_from_path` fails -- does not follow symlinks?

Open pilcru opened this issue 3 years ago • 0 comments

Reported here https://discourse.mcneel.com/t/solve-the-error-that-gh-pythonremote-dont-work-in-mac/125455

It appears that the get_python_from_path() function does not manage to get to the proper python2.7 file from the file or folder passed as argument. Reported errors are:

“Location format for /Users/xxx/anaconda3/envs/xxxx/bin/”
did not match expected format: “method://env_name”(need more than 1 values to unpack).Falling back to getting python path from MacOS $PATH."

or

“Runtime error (RuntimeException): Remote python /Users/xxx/anaconda3/envs/xxxx/bin/python failed on launch. Does the remote python have rpyc installed?”

or

"no mudule named xxx"

pilcru avatar Jun 10 '21 11:06 pilcru