0

I have installed sqlalchemy in venv. It works in VSCode but I need to use it in Jupyter Notebook and is not working. When I attempt to install it in the notebook a message is shown saying the requirement has already been satisfied. I have installed flask-sqlalchemy as I saw some people advised but this one is not recognized too. I have also restarted the kernel but it did not work.enter image description here

Yana
  • 785
  • 8
  • 23
  • I think your question is duplicate [this](https://stackoverflow.com/questions/43494172/no-module-named-sqlalchemy-after-having-just-installed-it-from-ipython-prompt) – S.Hashiba Oct 28 '20 at 08:24
  • I suppose it is, i did not see this one when I searched for an answer. But the proposed solution does not work for me. Do you have any other suggestion? – Yana Oct 28 '20 at 08:28

1 Answers1

0

I was able to finally run it but I had to install ipykernel in the virtual environment:

python -m pip install ipykernel
python -m ipykernel install --user
Yana
  • 785
  • 8
  • 23