问题 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
问题 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