python - ImportError: cannot import name ScopedSession
伊谢尔伦
伊谢尔伦 2017-04-18 10:32:42
0
1
677

返回的错误如下

runfile('E:/下载/pygrid-master/pygrid-master/mainform.py', wdir='E:/下载/pygrid-master/pygrid-master')
Traceback (most recent call last):

  File "<ipython-input-1-86a44a5ce015>", line 1, in <module>
    runfile('E:/下载/pygrid-master/pygrid-master/mainform.py', wdir='E:/下载/pygrid-master/pygrid-master')

  File "D:\Users\Administrator\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile
    execfile(filename, namespace)

  File "D:\Users\Administrator\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile
    exec(compile(scripttext, filename, 'exec'), glob, loc)

  File "E:/下载/pygrid-master/pygrid-master/mainform.py", line 14, in <module>

  File "records.py", line 6, in <module>
    from elixir import *

  File "D:\Users\Administrator\Anaconda2\lib\site-packages\elixir\__init__.py", line 29, in <module>
    from elixir.entity import Entity, EntityBase, EntityMeta, EntityDescriptor, \

  File "D:\Users\Administrator\Anaconda2\lib\site-packages\elixir\entity.py", line 17, in <module>
    from sqlalchemy.orm import MapperExtension, mapper, object_session, \

ImportError: cannot import name ScopedSession

刚开始提示我没装elixir,等我装了以后又提示这个错误,请问问题到底出在哪了?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

모든 응답(1)
巴扎黑

http://stackoverflow.com/ques...

최신 다운로드
더>
웹 효과
웹사이트 소스 코드
웹사이트 자료
프론트엔드 템플릿