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

cstreed Not found #1

Open
gitbooo opened this issue Jul 11, 2024 · 1 comment
Open

cstreed Not found #1

gitbooo opened this issue Jul 11, 2024 · 1 comment

Comments

@gitbooo
Copy link

gitbooo commented Jul 11, 2024

Hi, thank you for sharing the code. I'm encountering a simple issue when trying to run the example from the readme: the module couldn't find these packages from .cstreed import initialize_streed_solver, ParameterHandler.

@kjgm
Copy link
Collaborator

kjgm commented Jul 18, 2024

Thanks for notifying me about this.

I've seen this happen before if you run the python terminal from the pystreed folder after installing (or any other folder with the name "pystreed"). The relative import .cstreed then gets confused (it imports the local pystreed folder, instead of the one installed in the site_packages folder, where the compiled cstreed is)

If you run python from another folder, it will probably work

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

2 participants