pyenv virtualenv bug (python 3.7.7)pyenv activate bugpip install ipykernel#%%
import math
bug environmentRunning the cell first hangs ("Connecting to kernel"), then gives an error:
Unable to start session for kernel Python 3.7.7 64-bit ('bug': venv). Select another kernel to launch with.
The cell should run.
When I select an old environment, everything does seem to work! I can run everything with existing environments, however, if I create a new one (and restart vscode), it does not seem to work. I Included this in the logs. Around line 304 I switch to the rdv environment which I've had for a long time, where everything seems to work fine. I can't figure out where exactly the bug environment fails.
_Please provide as much info as you readily know_
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl
Hey @kvhooreb . Thanks for reporting. This is a duplicate of microsoft/vscode-python#13701 so I'm going to close this issue down. I've posted a workaround in that issue that you could try to see if it unblocks things.
Most helpful comment
Hey @kvhooreb . Thanks for reporting. This is a duplicate of microsoft/vscode-python#13701 so I'm going to close this issue down. I've posted a workaround in that issue that you could try to see if it unblocks things.