scidash / neuronunit

A package for data-driven validation of neuron and ion channel models using SciUnit
http://neuronunit.scidash.org
38 stars 24 forks source link

Installation Fails on Windows #250

Closed ChihweiLHBird closed 3 years ago

ChihweiLHBird commented 3 years ago

The installation process fails on Windows OS:

PS C:\icon\neuronunit\neuronunit> pip install -e .
Obtaining file:///C:/icon/neuronunit/neuronunit
Requirement already satisfied: scipy>=0.17 in c:\users\zhiwe\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from neuronunit==0.19) (1.5.2)
Requirement already satisfied: matplotlib>=2.0 in c:\users\zhiwe\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (from neuronunit==0.19) (3.3.0)
Collecting neo==0.5.2
  Using cached neo-0.5.2.tar.gz (1.4 MB)
Collecting elephant==0.4.1
  Using cached elephant-0.4.1.tar.gz (227 kB)
Collecting igor==0.3
  Using cached igor-0.3.tar.gz (51 kB)
Collecting allensdk==0.14.5
  Using cached allensdk-0.14.5.tar.gz (494 kB)
Collecting pyNeuroML@ git+https://github.com/rgerkin/pyneuroml@master#egg=pyneuroml-9999
  Cloning https://github.com/rgerkin/pyneuroml (to revision master) to c:\users\zhiwe\appdata\local\temp\pip-install-49pt8ads\pyneuroml
Collecting pyNN>=0.9
  Using cached PyNN-0.9.5.tar.gz (3.2 MB)
ERROR: The tar file (C:\Users\zhiwe\AppData\Local\Temp\pip-unpack-ty0lj987\PyNN-0.9.5.tar.gz) has a file (C:\Users\zhiwe\AppData\Local\Temp\pip-install-49pt8ads\pynn\pyNN/hardware/aux.py) trying to install outside target directory (C:\Users\zhiwe\AppData\Local\Temp\pip-install-49pt8ads\pynn)

Can anyone try to reproduce it? I am using beta version of Windows, not sure if it is the issue of the system or Neuronunit.

ChihweiLHBird commented 3 years ago

This issue was caused by PyNN.

Found the discussion here: https://github.com/NeuralEnsemble/PyNN/issues/666