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

[BUG] No module named 'minihack.version' when importing #48

Closed
nesou2 opened this issue Apr 13, 2022 · 2 comments
Closed

[BUG] No module named 'minihack.version' when importing #48

nesou2 opened this issue Apr 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@nesou2
Copy link

nesou2 commented Apr 13, 2022

When installing via pip, you get an bug after importing: "ModuleNotFoundError: No module named 'minihack.version'". This can be resolved by adding a file "version.py" with the correct info to the install directory. (version = '0.1.3+4c398d4'
git_version = '4c398d480eac26883104e867280d1d3ddbcb9a20' ).

@nesou2 nesou2 added the bug Something isn't working label Apr 13, 2022
@samvelyan
Copy link
Member

Are you sure you installed minihack appropriately? These few lines in setup.py automatically create the version.py file.

Could you please specify which platform you're using? I just install minihack from pip on linux and there was no issue.

@nesou2
Copy link
Author

nesou2 commented Apr 13, 2022

I also just tried it again, and it worked this time. I don't know how this happened, as I didn't do anything strange. I am happy to leave this as closed, hopefully it will help if someone else manages to somehow get this issue.

@nesou2 nesou2 closed this as completed Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants