0

I am trying to install SPC at a Win 64-bit platform through Spyder Anaconda. After trying the solutions provided here, I run ez_setup but still getting the following error:

pip install spc
Collecting spc
 Using cached spc-0.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "c:\users\....\appdata\local\temp\pip-build-gfpds4\spc\setup.py", line 3, in <module>
from ez_setup import use_setuptools
ImportError: No module named ez_setup

----------------------------------------
 Command "python setup.py egg_info" failed with error code 1 in c:\users\...\appdata\local\temp\pip-build-gfpds4\spc\
user26872
  • 59
  • 10

1 Answers1

1

try installing ez_setup from pip first:

pip install ez_setup

and then install spc:

pip install spc

I believe the authors forgot to add ez_setup as an installation requirement in the setup.py, like they did for numpy:

 % sudo pip install ez_setup
Collecting ez-setup
  Downloading ez_setup-0.9.tar.gz
Installing collected packages: ez-setup
  Running setup.py install for ez-setup ... done
Successfully installed ez-setup-0.9
 % sudo pip install spc
Collecting spc
  Using cached spc-0.3.tar.gz
Requirement already satisfied (use --upgrade to upgrade): NumPy in /usr/local/lib/python2.7/dist-packages (from spc)
Installing collected packages: spc
  Running setup.py install for spc ... done
Successfully installed spc-0.3
zmo
  • 24,463
  • 4
  • 54
  • 90