google / enjarify

Apache License 2.0
2.73k stars 541 forks source link

No module named 'enjarify' #13

Open liboLiao opened 9 years ago

liboLiao commented 9 years ago

I used the python-3.5.0-embed-amd64.zip to excute,because no 'python3' command in it, so edited the second line in 'enjarify.bat' file------'python -O -m enjarify.main %*' and the result is below: ...\python-3.5.0-embed-amd64\python.exe: Error while finding spec for 'enjarify.main' (<class 'ImportError'>: No module named 'enjarify')

20151027132317

Storyyeller commented 9 years ago

Did you set PYTHONPATH correctly?

liboLiao commented 9 years ago

PYTHONPATH: qq 20151028162037 PYTHON has only one dir: qq 20151028162330

Storyyeller commented 9 years ago

PYTHONPATH needs to be set to the location where Enjarify is. If you used the wrapper shell script, it would do this automatically.

On Wed, Oct 28, 2015 at 1:24 AM, liboLiao notifications@github.com wrote:

PYTHONPATH: [image: qq 20151028162037] https://cloud.githubusercontent.com/assets/13013238/10783060/f43872da-7d8f-11e5-9959-def43e7030d1.png PYTHON has only one dir: [image: qq 20151028162330] https://cloud.githubusercontent.com/assets/13013238/10783105/3e310d70-7d90-11e5-9efd-40b88ec9163a.png

— Reply to this email directly or view it on GitHub https://github.com/google/enjarify/issues/13#issuecomment-151761045.

wfs3006 commented 5 years ago

There is the same problem. Have you solved it?

copslock commented 3 years ago

For anyone have the same problem,the python embed before version 3.5.1 has a problem that not parse the PYTHONPATH at all,which caused the python moudle search path error Simple workaround: add enjarify directory path to python3x._pth under embed python3 directory