Re: How can i solve ImportError: No module named _vectorized when running unit test files?
Christian Ledermann <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CABCjzWqxNc-2vF=UhHT5opYefu1RSHscOn9-WQ01KanbsuJh7w@mail.gmail.com> |
Shapely and numpy are not used by a standard zope/plone install so it has something to do with an addon you installed. It may be better to identify that add on to get an answer. On Fri, Aug 15, 2014 at 9:51 AM, NirmalaSudhir <[email protected]> wrote: > 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. > > ------------------------------------------------------------------------------ > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users -- Best Regards, Christian Ledermann London - UK Mobile : +44 7474997517 <*)))>{ If you save the living environment, the biodiversity that we have left, you will also automatically save the physical environment, too. But If you only save the physical environment, you will ultimately lose both. 1) Don’t drive species to extinction 2) Don’t destroy a habitat that species rely on. 3) Don’t change the climate in ways that will result in the above. }<(((*> ------------------------------------------------------------------------------ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users