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

getting module error while using Horton package #301

Open
atta1986 opened this issue Sep 14, 2023 · 3 comments
Open

getting module error while using Horton package #301

atta1986 opened this issue Sep 14, 2023 · 3 comments

Comments

@atta1986
Copy link

I installed the Horton package successfully but when I tested it using "nosetests -v horton" command line it gave me the following error message:


ModuleNotFoundError: No module named 'horton'


I have also added it to the path in ~/.bashrc but still getting this same error. Any help would be appreciated. Thanks

@sriramsowmithri9807
Copy link

Hey @atta1986 Ensure that the Horton package is correctly installed in your Python environment and that you are using the correct Python interpreter when running the tests. You may also need to check if your environment variables are set correctly and that the ~/.bashrc changes have been sourced properly.
Thank You.

@PaulWAyers
Copy link
Member

PaulWAyers commented Nov 18, 2024

@matt-chan may be able to help. Be sure that you are using the latest conda release, too.

Realistically, we suggest most people shift to HORTON 3 modules now, unless you have a specific workflow that requires HORTON 2.x.

This error, however, is probably due to environmental variables, as @sriramsowmithri9807 notes.

@sriramsowmithri9807
Copy link

@PaulWAyers yes, as you said it may the errors in environmental variables error too.

Thank you.

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

3 participants