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

ModuleNotFoundError: No module named 'sparse' #651

Closed
AlexanderAivazidis opened this issue Aug 29, 2024 · 2 comments
Closed

ModuleNotFoundError: No module named 'sparse' #651

AlexanderAivazidis opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
dependencies Pull requests that update a dependency file

Comments

@AlexanderAivazidis
Copy link

AlexanderAivazidis commented Aug 29, 2024

description

I get this below error when importing pyrovelocity since rebasing to the beta branch recently and using the Python 3.11.9 environment:

example

image

@AlexanderAivazidis AlexanderAivazidis added the bug Something isn't working label Aug 29, 2024
@cameronraysmith
Copy link
Collaborator

cameronraysmith commented Aug 29, 2024

The sparse package was added as a dependency in 3ab825d .
It's probably necessary to synchronize any local virtual environment with the updated pyproject dependency or reinstall the dependencies into a new virtual environment.

update existing development virtualenv dependencies

source .venv/bin/activate
poetry install --with lint,test,docs,workflows,bioinformatics --sync --dry-run
...
poetry install --with lint,test,docs,workflows,bioinformatics --sync

@cameronraysmith cameronraysmith added dependencies Pull requests that update a dependency file and removed bug Something isn't working labels Aug 29, 2024
@AlexanderAivazidis
Copy link
Author

thanks, updating existing development virtualenv dependencies like this solved it: poetry install --with lint,test,docs,workflows,bioinformatics --sync

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

2 participants