找不到指定的程序,但是老是出错

次第如下:

源码:fromflaskimportFlaskapp=Flask(__name__)@app.route(‘/’)defhello_world():return’Hello,World!’报错:Traceback(mostrecentcalllast):File”D:/ProgramFiles/Me/Python/PyCharm/practice/pyqt/Ftest.py”,line4,inmodulefromflaskimportFlaskFile”D:ProgramFilesMePythonPyCharmpracticevenvlibsite-packagesflask__init__.py”,line21,inmodulefrom.appimportFlask,Request,ResponseFile”D:ProgramFilesMePythonPyCharmpracticevenvlibsite-packagesflaskapp.py”,line25,inmodulefrom.importcli,jsonFile”D:ProgramFilesMePythonPyCharmpracticevenvlibsite-packagesflaskcli.py”,line18,inmoduleimportsslFile”D:Anaconda3Libssl.py”,line98,inmoduleimport_ssl#ifwecan’timportit,lettheerrorpropagateImportError:DLLloadfailed:找不到钦命的次序。

图片 1

fromtkinterimport*fromtkinter.messageboximport*pics=[PhotoImage(file='F:\Python_study\practice\blacK01.gif'),PhotoImage(file='F:\Python_study\practice\white01.gif')]turn=0map=[[""foryinrange(15)]forxinrange(15)]root=Tk()root.title("五子棋v1.0")back=[]cv=Canvas(root,bg='green',width=610,height=610)drawQipan()cv.bind("Button-1",callback)cv.bind("Button-3",huiqi)cv.pack()root.mainloop()

本身在安顿pythondjango框架的时候开采只要importpandasaspd运转就报错如下内容:笔者将pandas注释运转符合规律求指导!!!File”manage.py”,line15,inmoduleexecute_from_command_line(sys.argv)File”D:Anaconda3libsite-packagesdjangocoremanagement__init__.py”,lineutility.execute()File”D:Anaconda3libsite-packagesdjangocoremanagement__init__.py”,lineself.fetch_command(subcommand).run_from_argv(self.argv)File”D:Anaconda3libsite-packagesdjangocoremanagementbase.py”,line323self.execute(*args,**cmd_options)File”D:Anaconda3libsite-packagesdjangocoremanagementcommandsrunserversuper().execute(*args,**options)File”D:Anaconda3libsite-packagesdjangocoremanagementbase.py”,line364output=self.handle(*args,**options)File”D:Anaconda3libsite-packagesdjangocoremanagementcommandsrunserverself.run(**options)File”D:Anaconda3libsite-packagesdjangocoremanagementcommandsrunserverautoreload.run_with_reloader(self.inner_run,**options)File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line598,instart_django(reloader,main_func,*args,**kwargs)File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line583,inreloader.run(django_main_thread)File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line301,inself.run_loop()File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line307,innext(ticker)File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line347,inforfilepath,mtimeinself.snapshot_files():File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line363,inforfileinself.watched_files():File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line262,inyieldfromiter_all_python_module_files()File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line103,inreturniter_modules_and_files(modules,frozenset(_error_files))File”D:Anaconda3libsite-packagesdjangoutilsautoreload.py”,line116,inifmodule.__name__==’__main__’:File”D:Anaconda3libsite-packagespy_apipkg.py”,line171,in__getattribureturngetattr(getmod(),name)File”D:Anaconda3libsite-packagespy_error.py”,line43,in__getattr__raiseAttributeError(name)AttributeError:__name__

报错如下:Traceback(mostrecentcalllast卡塔尔(英语:State of Qatar):File”F:/Python_study/practice/wuziqi.py”,line138,inmodulepics=[PhotoImage(file=’F:\Python_study\practice\blacK01.gif’),PhotoImage(file=’F:\Python_study\practice\white01.gif’)]File”D:Anacondalibtkinter__init__.py”,line3539,in__init__Image.__init__(self,’photo’,name,cnf,master,**kw)File”D:Anacondalibtkinter__init__.py”,line3483,in__init__raiseRuntimeError(‘Tooearlytocreateimage’卡塔尔(قطر‎RuntimeError:Tooearlytocreateimage求教怎么样校订呢??多谢大神的引导啊抱拳了