目前正在通过Eric Mathes提供的Python速成课程 无法按照this is the error I have been receiving第243页的要求从另一个文件导入模块 我不确定是否将ipynb更改为py,这是否与在edit: this is a screenshot of the jupyterlab with notebook open and the file directory
我使用JupyterLab,jupyter notebook,并尝试导入脚本。脚本位于notebook的目录中。ImportError: No module named 'irt_01_generate_sample_data'
另一方面:当我运行终端并导入脚本时,一切正常。我应该怎么做才能导入脚本?
之后,JupyterLab 3.0就没有打开。Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\notebook[C 18:23:27.370 LabApp] To access the notebook, open this file in a browser: file:///C:/Users/Alfonso/AppData/Roam