mikaem / fenicstools

55 stars 36 forks source link

Error after installing #28

Open Fvergnet opened 6 years ago

Fvergnet commented 6 years ago

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 commented 5 years ago

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 commented 5 years ago

See #26 .