Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sim submodule is missing after pip install --upgrade nmigen[builtin-yosys] #637

Closed
chipmuenk opened this issue Sep 29, 2021 · 5 comments
Closed
Labels

Comments

@chipmuenk
Copy link

I'd like to integrate nmigen into a software package of mine which is installed via pip, however, when I do

pip install --upgrade nmigen[builtin-yosys]

or simply

pip install nmigen

the sim submodule is missing after installation. I tried uninstalling and reinstalling and clearing the pip cache several times but the only thing that worked so far is installing the very latest version

pip install git+https://github.com/nmigen/nmigen.git#egg=nmigen[builtin-yosys]

instead (which I don't want to do inside a software package). I'm using Windows with Python 3.8.2 running in an venv.

Previously, I had migen installed in the same venv, maybe there is some dependency?

@whitequark
Copy link
Member

At the moment I would recommend using nmigen from git. We'll do a release soon (before the end of 2021), so this won't be necessary for long.

@mattvenn
Copy link

would suggest updating the docs to encourage install from git.

@mattvenn
Copy link

can confirm that installing from git works

@whitequark
Copy link
Member

would suggest updating the docs to encourage install from git.

The docs already explain that installing from git will result in more recent code: https://nmigen.info/nmigen/latest/install.html#installing-nmigen. Going beyond that is not something I think makes a lot of sense.

@chipmuenk
Copy link
Author

Unfortunately, I haven't managed to add a git-based install to the requirements.txt list of my project. As a consequence, I'm using my own fixpoint library for simulation in my project now and will switch to a templating approach for code generation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants