Re: How can i solve ImportError: No module named _vectorized when running unit test files?

NirmalaSudhir <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hi

    I here paste some of the output which i get

nirmalsudhir@nirmalsudhir:~/zope/myproject$       bin/zopepy -c "import sys;
print sys.prefix" 
/home/nirmalsudhir/zope/myproject
--------------------------------------------------------------------------------------------------------------------

nirmalsudhir@nirmalsudhir:~$
/home/nirmalsudhir/zope/myproject/bin/easy_install numpy
Searching for numpy
Best match: numpy 1.8.2
Processing numpy-1.8.2-py2.7-linux-i686.egg
numpy 1.8.2 is already the active version in easy-install.pth
Installing f2py script to /home/nirmalsudhir/zope/myproject/bin

Using
/home/nirmalsudhir/zope/myproject/lib/python2.7/site-packages/numpy-1.8.2-py2.7-linux-i686.egg
Processing dependencies for numpy
Finished processing dependencies for numpy

--------------------------------------------------------------------------------------------------------------------


nirmalsudhir@nirmalsudhir:~$
/home/nirmalsudhir/zope/myproject/bin/easy_install cython
Searching for cython
Best match: Cython 0.20.2
Processing Cython-0.20.2-py2.7-linux-i686.egg
Cython 0.20.2 is already the active version in easy-install.pth
Installing cython script to /home/nirmalsudhir/zope/myproject/bin
Installing cygdb script to /home/nirmalsudhir/zope/myproject/bin

Using
/home/nirmalsudhir/zope/myproject/lib/python2.7/site-packages/Cython-0.20.2-py2.7-linux-i686.egg
Processing dependencies for cython
Finished processing dependencies for cython

--------------------------------------------------------------------------------------------------------------------

After including numpy and cython in  buildout.cfg eggs section i see these
things during bin/buildout

Warning: The C extension could not be compiled, speedups are not enabled.
Failure information, if any, is above.
I'm retrying the build without the C extension now.
zip_safe flag not set; analyzing archive contents...
shapely.geos: module references __file__
shapely.tests.test_doctests: module references __file__
Warning: The C extension could not be compiled, speedups are not enabled.
Plain-Python installation succeeded.

Still my problem is not solved:(




--
View this message in context: http://plone.293351.n2.nabble.com/How-can-i-solve-ImportError-No-module-named-vectorized-when-running-unit-test-files-tp7572274p7572313.html
Sent from the General Questions mailing list archive at Nabble.com.

------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.