[Sugar-devel] [ERROR] in setting up environment.

Julio Daniel Reyes nemesiscodex at gmail.com
Fri Nov 18 08:36:04 EST 2016


osbuild is not using the same virtualenv that you have installed, it
says virtualenv-1.11.4
in your screenshot, do you have more than one version of python?

On 16 November 2016 at 01:22, YASHWANTH REDDY <yashwanthvenati at gmail.com>
wrote:

> Hello,
>
>        I am a newbie and i would like to contribute to sugar.
>
> I am getting the following erro when running ./osbuild pull in my ubuntu
> 16.04 system, python and virtualenv are installed and works well.
>
>
>
> *please check attached screen *yashwanth at yashwanth-pc:~/python/sugar-build$
> ./osbuild pull
>
> = Setup the host build system =
>
> * Create the python virtualenv
> Traceback (most recent call last):
>   File "/home/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py", line 2338, in <module>
>     main()
>   File "/home/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py", line 824, in main
>     symlink=options.symlink)
>   File "/home/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py", line 992, in create_environment
>     install_wheel(to_install, py_executable, search_dirs)
>   File "/home/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py", line 960, in install_wheel
>     'PIP_NO_INDEX': '1'
>   File "/home/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py", line 902, in call_subprocess
>     % (cmd_desc, proc.returncode))
> OSError: Command /home/yashwanth/pyth...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/yashwanth/python/sugar-build/build/out/sandbox-host/c
> ache/virtualenv-1.11.4/virtualenv.py', '-q', '--system-site-packages',
> '/home/yashwanth/python/sugar-build/build/out/sandbox-host/install']'
> returned non-zero exit status 1
>
> waiting for your reply.
> Thankyou.[image: Inline image 1]
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20161118/c30d4c7f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sugar.png
Type: image/png
Size: 661475 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20161118/c30d4c7f/attachment-0001.png>


More information about the Sugar-devel mailing list