`
Sev7en_jun
  • 浏览: 1213324 次
  • 性别: Icon_minigender_1
  • 来自: 广州
博客专栏
84184fc0-d0b6-3f7f-a3f0-4202acb3caf5
Apache CXF使用s...
浏览量:109927
社区版块
存档分类
最新评论

解决安装 splinter 错误: No such file or directory: 'README.rst'

阅读更多

环境win7

 

D:\>python D:/splinter-0.5.4/setup.py install

 

Traceback (most recent call last):
  File "D:/splinter-0.5.4/setup.py", line 11, in <module>
    README = codecs.open('README.rst', encoding='utf-8').read()
  File "C:\Python27\lib\codecs.py", line 881, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: 'README.rst'

 

 

 

 

从上面可看出我的splinter setup.py在D盘的splinter-0.5.4文件下

如果直接用 python D:/splinter-0.5.4/setup.py install 进行安装就会出上面的错误

 

 

解决方法:

通过命令进入D:/splinter-0.5.4/ 在执行命令python setup.py install即可

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics