python - ImportError: cannot import name ScopedSession
问题描述
返回的错误如下
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:UsersAdministratorAnaconda2libsite-packagesspyderlibwidgetsexternalshellsitecustomize.py', line 699, in runfile execfile(filename, namespace) File 'D:UsersAdministratorAnaconda2libsite-packagesspyderlibwidgetsexternalshellsitecustomize.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:UsersAdministratorAnaconda2libsite-packageselixir__init__.py', line 29, in <module> from elixir.entity import Entity, EntityBase, EntityMeta, EntityDescriptor, File 'D:UsersAdministratorAnaconda2libsite-packageselixirentity.py', line 17, in <module> from sqlalchemy.orm import MapperExtension, mapper, object_session, ImportError: cannot import name ScopedSession
刚开始提示我没装elixir,等我装了以后又提示这个错误,请问问题到底出在哪了?
问题解答
回答1:http://stackoverflow.com/ques...
相关文章:
1. 关docker hub上有些镜像的tag被标记““This image has vulnerabilities””2. docker容器呢SSH为什么连不通呢?3. 关于docker下的nginx压力测试4. 为什么我ping不通我的docker容器呢???5. docker镜像push报错6. 在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!7. docker images显示的镜像过多,狗眼被亮瞎了,怎么办?8. docker - 如何修改运行中容器的配置9. mac里的docker如何命令行开启呢?10. debian - docker依赖的aufs-tools源码哪里可以找到啊?