For the first time using Jupyter encountered some problems, a simple record.
I use anaconda comes with jupyter notebook, directly in the terminal input
jupyter notebook
The page just pops up. Or you can install it with PIP.
default is open C disk directory, if you want to open C disk outside the path, you can open the required directory in the terminal, then open jupyter notebook, or directly after the command to add a path, such as:
jupyter notebook D:\xxx\xxx
Can.
When I was running the code, I encountered a ModuleNotFoundError: No module named ‘Keras’.
the solution is as follows:
1, enter the configured virtual environment in the terminal
activate keras
2. Execute the following command:
conda install nb_conda
3, after installation, then start the Jupyter Notebook, it is OK.
need to restart jupyter notebook after every environment update, as I do.
Reference: 1, https://zhuanlan.zhihu.com/p/29564719
2
3, https://www.bbsmax.com/A/A7zgNovPd4/, https://stackoverflow.com/questions/38221181/no-module-named-tensorflow-in-jupyter
Read More:
- ModuleNotFoundError: No module named ‘notebook‘
- AttributeError: module ‘keras.backend‘ has no attribute ‘eager‘
- Jenkins reported an error modulenotfounderror: no module named filename solution
- ModuleNotFoundError: No module named xxx
- Tensorflow operation report error modulenotfounderror: no module named ‘tensorflow. Python. Types’ solution
- ModuleNotFoundError: No module named ‘ahocorasick‘ [100% Work Method]
- [Solved] ModuleNotFoundError: No module named ‘win32api’
- Mmdet error modulenotfounderror: no module named ‘mmcv_ ext‘
- ModuleNotFoundError: No module named ‘tensorflow_core.estimator‘
- ModuleNotFoundError: No module named ‘tensorboardX‘
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- ModuleNotFoundError: No module named ‘MySQLdb‘
- ModuleNotFoundError: No module named ‘sklearn.datasets.samples_generator‘
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- ModuleNotFoundError: No module named ‘mmcv._ext
- ModuleNotFoundError: No module named ‘apt_pkg‘
- [Fixed]Error executing Jupyter command ‘notebook’: [Errno ‘jupyter-notebook’ not found] 2
- Error in testing keras
- Exception: jupyter command Jupiter notebook not found
- Keras Model AttributeError:’str‘ object has no attribute ’call‘