简体   繁体   English

如何为Python安装yql模块?

[英]How to install yql module for Python?

I'm trying to use yql from python using "import yql". 我正在尝试使用“ import yql”从python使用yql。 But installing yql is failed like bellow: 但是安装yql失败如下:

$ sudo easy_install yql
Password:
Searching for yql
Reading https://pypi.python.org/simple/yql/
Couldn't find index page for 'yql' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for yql
error: Could not find suitable distribution for Requirement.parse('yql')
$ 

So please let me know how to install yql? 所以请让我知道如何安装yql?

Mac OS: mavericks Python 2.7.9 Mac OS:特立独行的Python 2.7.9

Thank you in advance. 先感谢您。

Jun

I am guessing you are reffering to yql-finance ( https://pypi.python.org/pypi/yql-finance ) 我猜你正在屈服于yql-finance( https://pypi.python.org/pypi/yql-finance

You could try installing it with pip. 您可以尝试使用pip安装它。

sudo pip install yql-finance

note that you can also search when in doubt for the package name. 请注意,如有疑问,您也可以搜索软件包名称。

pip search yql

i just released a YQL Python Wrapper a couple days ago. 我几天前刚刚发布了YQL Python包装器。 Here are 这是

If all you want is to use Yahoo Fantasy Sport you can check Yahoo_Roster 如果您只想使用Yahoo Fantasy Sport ,则可以检查Yahoo_Roster

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM