Skip to content

On MacOS, get_python_from_path fails -- does not follow symlinks? #42

Description

@pilcru

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"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions