JuliaPy / JuliaPy/PyCall.jl

No module named site when import PyCall

Ouverte
#503 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Julia
Étoiles
1.5k
Forks
186
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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!

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, python
Domaine
backend
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
20/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.