Skip to content

Instantly share code, notes, and snippets.

@Endle
Created March 19, 2015 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Endle/a1a81316e3bee865d4b3 to your computer and use it in GitHub Desktop.
Save Endle/a1a81316e3bee865d4b3 to your computer and use it in GitHub Desktop.
SageMath
0. Create a project
1.
git clone https://github.com/the-virtual-brain/tvb-library
git clone https://github.com/the-virtual-brain/tvb-data
2. In the webpage <https://cloud.sagemath.com/projects/f17095cb-9e19-4f80-84a1-c235978d4d50/files/tvb-library/tvb/simulator/doc/tutorials/Tutorial_Region_Stimuli/>
Choose Tutorial_Region_Stimuli.ipynb
3. Change
---
%pylab inline
---
into
---
%pylab inline
import sys
sys.append('tvb-library')
sys.append('tvb-data')
---
4. run the code, got
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-1-1f01085cbee1> in <module>()
1 get_ipython().magic(u'pylab inline')
2 import sys
----> 3 sys.append('tvb-library')
4 sys.append('tvb-data')
AttributeError: 'module' object has no attribute 'append'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment