We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sys.path
Consider following file tree:
########## mydir/mytest.pyx ########## print('Hello world!')
Running command:
PYTHONPATH=mydir python -c 'import pyximport; pyximport.install(); import mytest'
from parent directory of mydir will fail with following error:
mydir
Traceback (most recent call last): File "<string>", line 1, in <module> ModuleNotFoundError: No module named 'mytest'
Compilation success since the module is present in PYTHONPATH.
PYTHONPATH
any
master
This bug is regression. Cython 0.29.X works correctly.
The text was updated successfully, but these errors were encountered:
A workaround hack is to import from the old version _pyximport2 for all python versions, e.g.
import pyximport._pyximport2 as pyximport pyximport.install()
This is a pretty bad bug, however.
Sorry, something went wrong.
No branches or pull requests
Describe your issue
Consider following file tree:
Running command:
PYTHONPATH=mydir python -c 'import pyximport; pyximport.install(); import mytest'
from parent directory of
mydir
will fail with following error:Expected behaviour
Compilation success since the module is present in
PYTHONPATH
.OS
any
Python version
any
Cython version
master
Additional context
This bug is regression. Cython 0.29.X works correctly.
The text was updated successfully, but these errors were encountered: