mattions / neuronvisio

A Graphical User Interface with 3D Visualization features for NEURON simulation enviroment
https://neuronvisio.readthedocs.io
Other
30 stars 15 forks source link

Installation problem from PiPy #57

Closed mattions closed 9 years ago

mattions commented 11 years ago

It seems something change and now it's not possibile to install neuronvisio from pypy anymore

(gen)mattions@mercury:~$ pip install neuronvisio
Downloading/unpacking neuronvisio
  Running setup.py egg_info for package neuronvisio
    some tasks used for neuronvisio development could not not be imported.
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking distribute==0.6.35 (from neuronvisio)
  Running setup.py egg_info for package distribute

Requirement already satisfied (use --upgrade to upgrade): pip in ./.virtualenvs/gen/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (from neuronvisio)
Installing collected packages: neuronvisio, distribute
  Running setup.py install for neuronvisio
    some tasks used for neuronvisio development could not not be imported.
    Usage: -c pavement.install [options]

    -c: error: no such option: --record
    Complete output from command /home/mattions/.virtualenvs/gen/bin/python -c "import setuptools;__file__='/home/mattions/.virtualenvs/gen/build/neuronvisio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-s9Hbpg-record/install-record.txt --single-version-externally-managed --install-headers /home/mattions/.virtualenvs/gen/include/site/python2.7:
    some tasks used for neuronvisio development could not not be imported.

Usage: -c pavement.install [options]

-c: error: no such option: --record

----------------------------------------
Command /home/mattions/.virtualenvs/gen/bin/python -c "import setuptools;__file__='/home/mattions/.virtualenvs/gen/build/neuronvisio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-s9Hbpg-record/install-record.txt --single-version-externally-managed --install-headers /home/mattions/.virtualenvs/gen/include/site/python2.7 failed with error code 2 in /home/mattions/.virtualenvs/gen/build/neuronvisio
Storing complete log in /home/mattions/.pip/pip.log
mattions commented 10 years ago

As a workaround just clone the directory and add it to the PYTHONPATH. Which means

git clone git@github.com:mattions/neuronvisio.git

export PYTHONPATH=`pwd`/neuronvisio # Or write the absolute path to the cloned directory.
rcaze commented 10 years ago

I had the following error message and using the workaround solved the problem! Thank you, Romain

Downloading/unpacking neuronvisio  
Downloading neuronvisio-0.8.6.tar.gz (3.3Mb): 3.3Mb downloaded
  Running setup.py egg_info for package neuronvisio
    some tasks used for neuronvisio development could not not be imported.
    no previously-included directories found matching 'docs/_build'
Downloading/unpacking distribute==0.6.35 (from neuronvisio)
  Downloading distribute-0.6.35.tar.gz (644Kb): 644Kb downloaded
  Running setup.py egg_info for package distribute

Downloading/unpacking pip (from neuronvisio)
  Downloading pip-1.5.4.tar.gz (1.1Mb): 1.1Mb downloaded
  Running setup.py egg_info for package pip

    warning: no files found matching 'pip/cacert.pem'
    warning: no files found matching '*.html' under directory 'docs'
    warning: no previously-included files matching '*.rst' found under directory 'docs/_build'
    no previously-included directories found matching 'docs/_build/_sources'
Installing collected packages: neuronvisio, distribute, pip
  Running setup.py install for neuronvisio
    some tasks used for neuronvisio development could not not be imported.
    Usage: -c pavement.install [options]

    -c: error: no such option: --single-version-externally-managed
    Complete output from command /usr/bin/python -c "import setuptools;__file__='/home/rcaze/ENV/build/neuronvisio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-w5IUxx-record/install-record.txt:
    some tasks used for neuronvisio development could not not be imported.

Usage: -c pavement.install [options]

-c: error: no such option: --single-version-externally-managed

----------------------------------------
Command /usr/bin/python -c "import setuptools;__file__='/home/rcaze/ENV/build/neuronvisio/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-w5IUxx-record/install-record.txt failed with error code 2
Storing complete log in /home/rcaze/.pip/pip.log
pyjamashark commented 10 years ago

Hi, I had the same issue, running ubuntu 14.04 In all likelihood I'm being a total Noob but running the workaround gives me this ie, don't have access rights...

pyjamashark@pyjamashark-lap:~$ git clone git@github.com:mattions/neuronvisio.git Cloning into 'neuronvisio'... Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

mattions commented 10 years ago

It seems that github has changed the way it lets you clone the repos.

Anonymous cloning of a repository now is via https:

git clone https://github.com/mattions/neuronvisio.git

The url you should use is on the right side of the page in github.

HIH, Michele.

On Mon, Aug 18, 2014 at 12:48 PM, pyjamashark notifications@github.com wrote:

Hi, I had the same issue, running ubuntu 14.04 In all likelihood I'm being a total Noob but running the workaround gives me this ie, don't have access rights...

pyjamashark@pyjamashark-lap:~$ git clone git@github.com :mattions/neuronvisio.git Cloning into 'neuronvisio'... Warning: Permanently added the RSA host key for IP address '192.30.252.129' to the list of known hosts. Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

— Reply to this email directly or view it on GitHub https://github.com/mattions/neuronvisio/issues/57#issuecomment-52481831.