如何安装pyzipcode?

时间:2016-06-26 18:53:58

标签: python anaconda sqlite

(1)我需要安装pyzipcode。但每当我执行命令 ForecastFragment它给出了

  

语法错误:调用'print'时缺少括号。

我正在使用Python3。我从http://pypi.python.org/pypi/pyzipcod下载了文件,但这也没有用。

(2)我尝试使用pip命令以及https://anaconda.org/search?q=pyzipcode

首先它问*是sphinx安装?如果没有尝试,conda install pyzipcode。然后它给了sudo easy_install sphinx而我已经安装了sphinx。

(3)然后我尝试使用Syntax error: Missing parenthesis in call to 'print'.进行安装 再次失败并发出错误:conda install -c aaron2 pyzipcode=0.4

有人请帮我解决pyzipcode安装问题吗?

1 个答案:

答案 0 :(得分:0)

错误package missing in current win-64 channels: pyzipcode 0.4"表示您在python 3中使用python 2.x安装。尝试卸载当前的Sphinx并从中重新安装 http://www.sphinx-doc.org/en/stable/install.html

如果使用Missing parenthesis in call to 'print'.,请使用pip,这是用于python 3.x

相关问题