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

Error after installing #28

Open
Fvergnet opened this issue Nov 2, 2018 · 2 comments
Open

Error after installing #28

Fvergnet opened this issue Nov 2, 2018 · 2 comments

Comments

@Fvergnet
Copy link

Fvergnet commented Nov 2, 2018

Hi Mikaem,

After installing fenicstools, I tried importing it and I got the error below. Could you tell me what is wrong ?

Best,
Fabien

In [1]: import fenicstools
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:7: UserWarning: Probe/Probes/StatisticsProbe/StatisticsProbes not installed
warnings.warn("Probe/Probes/StatisticsProbe/StatisticsProbes not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:12: UserWarning: StructuredGrid/ChannelGrid not installed
warnings.warn("StructuredGrid/ChannelGrid not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:17: UserWarning: weighted_gradient_matrix/compiled_gradient_module not installed
warnings.warn("weighted_gradient_matrix/compiled_gradient_module not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:22: UserWarning: getMemoryUsage/SetMatrixValue not installed
warnings.warn("getMemoryUsage/SetMatrixValue not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:27: UserWarning: gauss_divergence/divergence_matrix not installed
warnings.warn("gauss_divergence/divergence_matrix not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:32: UserWarning: interpolate_nonmatching_mesh/interpolate_nonmatching_mesh_any not installed
warnings.warn("interpolate_nonmatching_mesh/interpolate_nonmatching_mesh_any not installed")
/usr/local/lib/python3.6/dist-packages/fenicstools/init.py:37: UserWarning: DofMapPlotter not installed
warnings.warn("DofMapPlotter not installed") # Probably missing dependency

@karimhuet
Copy link

Hello Mikael,
I got the exact same issue (I also reported on a fenicsproject slack thread)
I used python3 install setup.py --prefix /usr/lib/python3.6/site-packages (same as the one used by fenics)
then after importing fenics, when I try to import fenicstools, it gives me the same errors/warnings as Fvergnet...
How do we install the dependencies?
Thanks!

@jorgensd
Copy link

See #26 .

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