1

So for the first problem in my life I have this problem. I activate my venv through:

source venv/bin/activate

I then install jupyter with

pip install jupyter

Now when in a notebook and I do

sys.executable

I get

./bin/python3

But this is not my environemnt! When I enter python through terminal and do the same I get:

/home/user/.../venv/bin/python3

Additionally, I'm missing all my libraries and stuff...

M Z
  • 4,571
  • 2
  • 13
  • 27
Light
  • 31
  • 3
  • can you show how you're starting up your jupyter notebook? Also, what does `os.getcwd()` show? – M Z Apr 28 '23 at 22:38
  • 1
    Did you search for this? This is a common question. https://janakiev.com/blog/jupyter-virtual-envs/ – Tim Roberts Apr 28 '23 at 22:46

0 Answers0