[IPython-dev] ipython fails to build on latest master

Matthias Bussonnier bussonniermatthias at gmail.com
Mon Oct 20 03:25:54 EDT 2014


Le 20 oct. 2014 à 09:16, Zoltán Vörös <zvoros at gmail.com> a écrit :

> Hi all,
> 
> 
> I have just checked out the latest code from github, and I end up with 
> the following error when trying to build ipython
> 
> 
> v923z at tux:ipython$ sudo python setup.py build
> running build
> running build_py
> running jsversion
> running css
> 
> Failed to build css sourcemaps: [Errno 2] No such file or directory
> checking package data
> Traceback (most recent call last):
>   File "setup.py", line 355, in <module>
>     main()
>   File "setup.py", line 351, in main
>     setup(**setup_args)
>   File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
>     self.run_command(cmd_name)
>   File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
>     self.distribution.run_command(command)
>   File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
>     cmd_obj.run()
>   File "/home/v923z/sandbox/ipython/git/ipython/setupbase.py", line 
> 734, in run
>     command.run(self)
>   File "/home/v923z/sandbox/ipython/git/ipython/setupbase.py", line 
> 227, in run
>     check_package_data(self.package_data)
>   File "/home/v923z/sandbox/ipython/git/ipython/setupbase.py", line 
> 217, in check_package_data
>     assert os.path.exists(path), "Missing package data: %s" % path
> AssertionError: Missing package data: 
> IPython/html/static/components/backbone/backbone-min.js


Try a $ git clone --recursive, 

otherwise try a $ python setup.py submodule

> 
> 
> Indeed, the components directory is empty. I then went on to remove my 
> ipython folder completely, and cloned the repository to the local 
> directory, but this issue doesn't seem to go away. Can someone comment 
> on this issue?
> 
> Thanks,
> 
> Zoltán
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list