Hi everyone,

Looks like pyximport is a cool addition to cython. Unfortunately,
after I installed Cython through easy_install) I wasn't able to import
pyximport.

In [2]: Cython?
Type:           module
Base Class:     <type 'module'>
String Form:    <module 'Cython' from
'/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Cython-0.9.8.1.1-py2.5-macosx-10.3-i386.egg/Cython/__init__.pyc'>
Namespace:      Interactive
File:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Cython-0.9.8.1.1-py2.5-macosx-10.3-i386.egg/Cython/__init__.py
Docstring:
   <no docstring>


In [3]: import pyximport
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)

/Users/malkarouri/<ipython console> in <module>()

ImportError: No module named pyximport


When I looked in the package, there is a folder pyximport beside
Cython (sys.path contains
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/Cython-0.9.8.1.1-py2.5-macosx-10.3-i386.egg/,
the parent directory of both). But pyximport doesn't contain an
__init__.py file. Is that the problem?

Many thanks,

Muhammad Alkarouri
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to