ssanderson / python-interface

Minimal Pythonic Interface Definitions
https://interface.readthedocs.io/en/latest/
Apache License 2.0
111 stars 16 forks source link

Can't install this package #29

Closed josephmancuso closed 3 years ago

josephmancuso commented 5 years ago

Hi, I can't install this package. I keep getting an exception:

pip install python-interface
Collecting python-interface
  Using cached https://files.pythonhosted.org/packages/2b/47/eaf912fb6f90c36aa0e0f4e45de63b450dc5a885698b4b00de1e5f80948e/python-interface-1.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    error in python-interface setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in typing>=3.5.2;python_version<"3.5" at ;python_version<"3.5"

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/4m/k35h1kn939qg9m80hj561gv00000gn/T/pip-build-NHem3C/python-interface/
You are using pip version 9.0.3, however version 19.2.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Joseph-Main-MBP:core mancuso$ pip install python-interface
Collecting python-interface
  Using cached https://files.pythonhosted.org/packages/2b/47/eaf912fb6f90c36aa0e0f4e45de63b450dc5a885698b4b00de1e5f80948e/python-interface-1.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    error in python-interface setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in typing>=3.5.2;python_version<"3.5" at ;python_version<"3.5"

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/4m/k35h1kn939qg9m80hj561gv00000gn/T/pip-build-p6Vlum/python-interface/
ssanderson commented 5 years ago

Hmm. My first reaction to this was that your pip version was too old to be able to process our conditional dependency on typing, but I can't reproduce the failure in a fresh virtualenv using pip==9.0.3. Can you post the output of pip freeze --all in the environment where you're getting this error?

ssanderson commented 3 years ago

Closing this as stale. Feel free to re open if this is still an issue.