Search code examples
pythonpipfipy

Error while install FiPy "Command "python setup.py egg_info" failed with error code 1"


I'm trying to install FiPy on Python 3.6. and ran into trouble. I followed the installation instruction from the NIST website: https://www.ctcms.nist.gov/fipy/INSTALLATION.html

But at the last step pip install fipy I get an error that I don't understand:

(MYFIPYENV) >pip install fipy Collecting fipy Cache entry deserialization failed, entry ignored Cache entry deserialization failed, entry ignored
Downloading FiPy-3.1.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-9xzf0bmv\fipy\setup.py",
line 61
    except ImportError, e:
                      ^
SyntaxError: invalid syntax

---------------------------------------- 

Command "python setup.py egg_info" failed with error code 1 in C:\Users\AppData\Local\Temp\pip-build-9xzf0bmv\fipy\ Cache entry deserialization failed, entry ignored

Could someone please tell me what's this error about and how to fix it?

To not dupplicate the question I tried following hints:

>pip upgrade 
>pip install --upgrade setuptools
>pip install ez_setup

Working on Windows 10. Thanks in advance!


Solution

  • FiPy is a Python 2 package.