Home>
pip install seaborn
And the following message appeared after the installation was completed.
Note: you may need to restart the kernel to use updated packages.
When I try to import seaborn after that, I get the following error and cannot import.
Traceback (most recent call last):
File "/Users/hogehoge/anaconda3/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3325, in run_code
exec (code_obj, self.user_global_ns, self.user_ns)
File "
import seaborn as sns
File "/Users/hogehoge/python/seaborn.py", line 8
pip install seaborn
^
SyntaxError: invalid syntax
What exactly should a kernel update do?
not know what to do for beginners, I hope you can tell me.
-
Answer # 1
Related articles
- python - using tensorflow with jupyter, kernel crashes when cnn model fit
- python - using tensorflow with jupyter, kernel crashes when cnn model fit
- [python] unable to use packages installed with wsl
- python - unable to import packages installed in virtual environment with anaconda
- python - what to do if the jupiter notebook says the kernel appears to have died it will restart automatically
- python - i want to know the cause of the error that occurs when kernel density estimation is performed with high-dimensional dat
Related questions
- python : PyAutoGui is not installed
- Can't install anything with PIP (python)
- Unable to download scipy for python to raspberry pi
- Error in Pip installation: "python setup.py egg_info" failed with error code 1
- python : "Pyinstaller" is not an internal or external command, executable program or batch file
- How to install python-levenshtein correctly
- python : Error installing pyinstaller via pip
- python : Why is kivy not installing?
- python : Problem installing pytelegrambotapi module
- python : I get an error when running pip Install
This message is not a kernel update.
I think it means that you need to restart the kernel to use the updated package (here seaborn).
Is the environment in question a Jupyter Notebook?
Then, is there an item such as [Kernel]-[Restart] on the upper toolbar?
Click it if you have one.
I'm sorry that the environment was different.
If you describe the environment where the problem is a little more, the tools you are using and their versions, other people may be able to answer.