Skip to content

Instantly share code, notes, and snippets.

@darshanime
Created August 21, 2015 10:45
Show Gist options
  • Save darshanime/f94d2b8f4dbe1c49dc3e to your computer and use it in GitHub Desktop.
Save darshanime/f94d2b8f4dbe1c49dc3e to your computer and use it in GitHub Desktop.
Error on running setup.py for Jupyter Notebook
Obtaining file:///home/radar/projects/notebook
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): tornado>=4 in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): ipython-genutils in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): traitlets in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): jupyter-core in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): jupyter-client in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): nbformat in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): nbconvert in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): ipykernel in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): terminado>=0.3.3 in /home/radar/anaconda/lib/python2.7/site-packages (from notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): decorator in /home/radar/anaconda/lib/python2.7/site-packages (from traitlets->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): pyzmq>=13 in /home/radar/anaconda/lib/python2.7/site-packages (from jupyter-client->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): jsonschema!=2.5.0,>=2.0 in /home/radar/anaconda/lib/python2.7/site-packages (from nbformat->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): pygments in /home/radar/anaconda/lib/python2.7/site-packages (from nbconvert->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): mistune!=0.6 in /home/radar/anaconda/lib/python2.7/site-packages (from nbconvert->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): ipython>=4.0.0 in /home/radar/anaconda/lib/python2.7/site-packages (from ipykernel->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): ptyprocess in /home/radar/anaconda/lib/python2.7/site-packages (from terminado>=0.3.3->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): functools32 in /home/radar/anaconda/lib/python2.7/site-packages (from jsonschema!=2.5.0,>=2.0->nbformat->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): simplegeneric>0.8 in /home/radar/anaconda/lib/python2.7/site-packages (from ipython>=4.0.0->ipykernel->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): pexpect in /home/radar/anaconda/lib/python2.7/site-packages (from ipython>=4.0.0->ipykernel->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): pickleshare in /home/radar/anaconda/lib/python2.7/site-packages (from ipython>=4.0.0->ipykernel->notebook==4.1.0.dev0)
Requirement already satisfied (use --upgrade to upgrade): path.py in /home/radar/anaconda/lib/python2.7/site-packages (from pickleshare->ipython>=4.0.0->ipykernel->notebook==4.1.0.dev0)
Installing collected packages: notebook
Running setup.py develop for notebook
Complete output from command /home/radar/anaconda/bin/python -c "import setuptools, tokenize; __file__='/home/radar/projects/notebook/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps:
/home/radar/anaconda/lib/python2.7/site-packages/setuptools/dist.py:285: UserWarning: Normalizing '4.1.0.dev' to '4.1.0.dev0'
normalized_version,
running develop
running jsversion
running css
running jsdeps
bower install --allow-root --config.interactive=false
bower backbone#~1.2 cached git://github.com/components/backbone.git#1.2.0
bower backbone#~1.2 validate 1.2.0 against git://github.com/components/backbone.git#~1.2
bower bootstrap#~3.3 cached git://github.com/components/bootstrap.git#3.3.5
bower bootstrap#~3.3 validate 3.3.5 against git://github.com/components/bootstrap.git#~3.3
bower font-awesome#~4.2.0 cached git://github.com/components/font-awesome.git#4.2.0
bower font-awesome#~4.2.0 validate 4.2.0 against git://github.com/components/font-awesome.git#~4.2.0
bower jquery#~2.0 cached git://github.com/components/jquery.git#2.0.3
bower jquery#~2.0 validate 2.0.3 against git://github.com/components/jquery.git#~2.0
bower jquery-ui#~1.10 cached git://github.com/components/jqueryui.git#1.10.4
bower jquery-ui#~1.10 validate 1.10.4 against git://github.com/components/jqueryui.git#~1.10
bower MathJax#~2.5 cached git://github.com/components/MathJax.git#2.5.3
bower MathJax#~2.5 validate 2.5.3 against git://github.com/components/MathJax.git#~2.5
bower term.js#~0.0.4 cached git://github.com/chjj/term.js.git#0.0.6
bower term.js#~0.0.4 validate 0.0.6 against git://github.com/chjj/term.js.git#~0.0.4
bower underscore#~1.5 cached git://github.com/components/underscore.git#1.5.2
bower underscore#~1.5 validate 1.5.2 against git://github.com/components/underscore.git#~1.5
bower bootstrap-tour#0.9.0 cached git://github.com/sorich87/bootstrap-tour.git#0.9.0
bower bootstrap-tour#0.9.0 validate 0.9.0 against git://github.com/sorich87/bootstrap-tour.git#0.9.0
bower codemirror#~5.5 cached git://github.com/marijnh/CodeMirror.git#5.5.0
bower codemirror#~5.5 validate 5.5.0 against git://github.com/marijnh/CodeMirror.git#~5.5
bower es6-promise#~1.0 cached git://github.com/components/es6-promise.git#1.0.0
bower es6-promise#~1.0 validate 1.0.0 against git://github.com/components/es6-promise.git#~1.0
bower google-caja#5669 cached git://github.com/minrk/google-caja-bower.git#5669.0.0
bower google-caja#5669 validate 5669.0.0 against git://github.com/minrk/google-caja-bower.git#5669
bower marked#~0.3 cached git://github.com/chjj/marked.git#0.3.5
bower marked#~0.3 validate 0.3.5 against git://github.com/chjj/marked.git#~0.3
bower moment#~2.8.4 cached git://github.com/moment/moment.git#2.8.4
bower moment#~2.8.4 validate 2.8.4 against git://github.com/moment/moment.git#~2.8.4
bower requirejs#~2.1 cached git://github.com/jrburke/requirejs-bower.git#2.1.20
bower requirejs#~2.1 validate 2.1.20 against git://github.com/jrburke/requirejs-bower.git#~2.1
bower text-encoding#~0.1 cached git://github.com/inexorabletash/text-encoding.git#0.1.0
bower text-encoding#~0.1 validate 0.1.0 against git://github.com/inexorabletash/text-encoding.git#~0.1
bower jquery-typeahead#~2.0.0 cached git://github.com/running-coder/jquery-typeahead.git#2.0.0
bower jquery-typeahead#~2.0.0 validate 2.0.0 against git://github.com/running-coder/jquery-typeahead.git#~2.0.0
bower bootstrap#>=2.3.2 cached git://github.com/twbs/bootstrap.git#3.3.5
bower bootstrap#>=2.3.2 validate 3.3.5 against git://github.com/twbs/bootstrap.git#>=2.3.2
bower font-awesome#~4.2.0 ECMDERR Failed to execute "git ls-remote --tags --heads git://github.com/components/font-awesome.git", exit code of #128 fatal: unable to connect to github.com: github.com[0: 192.30.252.128]: errno=Connection timed out
Additional error details:
fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection timed out
rebuilding js and css failed. The following required files are missing: ['notebook/static/components', 'notebook/static/notebook/js/main.min.js', 'notebook/static/tree/js/main.min.js', 'notebook/static/edit/js/main.min.js', 'notebook/static/terminal/js/main.min.js', 'notebook/static/auth/js/main.min.js', 'notebook/static/style/ipython.min.css', 'notebook/static/style/style.min.css']
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/radar/projects/notebook/setup.py", line 198, in <module>
main()
File "/home/radar/projects/notebook/setup.py", line 195, in main
setup(**setup_args)
File "/home/radar/anaconda/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/home/radar/anaconda/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/home/radar/anaconda/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "setupbase.py", line 530, in run
raise e
subprocess.CalledProcessError: Command '['bower', 'install', '--allow-root', '--config.interactive=false']' returned non-zero exit status 1
----------------------------------------
Command "/home/radar/anaconda/bin/python -c "import setuptools, tokenize; __file__='/home/radar/projects/notebook/setup.py'; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/radar/projects/notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment