无法将 tradingWithPython 安装到 Anaconda 中

cannot install tradingWithPython into Anaconda

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\

我正在尝试将包 tradingWithPython 安装到 anaconda 中,但我一直收到这个我无法弄清楚的错误。任何帮助都将非常感谢。

我刚和图书馆的作者谈过,似乎 tradingwithPython 只能安装 Python3。它不再向后兼容。

我刚刚试过了(因为我遇到了同样的问题),现在似乎可以用了。