Python Forum
Problem: Restart kernel onPydev console when trying to install a python package - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Problem: Restart kernel onPydev console when trying to install a python package (/thread-31158.html)



Problem: Restart kernel onPydev console when trying to install a python package - poppy2020 - Nov-25-2020

Hi I am using Pycharm to work on my data. The console has the following details: Python 3.7.9 on win32 IPython 7.19.0 PyDev console: using IPython 7.19.0

My problem is everytime I want to install a python package such as: pip install pyspellchecker

I obtain the following error: Note: you may need to restart the kernel to use updated packages.

I have clicked on the "rerun" button (in green) which is on the top left handside of the Python console but still does not work.

Can anyone help?


RE: Problem: Restart kernel onPydev console when trying to install a python package - Larz60+ - Nov-25-2020

you should never have to restart the kernel when installing packages with pip

pip must be run from terminal window (command window on windows)
not from python interpreter.