rainwoodman / sharedmem

A different flavor of multiprocessing in Python
GNU General Public License v3.0
81 stars 9 forks source link

ImportError: No module named numpy.distutils.core #9

Closed LuisBL closed 7 years ago

LuisBL commented 7 years ago

With the following pip, setuptools::

~/lab/sandbox/ble$ pip --version
pip 8.1.2 from ~/local/lib/python2.7/site-packages (python 2.7)
~/lab/sandbox/ble$ python --version
Python 2.7.10
~/lab/sandbox/ble$ python -c 'import setuptools as st; print st.__version__'
28.6.1
~/lab/sandbox/ble$

I get this errror::

~/lab/sandbox/ble$ pip install sharedmem
Collecting sharedmem
Using cached sharedmem-0.3.3.tar.gz
  Complete output from command python setup.py egg_info:
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/tmp/pip-build-ufEIrD/sharedmem/setup.py", line 1, in <module>
      from numpy.distutils.core import setup, Extension
  ImportError: No module named numpy.distutils.core
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ufEIrD/sharedmem/
~/lab/sandbox/ble$

I've try to pip install lower version with no success

rainwoodman commented 7 years ago

Hi

It was fixed in #8. I will mark a new release.

Yu

On Oct 25, 2016 12:20 PM, "Luis" notifications@github.com wrote:

With the following pip, setuptools::

~/lab/sandbox/ble$ pip --version pip 8.1.2 from /home/luis/vtokyo/local/lib/python2.7/site-packages (python 2.7) ~/lab/sandbox/ble$ python --version Python 2.7.10 ~/lab/sandbox/ble$ python -c 'import setuptools as st; print st.version' 28.6.1 ~/lab/sandbox/ble$

I get this errror::

~/lab/sandbox/ble$ pip install sharedmem Collecting sharedmem Using cached sharedmem-0.3.3.tar.gz Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/tmp/pip-build-ufEIrD/sharedmem/setup.py", line 1, in from numpy.distutils.core import setup, Extension ImportError: No module named numpy.distutils.core

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ufEIrD/sharedmem/ ~/lab/sandbox/ble$

I've try to pip install lower version with no success

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rainwoodman/sharedmem/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIbTNLJzYbi5hyU8o1lcEuDXQZcsFmMks5q3lZ_gaJpZM4KgYPg .

rainwoodman commented 7 years ago

0.3.5 should have fixed the problem. Note that the anonymous memory map object is accessed like dense numpy arrays, thus numpy is still a dependency.