@@ -137,10 +137,11 @@ def main(netpyne_branch, workspace_branch, geppetto_branch=None, skipNpm=False,
137137 execute (cmd = ['npm' , 'run' , 'build-dev' if development else 'build' ],
138138 cwd = os .path .join (DEPS_DIR , META_DIR , JUPYTER_DIR , 'js' ))
139139
140- execute (cmd = ['jupyter' , 'nbextension' , 'install' , '--py' , '--symlink' , '--force' , '--sys-prefix' , 'jupyter_geppetto' ])
141- execute (cmd = ['jupyter' , 'nbextension' , 'enable' , '--py' , '--sys-prefix' , '--force' , 'jupyter_geppetto' ])
142- execute (cmd = ['jupyter' , 'nbextension' , 'enable' , '--py' , '--sys-prefix' , '--force' , 'widgetsnbextension' ])
143- execute (cmd = ['jupyter' , 'serverextension' , 'enable' , '--py' , '--sys-prefix' , '--force' , 'jupyter_geppetto' ])
140+ execute (cmd = ['rm' , '-rf' , '/opt/conda/share/jupyter/nbextensions/jupyter_geppetto' ])
141+ execute (cmd = ['jupyter' , 'nbextension' , 'install' , '--py' , '--symlink' , '--sys-prefix' , 'jupyter_geppetto' ])
142+ execute (cmd = ['jupyter' , 'nbextension' , 'enable' , '--py' , '--sys-prefix' , 'jupyter_geppetto' ])
143+ execute (cmd = ['jupyter' , 'nbextension' , 'enable' , '--py' , '--sys-prefix' , 'widgetsnbextension' ])
144+ execute (cmd = ['jupyter' , 'serverextension' , 'enable' , '--py' , '--sys-prefix' , 'jupyter_geppetto' ])
144145
145146 # Set python console theme
146147 print ("Installing notebook theme" )
0 commit comments