[Libre-soc-dev] ModuleNotFoundError: No module named 'soc.decoder.isa.all'
Cole Poirier
colepoirier at gmail.com
Thu Oct 8 20:15:54 BST 2020
On Thu, Oct 8, 2020 at 12:02 PM Tobias Platen
<libre-soc at platen-software.de> wrote:
>
> On Thu, 8 Oct 2020 11:56:08 -0700
> Cole Poirier <colepoirier at gmail.com> wrote:
>
> > On Thu, Oct 8, 2020 at 11:54 AM Tobias Platen
> > <libre-soc at platen-software.de> wrote:
> > >
> > > I think i've forgotten something, but I don't remember what.
> > > To test I've run:
> > >
> > > cd soc
> > > make gitupdate
May have found the problem. Try running python3 python
src/soc/decoder/pseudo/pywriter.py, instead of just python.
The easiest way to do this however is to run `make install in the
toplevel soc dir, as it will do this automatically.
> > > python3 setup.py develop
> > > python src/soc/decoder/pseudo/pywriter.py
> I've started a fresh clone, but libre-soc uses subrepos.
> Make gitupdate just runs:
> git submodule init
> git submodule update --init --recursive --remote
>
> I think soc.decoder.isa.all is generated from some csv files,
> but I don't remember which command I used once.
Try running `make install` (it runs python3 setup.py develop, and pywriter.py).
Cole
More information about the Libre-soc-dev
mailing list