studio-lab-examples
studio-lab-examples copied to clipboard
Python interpreter not the same in notebook and in terminal
Describe the bug
The Python interpreter is not the same in the notebook and in the terminal.
In the notebook, it is /home/studio-lab-user/.conda/envs/default/bin/python, while in the terminal, it is /home/studio-lab-user/.conda/envs/studiolab/bin/python.
To Reproduce Steps to reproduce the behavior:
- type
!which pythonand run in a cell in some notebook - type
which pythonand hit enter in a terminal
Expected behavior The Python interpreter in the notebook and in the terminal should coincide. Otherwise, one has to install a package inside a notebook and also in the terminal.
Screenshots
Desktop (please complete the following information):
- OS: [win11]
- Browser [edge]
- Version [latest]
Additional context N/A
Dear @wenh06 , thank you for letting us know the issue. We have already recognized this issue and dealing with it.
https://github.com/aws/studio-lab-examples/issues/212
The work around is in https://github.com/aws/studio-lab-examples/issues/212
sorry , there is no work around in https://github.com/aws/studio-lab-examples/issues/212
Dear @Sandy4321 Here is the work around. https://github.com/aws/studio-lab-examples/issues/212#issuecomment-1518458661