JuliaPy / JuliaPy/PyCall.jl

No module named site when import PyCall

Offen
#503 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I am using Julia (v 0.6.2) and try to import PyCall by `using PyCall`. An Import Error "No module named site" occured.

I has noticed there are already similiar issues. However, I tried the methods in these issues, but they didn't work.

I am using the original Python with CentOS 7, so it might not be a problem caused by EPD.

Pinning to v.1.11.0 and rebuilding do not work for me, the `site` module does exists and can be imported in `python`.

Any ideas on how to solve the problem? Thanks in advance!

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reproducing the failure with `using PyCall` under Julia 0.6.2 on CentOS 7 and compare it with importing `site` directly in the original Python installation. Review the previously reported PyCall issues and the effects of pinning v1.11.0 and rebuilding. Done means identifying why PyCall cannot find `site` and documenting a verified resolution.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.