论坛首页 综合技术论坛

No such file or directory: 'README.rst'

浏览 3558 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2013-12-26  

环境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