Code Monkey home page Code Monkey logo

Comments (4)

craigcitro avatar craigcitro commented on May 21, 2024

First off, thanks for the outstanding bug report. πŸ‘

I can't seem to repro this issue -- I've got two notebooks open right now that are both set to py3+gpu, and forcing a restart of my backend (*) still gets me py3+gpu with both:

screen shot 2018-01-25 at 12 12 21 am

A few questions to try and dig a little more:

  • is it possible to share two notebooks that repro the issue with [email protected]?
  • just to confirm, how are you opening the second notebook? (eg from recent, directly navigating, something else completely?)

from colabtools.

lefant avatar lefant commented on May 21, 2024

So I tried reproducing it on a fresh VM with two notebooks starting from scratch and everything worked fine at first just like for you. Then I added some code I used in my full notebook to fetch dependencies and any copies I made after running that would get python version 2 again.

Basically the responsible code grabs a Pipfile and companion Pipfile.lock from https://github.com/lefant/dockerfiles-lefant/blob/master/python3-keras/ and then uses !pip3 install pipenv && pipenv install --three --deploy --system to install all the packages. I noticed now that these packages include ipython and jupyter, so that might be very relevant (originally I use that Pipfile to build a docker container that has its own jupyter server). I will try with only those / without those packages next, but first I have to wait until my VM goes away... ;)

notebook links (shared with [email protected] and available for public viewing):
https://colab.research.google.com/notebook#fileId=1IsB6qOqB7N18DwNYXEGzfkozKMTlRTDH
https://colab.research.google.com/notebook#fileId=1fzxvf5LP3RELfkE8cfxrRRbL2gliwCpG

from colabtools.

lefant avatar lefant commented on May 21, 2024

Once I stop installing jupyter, ipython and tensorflow from Pipfile everythings works fine on a fresh VM. I am not sure how exactly installing a custom version of jupyter and ipython messes things up, but then I do not have a use case for it, so I am closing this issue. Sorry for the noise.

from colabtools.

craigcitro avatar craigcitro commented on May 21, 2024

Thanks for digging through -- I'm betting what happened is that some step of the jupyter install overwrote the path for the python3 kernelspec.

from colabtools.

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.