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

Error about Terminal and Notebook kernels #15

Closed
uysalserkan opened this issue Dec 9, 2021 · 1 comment
Closed

Error about Terminal and Notebook kernels #15

uysalserkan opened this issue Dec 9, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@uysalserkan
Copy link

Describe the bug
About python package installation error. When I install a package on terminal with pip command, I cannot reach that package on notebook.

To Reproduce
Steps to reproduce the behavior:

  1. Open a notebook and a terminal.
  2. Go to terminal and install a package with pip or pip3.
  3. Switch tab and try to import that installed package.

Expected behavior
Success import installed package which are installed on terminal.

Desktop (please complete the following information):

  • OS: Ubuntu 21.10
  • Browser Chrome
  • Version Version 96.0.4664.45 (Official Build) (64-bit)

Others
Temp. solutions is install all packages with notebook commands like !pip3 install spacy.

@uysalserkan uysalserkan added the bug Something isn't working label Dec 9, 2021
@EmilyWebber
Copy link
Contributor

Hi - per our FAQ's you can install into the kernel using the % sign, rather than the !.

https://studiolab.sagemaker.aws/faq

Alternatively, you can define a conda environment via yml, then build this with your terminal, and select it as the kernel when you open your notebook. I've tested spacy installs with %pip install spacy and import spacy, both of which work on my end.

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

2 participants