Giter Site home page Giter Site logo

Comments (3)

micah5 avatar micah5 commented on June 1, 2024

Just add

sudo -u ec2-user -i <<'EOF'

python -m ipykernel install --user --name python3 --display-name python3

EOF

to the lifecycle start script. It'll take the default python environment and add it as a new kernel called python3 (which is what jupyter is looking for by default).

from amazon-sagemaker-notebook-instance-lifecycle-config-samples.

dmlause avatar dmlause commented on June 1, 2024

Hi @sauravjoshi - your original comment is correct that you should modify the Jupyter config for your default kernel, however, you likely need to restart the Jupyter service itself, see https://github.com/aws-samples/amazon-sagemaker-notebook-instance-lifecycle-config-samples/blob/master/scripts/set-env-variable/on-start.sh#L27 for example.

Let us know if this resolves your issue, or if you still have an issue. If we don't hear back soon, I will close this issue for inactivity. Thanks!

from amazon-sagemaker-notebook-instance-lifecycle-config-samples.

sauravjoshi avatar sauravjoshi commented on June 1, 2024

Thanks for the comments.

from amazon-sagemaker-notebook-instance-lifecycle-config-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.