Windows7: pip install bpython ,'ImportError: No module named fcntl'错误解决

问题 1 pip install bpython 在Mac安装没有什么问题, 一旦到了Windows就出现报错: from fcntl import ioctlImportError: No module named fcntl 解决

问题 1

pip install bpython 在Mac安装没有什么问题, 一旦到了Windows就出现报错:

    from fcntl import ioctl
ImportError: No module named fcntl
解决:

新建一个: fcntl.py文件, 将其存放Python的安装目录: C:\Python27\Lib 下.

该文件里面代码为:

def fcntl(fd, op, arg=0):
    return 0

def ioctl

发布者:admin,转转请注明出处:http://www.yc00.com/web/1740804808a4256193.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信