Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

No module named 'enjarify' #13

Open
liboLiao opened this issue Oct 27, 2015 · 5 comments
Open

No module named 'enjarify' #13

liboLiao opened this issue Oct 27, 2015 · 5 comments

Comments

@liboLiao
Copy link

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
Copy link
Contributor

Did you set PYTHONPATH correctly?

@liboLiao
Copy link
Author

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

@Storyyeller
Copy link
Contributor

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
#13 (comment).

@wfs3006
Copy link

wfs3006 commented Jun 22, 2019

There is the same problem. Have you solved it?

@copslock
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants