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

No module named 'BasicTools' #16

Closed
zs1996sjtu opened this issue Aug 11, 2021 · 6 comments
Closed

No module named 'BasicTools' #16

zs1996sjtu opened this issue Aug 11, 2021 · 6 comments
Assignees
Labels

Comments

@zs1996sjtu
Copy link

After I download the pymicro and set PYTHONPATH, I simply run an example of field_ipf.py, and the error occurs: File "../pymicro/pymicro/core/samples.py",line 23, in from BasicTools.Containers.ConstantRectilinearMesh import (
ModuleNotFoundError: No module named ‘BasicTools'

@heprom heprom self-assigned this Aug 11, 2021
@heprom
Copy link
Owner

heprom commented Aug 11, 2021

Hi,

basictools is a new dependency for pymicro. you can install it using conda:
conda install -c conda-forge basictools

Regrads
Henry

@zs1996sjtu
Copy link
Author

zs1996sjtu commented Aug 20, 2021 via email

@inandi2
Copy link

inandi2 commented Mar 22, 2024

Hi,
Has anyone found a solution for this? I am also getting this error.

@heprom
Copy link
Owner

heprom commented Mar 27, 2024

basictools is problematic to install on windows, we are working on this with @basileMarchand and will provide a solution soon.

@basileMarchand
Copy link
Collaborator

Hello @inandi2, a new version of pymicro has been released. It can be installed via pip and uses a fork of BasicTools that installs correctly on Windows. To install the new version of pymicro and its dependencies, simply run pip install pymicro.

Please confirm that it works well for you.

@heprom
Copy link
Owner

heprom commented Jun 20, 2024

I'm closing this issue after commit #26

@heprom heprom closed this as completed Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants