Skip to main content

All Questions

-1 votes
1 answer
2k views

Visual Studio Code - How to set (missing) Python kernel - Jupyter Notebook

Background I am on macOS 12.6.1 I installed pyenv via homebrew I installed 3.10.7 via pyenv pyenv install 3.10.7 I set 3.10.7 to global with pyenv global 3.10.7 I have installed ipykernel with `pip ...
6135105654's user avatar
0 votes
2 answers
299 views

Jupyter Save Hook not working after reinstalling python+pyenv

I use a jupyter save hook to convert my notebooks into different formats which is defined in /Users/corrie/.jupyter/jupyter_notebook_config.py. This was all working fine until I recently reinstalled ...
Corrie's user avatar
  • 11
0 votes
1 answer
697 views

Jupiter notebook doesn't find libraries from the virtual env

I created a Pyenv virtual env. After activating the env, I download libraries like pandas into it. However, when I open a jupyter notebook from the same environment's terminal, pandas is not found ...
x89's user avatar
  • 3,500
1 vote
0 answers
485 views

Jupyter Notebook Kernel Disregards Kernelspec

On a MacOS Big Sur (11.6.2), I have a global Jupyter instance (version 6.4.6) installed in an isolated pyenv virtual environment, using Python 3.10.0. Using my normal workflow, I created a new virtual ...
Umair Ishaq's user avatar
1 vote
1 answer
174 views

Error loading Jupyter Notebook from a child directory

Since I have updated to macOS Big Sur (I have managed to fix all of the Python issues that Big Sur created on my computer. This article is helpful for that), I've been unable to open the Jupyter ...
Michael Gomes Vieira's user avatar
2 votes
0 answers
498 views

Creating isolated Jupyter ipython kernels with pyenv: No module ipykernel_launcher found

I've spent hours scouring the internet for a fix but I'm still unable to find a solution to my problem. I've created a virtual env named "playground" using pyenv and installed ipykernel ...
GeekRome's user avatar
1 vote
1 answer
697 views

Unable to connect to kernel while using Jupyter notebook on VS Code, because of Google Colab. it is uninstalled, but still fails to connect to kernel

I have an issue similar to this post: pip installed google.colab and now unable to run code on Jupyter notebook Same as him, I installed google.colab using pip install google.colab in the terminal of ...
yts61's user avatar
  • 1,629
1 vote
0 answers
126 views

Standalone Jupyter install - Pandas, tabnine not found, installed to wrong directory

I have installed Python 3.9.0 using pyenv. I want to avoid anaconda. I have installed jupyter using pip3. Here are my paths. ❯ pyenv --version pyenv 1.2.21 ❯ pyenv which python /Users/np/.pyenv/...
capnahab's user avatar
  • 363
4 votes
1 answer
13k views

pyenv command not found - Jupyter notebook

I already referred to this related post I am currently using a jupyter notebook in my server (where I don't have sudo access) which has python 2.7 kernel. However, I would like to add Python >= 3.5 ...
The Great's user avatar
  • 7,753
1 vote
0 answers
322 views

How to reconfigure jupyter notebook and pyenv so that kernel is found after changing the username?

My username was changed and all the required permissions were applied. From aviralsrivastava, it is now aviral.s. Now that I am running the notebook, it is unable to use the Python3 kernel. I tried ...
Aviral Srivastava's user avatar
0 votes
1 answer
392 views

IPython startup script has permanently changed Jupyter Notebooks behaviour

I followed a guide about setting up a pyenv workflow, it includes an IPython Startup Script that modifies the PYTHONPATH when using Jupyter. Now I don't want to use pyenv, but even after uninstalling ...
nuutrino's user avatar
  • 141
1 vote
2 answers
6k views

jupyter with multiple version of python 3 (3.6 and 3.7) choosing the wrong site-packages

I have been banging my head at my desk for 3 days now and I am not sure what to do about this issue, so please if you have any idea of what is going on let me know. Issue: When I am running a ...
collection.of.n's user avatar
-1 votes
2 answers
592 views

No module named 'sklearn' error, though pip or pip3 both show sklearn is installed

I've played a bit today with pyenv trying to install a certain python version as well as sklearn for data science use, but it appears I've broken it - I cannot import sklearn, though when I tried to ...
user2579376's user avatar
4 votes
1 answer
5k views

pipenv + pyenv + jupyter

I use pyenv to install and manage both different versions of python and virtual environments for various projects on my system. But pipenv is the recommended tool for managing virtual environments ...
Paul Siegel's user avatar
  • 1,411
12 votes
4 answers
15k views

jupyter not using version set by pyenv

So this all worked perfect on a different machine. Have had to get it to work on my desktop. pyenv is installed there with different versions I just added miniconda3-latest which displays nicely in ...
cardamom's user avatar
  • 7,461