ImportError:No module named _dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1


105
views
-1
5 months ago by
Recently new error occured. Every program I've written before goes with a mistake. Help to fix it pls.

In instant.import_module_directly: Failed to import module 'dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1' from '/home/chuck/.cache/instant/python2.7/cache';
ImportError:No module named _dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1;
Failed to import module found in cache. Modulename: 'dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1';
Path: '/home/chuck/.cache/instant/python2.7/cache';
ImportError:No module named _dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1;
Traceback (most recent call last):
File "skra.py", line 28, in <module>
u_init_expr = Expression('0', degree=1)
File "/usr/lib/python2.7/dist-packages/dolfin/functions/expression.py", line 679, in __new__
mpi_comm=kwargs.get("mpi_comm"))
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/expressions.py", line 266, in compile_expressions
mpi_comm=mpi_comm)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/expressions.py", line 183, in compile_expression_code
mpi_comm=mpi_comm)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/jit.py", line 70, in mpi_jit
return local_jit(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/dolfin/compilemodules/compilemodule.py", line 567, in compile_extension_module
compiled_module = instant.import_module(module_name)
File "/usr/lib/python2.7/dist-packages/instant/cache.py", line 176, in import_module
return check_disk_cache(modulename, cache_dir, moduleids)
File "/usr/lib/python2.7/dist-packages/instant/cache.py", line 144, in check_disk_cache
module = import_and_cache_module(path, modulename, moduleids)
File "/usr/lib/python2.7/dist-packages/instant/cache.py", line 92, in import_and_cache_module
e))
File "/usr/lib/python2.7/dist-packages/instant/output.py", line 103, in instant_assert
raise AssertionError(text)
AssertionError: Failed to import module found in cache. Modulename: 'dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1';
Path: '/home/chuck/.cache/instant/python2.7/cache';
ImportError:No module named _dolfin_34e959d4ac1bb4cf721702f4dc5882ec3b8874f1;
Aborted (core dumped)



Community: FEniCS Project
Please login to add an answer/comment or follow this question.

Similar posts:
Search »