Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

A note to pyenv users on Mac #122

Copy link
Copy link

Description

@randy3k
Issue body actions

I am on a Mac and using pyenv to manage my python versions.

When I run PyCall on a specific python version, I got

ImportError: No module named site

I dug in the code and discovered that the python dynamic library was not detected correctly.
It turns out that one have to install python via pyenv with --enable-framework in order to have the essential file installed.

env PYTHON_CONFIGURE_OPTS="--enable-framework" pyenv install 3.4.3

I just want to make a note here for future pyenv users

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.