Hi Keith, Yes. The build assumes that vppapigen runs in the global python environment such as if in a fresh container.
It is the same issue we have with generating vpp papi packages. It installs into the global environment and people have no option to pip install it without downloading the sources and doing a pip install -e <path>. There is a vpp_papi package on pypi, but it hasn't been updated in almost 2 years. To fix the issue properly, vppapigen should become a python package encapsulating its dependency on ply, so that it works independent of the python version/location. The same holds true of the test framework. Paul On Mon, Jun 1, 2020 at 9:46 AM Keith Burns <alaga...@gmail.com> wrote: > Had some issues building with fresh Ubuntu Focal install around python3. > > To fix I had to: > sudo apt install python3-venv > python3 -m venv "~/pyenv/vpp" > source ~/pyenv/vpp/bin/activate > > # build fails without manually installing > pip install ply > > cd <vppsrc> > make install-dep build > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16600): https://lists.fd.io/g/vpp-dev/message/16600 Mute This Topic: https://lists.fd.io/mt/74604485/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-