<div dir="ltr">yes there are two versions of Python installed, ubuntu is pre-installed with Python 2.x and Python 3.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 18, 2016 at 7:06 PM, Julio Daniel Reyes <span dir="ltr"><<a href="mailto:nemesiscodex@gmail.com" target="_blank">nemesiscodex@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">osbuild is not using the same virtualenv that you have installed, it says <span style="font-size:12.8px">virtualenv-1.11.4 in your screenshot, do you have more than one version of python?</span></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 16 November 2016 at 01:22, YASHWANTH REDDY <span dir="ltr"><<a href="mailto:yashwanthvenati@gmail.com" target="_blank">yashwanthvenati@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello, <br><br> I am a newbie and i would like to contribute to sugar.<br><br></div>I
am getting the following erro when running ./osbuild pull in my ubuntu
16.04 system, python and virtualenv are installed and works well.<br><br><b>please check attached screen <br><br></b>yashwanth@yashwanth-pc:~/pytho<wbr>n/sugar-build$ ./osbuild pull<br><br>= Setup the host build system =<br><br>* Create the python virtualenv<br>Traceback (most recent call last):<br> File "/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py", line 2338, in <module><br> main()<br> File "/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py", line 824, in main<br> symlink=options.symlink)<br> File "/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py", line 992, in create_environment<br> install_wheel(to_install, py_executable, search_dirs)<br> File "/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py", line 960, in install_wheel<br> 'PIP_NO_INDEX': '1'<br> File "/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py", line 902, in call_subprocess<br> % (cmd_desc, proc.returncode))<br>OSError: Command /home/yashwanth/pyth...nstall/<wbr>bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip failed with error code 1<br>Traceback (most recent call last):<br> File "./osbuild", line 503, in <module><br> if not main():<br> File "./osbuild", line 482, in main<br> if not setup(options.command):<br> File "./osbuild", line 322, in setup<br> raise e<br>subprocess.CalledProcessError: Command '['python2.7', '/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/c<wbr>ache/virtualenv-1.11.4/virtual<wbr>env.py', '-q', '--system-site-packages', '/home/yashwanth/python/sugar-<wbr>build/build/out/sandbox-host/i<wbr>nstall']' returned non-zero exit status 1<br><br></div><div>waiting for your reply.<br></div>Thankyou.<img src="cid:ii_1586b5d4d1dfa043" alt="Inline image 1" width="537" height="175"></div>
<br></div></div>______________________________<wbr>_________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.or<wbr>g</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" rel="noreferrer" target="_blank">http://lists.sugarlabs.org/lis<wbr>tinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>