JuliaPy / JuliaPy/PyCall.jl

PyCall doesn't work with Enthought Canopy / EPD

Open
#42 18 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

When I type `@pyimport math`, I get this error message:

```
ERROR: could not load module /Library/Frameworks/Python.framework/Versions/Current/bin/python: dlopen(/Library/Frameworks/Python.framework/Versions/Current/bin/python.dylib, 9): image not found
in pyinitialize at /Users/Celestrist/.julia/PyCall/src/PyCall.jl:365
in pyimport at /Users/Celestrist/.julia/PyCall/src/PyCall.jl:105
```

Any idea what happens?

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the failure path in src/PyCall.jl at pyinitialize (line 365), called from pyimport (line 105), and reproduce @pyimport math with Enthought Canopy/EPD. Determine why the configured Python framework path cannot load, then verify that the import succeeds without the reported dlopen error.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.