Re: Private: Re: [yocto] [nanbield] meta-intel-fpga layer support
Yes sorry, new here as new with yocto, Actually I discovered yocto through guides along with intel fpga-soc boards. These guides specify briefly how to use bitbake to build our system file based on poky, and add existing recipes/layers. All what I did is the following : - I want recipe "django" which depends on layers "openembedded-core", "meta-python", "meta-oe". - I git clone in my folder the "meta-openembedded" repo that contains "meta-python" and "meta-oe". I don't clone "openembedded-core" since it is already included (partially) in "poky" from what I understood. - I add django to my local.conf : CORE_IMAGE_EXTRA_INSTALL += " django " - I add layers to my bblayers.conf : BBLAYERS += " ${TOPDIR}/../meta-openembedded/meta-python " : BBLAYERS += " ${TOPDIR}/../meta-openembedded/meta-oe " - and I build the systemfile with bitbake "core-image-full-cmdline" for instance (it can either be core-image-minimal, I guess this doesn't affect behavior on adding packages) I didn't modify anything else beside adding these lines in my .conf files, since guide I was following didn't mention something else necessary. Did I miss a step for adding modules of a recipe ? I thought they were all included by default. I might mention but I suppose it doesn't affect something, I changed ' MACHINE = "arria10" ' in local.conf which is my fpga-soc device. Thanks again, -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61608): https://lists.yoctoproject.org/g/yocto/message/61608 Mute This Topic: https://lists.yoctoproject.org/mt/102373306/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-
Re: Private: Re: [yocto] [nanbield] meta-intel-fpga layer support
Please don’t mail directly, keep discussion on the list. > On 3 Nov 2023, at 18:56, roman.le...@univ-pau.fr wrote: > > Thank you for your answer, you are right venv is part of python3, I tried > venv in many ways but my system doesn't recognizes it : > > $:~# python3 -m venv env > /usr/bin/python3: No module named venv.__main__; 'venv' is a package and > cannot be directly executed > $:~# python3 venv env > /usr/bin/python3: can't find '__main__' module in '/home/root/venv' > > I tried with python and python 3.10 aswell , same answer. > > Actually I tried any other module (such as numbers, pickle, audio, > sqlite3,...) and it will give the same error, it seems I don't have any > module that can be found, I'm only able to launch python3 shell. Might this > be related to wrong environment variable ? Most modules can’t be executed directly, but venv should be able to. This is likely a missing dependency in the packaging. Can you confirm that you’ve installed python3-modules into your image to bring in _all_ of the standard library? Ross -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#61607): https://lists.yoctoproject.org/g/yocto/message/61607 Mute This Topic: https://lists.yoctoproject.org/mt/102373306/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-