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 'smallworld' when running from source #2

Open
devos50 opened this issue May 10, 2023 · 1 comment

Comments

@devos50
Copy link

devos50 commented May 10, 2023

When running the framework from source and following the instructions in the README.md file, I'm getting the following error:

mdevos@IC-ITs-MacBook-Pro-2 decentralizepy % python generate_graph.py --help
Traceback (most recent call last):
  File "/Users/mdevos/Documents/decentralizepy/generate_graph.py", line 1, in <module>
    from decentralizepy.graphs.Regular import Regular
  File "/Users/mdevos/Documents/decentralizepy/src/decentralizepy/graphs/__init__.py", line 2, in <module>
    from .SmallWorld import SmallWorld
  File "/Users/mdevos/Documents/decentralizepy/src/decentralizepy/graphs/SmallWorld.py", line 1, in <module>
    import smallworld
ModuleNotFoundError: No module named 'smallworld'

It seems like smallworld should be added to requirements.txt.

@devos50
Copy link
Author

devos50 commented May 10, 2023

It looks like this requirement will be installed when running setup.py. Still, I think it's a good idea to fill requirements.txt with the required dependencies.

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

No branches or pull requests

1 participant