Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python interpreter not the same in notebook and in terminal #218

Open
wenh06 opened this issue May 25, 2023 · 4 comments
Open

Python interpreter not the same in notebook and in terminal #218

wenh06 opened this issue May 25, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@wenh06
Copy link

wenh06 commented May 25, 2023

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:

  1. type !which python and run in a cell in some notebook
  2. type which python and 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

image

image

Desktop (please complete the following information):

  • OS: [win11]
  • Browser [edge]
  • Version [latest]

Additional context
N/A

@wenh06 wenh06 added the bug Something isn't working label May 25, 2023
@icoxfog417
Copy link
Contributor

Dear @wenh06 , thank you for letting us know the issue. We have already recognized this issue and dealing with it.

#212

@MicheleMonclova
Copy link

The work around is in #212

@Sandy4321
Copy link

sorry , there is no work around in #212

@icoxfog417
Copy link
Contributor

Dear @Sandy4321
Here is the work around.
#212 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants