2016-06-08 169 views
0
C:\Users\gaucho-ucsb>pip install tradingWithPython 
Collecting tradingWithPython 
Using cached tradingWithPython-3.1.0.0.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\gaucho~1\appdata\local\temp\pip-build-gshhyv\tradingWithPython\setup.py", line 3, in <module> 
    import tradingWithPython as twp 
    File "tradingWithPython\__init__.py", line 6, in <module> 
    from .lib import extra 
    File "tradingWithPython\lib\extra.py", line 20 
    print('\r', self, end='') 
         ^
SyntaxError: invalid syntax 

---------------------------------------- 
Command "python setup.py egg_info" failed with error code 1 in  
c:\users\gaucho~1\appdata\local\temp\pip-build-gshhyv\tradingWithPython\ 

我想安装包anaconda的包tradingWithPython,但我一直得到这个错误,我不知道。任何帮助将非常感谢。无法安装tradingWithPython到Anaconda

+0

你使用的是python2还是python3,并且模块兼容? – Merlin

+0

附带Anaconda环境的Python 2.7,但它在网站上说它应该为任何版本的python安装该软件包。 – user60887

回答

1

我刚刚与图书馆的作者交谈过,似乎与Python交易只能与Python3一起安装。它不再向后兼容。

我刚刚试过这个(因为我有同样的问题),它现在似乎工作。

+0

谢谢!这有帮助 – user60887