[pypy-issue] Issue #2138: Command line Pypy cannot locate a non-English characters folder for import causeing ImportError (pypy/pypy)

Ofir Shwartz issues-reply at bitbucket.org
Sun Sep 13 10:39:27 CEST 2015


New issue 2138: Command line Pypy cannot locate a non-English characters folder for import causeing ImportError
https://bitbucket.org/pypy/pypy/issues/2138/command-line-pypy-cannot-locate-a-non

Ofir Shwartz:

Hello,
My project is built of several files, which I'm importing from the main file using:
*from xxx import **
The project is located in a sub-folder where some non-English characters exists in its path.

The problem is from command line:
When running from the command line:
***pypy projectname.py***
 gets an ImportError, while:
***python projectname.py***
runs correctly. 
Pypy probably cannot locate a path that includes non-English characters.

When running from **within** the pypy environment (using "import projectname") things are ok.
Attached a screenshot of everything I described; the non-English letters are Hebrew, but I guess that it's not unique to that language.

![PypyBug.png](https://bitbucket.org/repo/R7AbB/images/4135589261-PypyBug.png)






More information about the pypy-issue mailing list