Search code examples
pythonjupyter-notebooksqlalchemy

Why doesn't sqlalchemy_redshift work in my Jupyter?


I have a feeling it's not happy with the python version? But not sure how to change it. I went into the Kernel option and there is a venv there, but it's also 3.10

enter image description here


Solution

  • You can install using % instead ! like %pip install your_package

    Check this more details on difference between % and !

    ! calls out to a shell (in a new process), while % affects the process associated with the notebook (or the notebook itself; many % commands have no shell counterpart).