When importing Sklearn from Jupyter Notebook, the following error is reported
But I have installed it before; It does not report errors on the Python command line. Then Baidu checked the data, but did not find a similar situation. I print the path in Python and in IPython. I print the path in Python and I print the path in IPython.
But I have installed it before; It does not report errors on the Python command line. Then Baidu checked the data, but did not find a similar situation. I print the path in Python and in IPython. I print the path in Python and I print the path in IPython.
'D:\\python\\Anaconda3\\envs\\v2\\python35.zip',
'D:\\python\\Anaconda3\\envs\\v2\\DLLs',
'D:\\python\\Anaconda3\\envs\\v2\\lib',
'D:\\python\\Anaconda3\\envs\\v2',
'C:\\Users\\mtl\\AppData\\Roaming\\Python\\Python35\\site-packages',
'D:\\python\\Anaconda3\\envs\\v2\\lib\\site-packages'
Print out the path in IPython as follows:
'D:\\python\\Anaconda3\\envs\\v2\\python35.zip',
'D:\\python\\Anaconda3\\envs\\v2\\DLLs',
'D:\\python\\Anaconda3\\envs\\v2\\lib',
'D:\\python\\Anaconda3\\envs\\v2',
'C:\\Users\\mtl\\AppData\\Roaming\\Python\\Python35\\site-packages',
'D:\\python\\Anaconda3\\envs\\v2\\lib\\site-packages',
'D:\\python\\Anaconda3\\envs\\v2\\lib\\site-packages\\IPython\\extensions',
'C:\\Users\\mtl\\.ipython'
C:\\Users\ MTL \\.ipython: C:\\Users\ MTL \\.ipython: C:\\Users\\ MTL \\.ipython: C:\\Users\\ MTL \\
Summary: I think because the last folder is empty, the previous files will be flushed out, but I check the information: when looking for the module (model), it will follow the path to find, if found, it will jump out. This interpretation is in conflict here, but also hope to understand this part of the god together to resolve
Read More:
- A solution to the kernel error of Jupiter notebook in Anaconda under Windows 10
- Anaconda Jupiter notebook kernel error solution
- Exception: jupyter command Jupiter notebook not found
- Modify the default file location of the Jupiter notebook
- In idea, @ slf4j is used to report an error, but log is not found
- An import error is reported in the python. The solution to setting. Pylintrc is invalid
- Failed to import module __PyInstaller_hooks_0_IPython required by hook for module
- Registering in Windows10 regsvr32 xxx.ocx reported an error but the call to DIIRegisterServer failed with error code 0x80040200…
- Interrupt the kernel in Jupiter does not respond
- From in Python__ future__ The role of import *
- Solution of OpenCV library import error in Python 3
- 2019.11.14 Mac uses brew to report an error: parent directory is world writable but not sticky
- BUG——Could not resolve placeholder ‘xxx‘ in value ‘${xxx}‘
- In chome browser, console reports an error but does not display it
- When error: XXX does not name a type XXX is prompted in QT
- Error report and solution of import panda in Windows 10
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- Property xxx was accessed during render but is not defined on instance
- Encountered a problem — Python — Python 3 uses Sqlalchemy to report an error‘
- Incomplete and “the Jupiter” distribution was not found