[Libre-soc-dev] daily kan-ban update 14may2021

Lauri Kasanen cand at gmx.com
Sat May 15 16:54:13 BST 2021


On Sat, 15 May 2021 12:07:53 +0100
Luke Kenneth Casson Leighton <lkcl at lkcl.net> wrote:

> On Sat, May 15, 2021 at 7:28 AM Lauri Kasanen <cand at gmx.com> wrote:
> >
> > python3 ./src/openpower/decoder/isa/test_caller.py
> > Traceback (most recent call last):
> >   File
> > "/tiedostot/mv/c/openpower-isa/./src/openpower/decoder/isa/test_caller.py",
> > line 5, in <module> from openpower.decoder.isa.caller import ISACaller
> > ModuleNotFoundError: No module named 'openpower'
> >
> > This one is interesting, I would have bet that module was what I was
> > running in the first place.
>
> you need to run "python3 setup.py develop" on the actual module being
> used, as well.  otherwise python does not know the "start" location
> (the top level - openpower in this case).
>
> line 38 in this script lists the commands needed:
>
> https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=hdl-dev-repos;h=abbc7ba8460083afdb1b0b4c71dda090bf5c0441;hb=6b79a0fea2052a8b35a4f130a64c119983d40f3c#l38

#justPythonThings

A module does not find itself unless you install a global system-wide
symlink to it.

- Lauri



More information about the Libre-soc-dev mailing list