1 Answer
- Newest
- Most votes
- Most comments
0
Hi - Thanks for reaching out. In the notebook can you please run
!which python and !echo $PATH
to determine the Python interpreter and path being used. Can you please also do the same in the terminal and compare the outputs?
Relevant content
- asked 3 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
Hi! So the kernels are the same, however the paths are in fact different. The notebook has the following paths that the terminal is missing:
/opt/amazon/bin:/tmp/miniconda3/condabin:/tmp/anaconda3/condabin:/tmp/miniconda2/condabin:/tmp/anaconda2/condabin:/tmp/mambaforge/condabin
I tried appending the above paths to the terminal system path, however I receive the same error. In fact, the above directories do not seem to exist within the terminal.