Pre Merge pull request !135 from gjl/master

pull/135/MERGE
gjl 2022-03-21 07:47:09 +00:00 committed by Gitee
commit 0264dcd929
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
1、Windows下运行myems-api服务需要安装依赖waitress命令是 pip install waitress;
2、运行服务命令waitress-serve --port=8000 app:api
3、可能遇到的问题在这卡了很久No module named 'fcntl'和No module named 'pwd'实际解决方法很简单在python目录的lib目录下新建fcntl.py和pwd.py,fcntl里内容如下pwd里空着就行
def fcntl(fd, op, arg=0):
return 0
def ioctl(fd, op, arg=0, mutable_flag=True):
if mutable_flag:
return 0
else:
return ""
def flock(fd, op):
return
def lockf(fd, operation, length=0, start=0, whence=0):
return