Windows上的“oursql”python库安装问题

时间:2017-01-26 16:19:06

标签: python

我正在尝试为基于烧瓶的项目安装oursql,我得到了与Cython相关的依赖性错误,但安装了Cython,我可以在shell中导入它。我已经升级了pip和virtualenv但是无法在Windows操作系统上安装我们的。如果有人可以建议一个解决方案,这将是一种解脱,我正试图找到一个方法来寻找Windows。以下是错误:

(genzconnect) C:\Users\AliKhan\connectspace\connectproject>pip3 install oursql
Collecting oursql
  Using cached oursql-0.9.3.2.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\AliKhan\AppData\Local\Temp\pip-build-5jo_6fot\oursql\setup
.py", line 53
        print "cython not found, using previously-cython'd .c file."
                                                                   ^
    SyntaxError: Missing parentheses in call to 'print'

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\AliKhan
\AppData\Local\Temp\pip-build-5jo_6fot\oursql\

0 个答案:

没有答案