<p>我对python完全陌生,刚刚安装了python3.6.1。我正在尝试运行一个从雅虎下载股票行情的脚本,我是从<a href="https://pypi.python.org/pypi/Yahoo-ticker-downloader" rel="nofollow noreferrer">https://pypi.python.org/pypi/Yahoo-ticker-downloader</a>下载的</p>
<p>但是当我运行它时,我得到了以下错误。在</p>
<pre><code>Traceback (most recent call last):
File "C:\Users\Me\Documents\Yahoo-ticker-downloader-1.0.0\Yahoo-ticker-downloader-1.0.0\YahooTickerDownloader.py", line 8, in <module>
from ytd.downloader.StockDownloader import StockDownloader
File "C:\Users\Me\Documents\Yahoo-ticker-downloader-1.0.0\Yahoo-ticker-downloader-1.0.0\ytd\downloader\StockDownloader.py", line 1, in <module>
from ..SymbolDownloader import SymbolDownloader
File "C:\Users\Me\Documents\Yahoo-ticker-downloader-1.0.0\Yahoo-ticker-downloader-1.0.0\ytd\SymbolDownloader.py", line 1, in <module>
import requests
ModuleNotFoundError: No module named 'requests'
</code></pre>
<p>有人能帮我解决这个问题吗?在</p>