[Sugar-devel] Help needed to set up the Sugar development environment

Rohan Saxena saxenarohan97 at gmail.com
Thu Feb 25 07:59:38 EST 2016


Hello,
My name is Rohan Saxena and I am an undergraduate student of Computer
Science at BITS Pilani. I am interested in contributing to Sugar Labs.

To set up the development environment, I am following the guide given here:
https://developer.sugarlabs.org/dev-environment.md.html. I was successfully
able to clone the sugar repository on my machine. But when I tried to use
the command ./osbuild pull, I got an error, the details of which are given
at the end of this mail. I Googled this and found that a few other people
running Ubuntu (which is what I'm running) reported the same error, but I
could not find a suitable solution.

I was hoping someone might be able to throw light on this topic.

Thanks in advance,
Rohan Saxena.

Details of the error:

= Setup the host build system =

* Create the python virtualenv
Traceback (most recent call last):
  File
"/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py",
line 2338, in <module>
    main()
  File
"/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py",
line 824, in main
    symlink=options.symlink)
  File
"/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py",
line 992, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File
"/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py",
line 960, in install_wheel
    'PIP_NO_INDEX': '1'
  File
"/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py",
line 902, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/rohansaxena/su...nstall/bin/python2.7 -c "import
sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error
code 1
Traceback (most recent call last):
  File "./osbuild", line 503, in <module>
    if not main():
  File "./osbuild", line 482, in main
    if not setup(options.command):
  File "./osbuild", line 322, in setup
    raise e
subprocess.CalledProcessError: Command '['python2.7',
'/home/rohansaxena/sugar-build/build/out/sandbox-host/cache/virtualenv-1.11.4/virtualenv.py',
'-q', '--system-site-packages',
'/home/rohansaxena/sugar-build/build/out/sandbox-host/install']' returned
non-zero exit status 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20160225/9b447046/attachment.html>


More information about the Sugar-devel mailing list