Giter Site home page Giter Site logo

Comments (4)

antonelepfl avatar antonelepfl commented on June 28, 2024

@wvangeit
If we put the pip install and the import of the submission widget on the very top of the notebook (before !pip install -q bluepyopt==1.5.12 matplotlib==2.0.2 numpy==1.13.0)
And then in the end we just call the widget the error disappears.
Could you change that please?

from mooc-neurons-and-synapses-2017.

wvangeit avatar wvangeit commented on June 28, 2024

ok, interesting .... will have a look

from mooc-neurons-and-synapses-2017.

wvangeit avatar wvangeit commented on June 28, 2024

Do we know 'why' this happens ?
Not sure we should try to fix it before we know it won't affect other things

from mooc-neurons-and-synapses-2017.

wvangeit avatar wvangeit commented on June 28, 2024

Ok, we figured out why this happens. For future reference, the 'import neuron' statement sets the PYTHONHOME variable, and this messes up the pip / virtualenv in the collab.
To solve this, one should run:

import os
os.unsetenv('PYTHONHOME')

before every pip (or after importing neuron)

from mooc-neurons-and-synapses-2017.

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.