python - ImportError: cannot import name ScopedSession
問(wèn)題描述
返回的錯(cuò)誤如下
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
剛開始提示我沒(méi)裝elixir,等我裝了以后又提示這個(gè)錯(cuò)誤,請(qǐng)問(wèn)問(wèn)題到底出在哪了?
問(wèn)題解答
回答1:http://stackoverflow.com/ques...
相關(guān)文章:
1. PHPExcel表格導(dǎo)入數(shù)據(jù)庫(kù)怎么導(dǎo)入2. 預(yù)訂金和尾款分別支付3. thinkphp6使用驗(yàn)證器 信息如何輸出到前端頁(yè)面4. macos - 無(wú)法source activate python275. python - 調(diào)用api輸出頁(yè)面,會(huì)有標(biāo)簽出現(xiàn),請(qǐng)問(wèn)如何清掉?6. 運(yùn)行python程序時(shí)出現(xiàn)“應(yīng)用程序發(fā)生異常”的內(nèi)存錯(cuò)誤?7. python - sqlalchemy更新數(shù)據(jù)報(bào)錯(cuò)8. 我在導(dǎo)入模板資源時(shí)遇到無(wú)法顯示的問(wèn)題,請(qǐng)老師解答下9. empty比isset更嚴(yán)格一點(diǎn)10. javascript - h5微信中怎么禁止橫屏

網(wǎng)公網(wǎng)安備