所以我按照以下步骤安装了这个模块:
git clone https://github.com/makinacorpus/spynner.git
cd spynner
python setup.py install
我得到了这种错误,我没有任何线索可能是错误的。
进口斯皮纳
browser1 = spynner.Browser()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/spynner-1.11dev-py2.7.egg/spynner/browser.py", line 136, in __init__
self.jquery = open(os.path.join(directory, self._jquery)).read()
IOError: [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/spynner-1.11dev-py2.7.egg/spynner/javascript/jquery-1.5.2.js'