bitfinex icon indicating copy to clipboard operation
bitfinex copied to clipboard

Can't install in Python 3 environment

Open lromanov opened this issue 9 years ago • 3 comments

Hi, I'm getting trouble installing you library with python 3. I run pip install -r requirements.txt and get an error as follows:

...
Collecting wsgiref==0.1.2 (from -r requirements.txt (line 3))
  Downloading wsgiref-0.1.2.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\<username>\AppData\Local\Temp\pip-build-ewuhpyz5\wsgiref\setup.py", line 5, in <module>
        import ez_setup
      File "C:\Users\<username>\AppData\Local\Temp\pip-build-ewuhpyz5\wsgiref\ez_setup\__init__.py", line 170
        print "Setuptools version",version,"or greater has been installed."
                                 ^
    SyntaxError: Missing parentheses in call to 'print'

It seems the wsgiref dependency is written in python 2. How could I use your lib in python 3 then?

lromanov avatar May 13 '17 15:05 lromanov

I'm rusty on my own library, but I believe this is Python 2 only. Do you happen to know @BenedictThompson?

dawsbot avatar May 14 '17 19:05 dawsbot

No, I don't, why? I suppose it would be cool if you put it to the readme file that it's for Python 2 only if it's really so.

lromanov avatar May 14 '17 19:05 lromanov

See #10 #9

BenedictThompson-zz avatar May 14 '17 20:05 BenedictThompson-zz