NeuralEnsemble/MotionClouds

Installation not working

Closed this issue · 2 comments

Greetings.
Installation of the latest version using pip is not working (OS X Yosemite), even when the installation reports as successful and MotionClouds appear in pip list

>> pip install -U git+https://github.com/NeuralEnsemble/MotionClouds.git
Collecting git+https://github.com/NeuralEnsemble/MotionClouds.git
  Cloning https://github.com/NeuralEnsemble/MotionClouds.git to /var/folders/9c/fv2250g10235c5xl0vhx5bxc0000gn/T/pip-RuSrPC-build
Installing collected packages: MotionClouds
  Running setup.py install for MotionClouds
Successfully installed MotionClouds-0.2
>> python -c 'import MotionClouds as mc'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named MotionClouds

When running ./setup.py directly from the git folder, I get
warning: install_lib: 'build/lib' does not exist -- no Python modules to install
The complete output of the command is:

./setup.py install
running install
running bdist_egg
running egg_info
creating MotionClouds.egg-info
writing MotionClouds.egg-info/PKG-INFO
writing top-level names to MotionClouds.egg-info/top_level.txt
writing dependency_links to MotionClouds.egg-info/dependency_links.txt
writing manifest file 'MotionClouds.egg-info/SOURCES.txt'
reading manifest file 'MotionClouds.egg-info/SOURCES.txt'
writing manifest file 'MotionClouds.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.5-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.macosx-10.5-x86_64
creating build/bdist.macosx-10.5-x86_64/egg
creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying MotionClouds.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying MotionClouds.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying MotionClouds.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
copying MotionClouds.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/MotionClouds-0.2-py2.7.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it
removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it)
Processing MotionClouds-0.2-py2.7.egg
Copying MotionClouds-0.2-py2.7.egg to /anaconda/lib/python2.7/site-packages
Adding MotionClouds 0.2 to easy-install.pth file

Installed /anaconda/lib/python2.7/site-packages/MotionClouds-0.2-py2.7.egg
Processing dependencies for MotionClouds==0.2
Finished processing dependencies for MotionClouds==0.2

Hi!

Thanks for reporting this. I have amended the setup.py script to fix this. it should now work:

⇒  pip install -U git+https://github.com/NeuralEnsemble/MotionClouds.git
Collecting git+https://github.com/NeuralEnsemble/MotionClouds.git
  Cloning https://github.com/NeuralEnsemble/MotionClouds.git to /var/folders/ry/dtnlx8yn3cd15d0t5kf24fr00000gp/T/pip-MyDGgF-build
Requirement already up-to-date: numpy in /usr/local/lib/python2.7/site-packages (from MotionClouds==0.2)
Installing collected packages: MotionClouds
  Running setup.py install for MotionClouds
Successfully installed MotionClouds-0.2

tell me if I can close this issue.

Cheers, Laurent

It worked perfectly

Regards

César Ravello Serrano
Programa Doctorado en Neurociencias
Universidad de Valparaíso

El 13-07-2015, a las 12:33, Laurent Perrinet notifications@github.com escribió:

Hi!

Thanks for reporting this. I have amended the setup.py script to fix this. it should now work:

⇒ pip install -U git+https://github.com/NeuralEnsemble/MotionClouds.git
Collecting git+https://github.com/NeuralEnsemble/MotionClouds.git
Cloning https://github.com/NeuralEnsemble/MotionClouds.git to /var/folders/ry/dtnlx8yn3cd15d0t5kf24fr00000gp/T/pip-MyDGgF-build
Requirement already up-to-date: numpy in /usr/local/lib/python2.7/site-packages (from MotionClouds==0.2)
Installing collected packages: MotionClouds
Running setup.py install for MotionClouds
Successfully installed MotionClouds-0.2
tell me if I can close this issue.

Cheers, Laurent


Reply to this email directly or view it on GitHub #1 (comment).