Open liboLiao opened 9 years ago
Did you set PYTHONPATH correctly?
PYTHONPATH: PYTHON has only one dir:
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.
There is the same problem. Have you solved it?
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
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')