Hi Sam,

First, if you use "python2 `which scons`" it should work. Or "python2
/usr/bin/scons".

Second, we're hoping to release gem5-20 today or tomorrow. That said, we've
been saying "today or tomorrow" for almost two weeks... I think we mean it
this time!

Cheers,
Jason

On Wed, May 27, 2020 at 10:52 AM Samon Shivastar <rulethek...@gmail.com>
wrote:

> Hi Jason,
>
> Thanks for your reply. I use the following command and still got the same
> error:
> *python2 scons build/X86/gem5.opt -j6*
> python2: can't open file 'scons': [Errno 2] No such file or directory
>
> I was wondering if "a temporary issue with python3 support" has been
> resolved or it is still a working progress.
>
> Thanks
> Sam
>
> On Mon, May 18, 2020 at 3:07 PM Jason Lowe-Power <ja...@lowepower.com>
> wrote:
>
>> Hi Sam,
>>
>> This is a temporary issue with python3 support. Once gem5-20 is released
>> (hopefully today or tomorrow), this issue should be resolved. In the
>> meantime, you can try to downgrade to python 2 and run `python2 scons....`
>> or use an ubuntu 18.04 docker image (see
>> http://www.gem5.org/documentation/general_docs/building#docker for
>> details.).
>>
>> Cheers,
>> Jason
>>
>> On Mon, May 18, 2020 at 1:03 PM Samon Shivastar via gem5-users <
>> gem5-users@gem5.org> wrote:
>>
>>> Dear All,
>>>
>>> I got a problem compiling gem5 latest repo on Ubuntu 20.04.
>>>
>>> It gives following error:
>>>
>>> scons build/X86/gem5.opt -j6
>>> scons: Reading SConscript files ...
>>> Warning: Failed to find git repo directory: a bytes-like object is
>>> required, not 'str'
>>> TypeError: argument should be integer or bytes-like object, not 'str':
>>>   File "/home/samsi/gem5/SConstruct", line 355:
>>>     main['GCC'] = CXX_version and CXX_version.find('g++') >= 0
>>>
>>> Any ideas how to fix this error?
>>>
>>> Thanks in advance.
>>>
>>> Sam
>>> _______________________________________________
>>> gem5-users mailing list -- gem5-users@gem5.org
>>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
>>
>>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to