Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running pip install dex #43

Open
jafetmorales opened this issue Aug 22, 2018 · 2 comments
Open

Error when running pip install dex #43

jafetmorales opened this issue Aug 22, 2018 · 2 comments

Comments

@jafetmorales
Copy link

This is the output when running pip install dex

Collecting dex
  Downloading https://files.pythonhosted.org/packages/cd/f4/46dd14cd7787b66f69b02cb5771247eaf6078913a5dccbff0f0ce0825bdb/Dex-0.6.tar.gz
Requirement already satisfied: pymongo in c:\users\jmorales\appdata\roaming\python\python35\site-packages (from dex) (3.3.0)
Requirement already satisfied: pyyaml in c:\users\jmorales\appdata\local\programs\python\python35\lib\site-packages (from dex) (3.11)
Collecting dargparse>=0.2.2 (from dex)
  Downloading https://files.pythonhosted.org/packages/ab/7a/8e6b3985396e164f09f3bb626b52ec2c9b1c88dd9f4dffffd5a2316538d2/dargparse-0.2.5.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\jmorales\AppData\Local\Temp\pip-install-_y0ezmr8\dargparse\setup.py", line 31
        except Exception, ex:
                        ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\jmorales\AppData\Local\Temp\pip-install-_y0ezmr8\dargparse\

This is my setup:

Python version: 3.5
OS: Windows 10 Home
System Type: 64-bit Operating System, x64-based processor
Processor: AMD A10-8700P Radeon R6

@thawkins
Copy link

thawkins commented Jun 6, 2019

I belive dex only runs on python 2.7

@thawkins
Copy link

The error is discussed here, in python 2.6 and up you should use the keyword 'as' instead of the comma.

https://stackoverflow.com/questions/2535760/python-try-except-comma-vs-as-in-except

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants