Closed Irratzo closed 1 year ago
Ah. I had installed it in editable mode with pip install -e /opt/librascal
, instead of doing cd /opt/librascal
and pip install .
. With the latter, it worked. Issue closed.
The case of an editable install is not somewhat handled properly by design: the package is built in a different folder where the bindings are copied rather than in librascal/bindings/rascal
. If you plan on modifying the codebase (python and/or cpp) you might want to follow the step to build the library yourself and add the build folder to your PYTHONPATH
. Then after any change, you will have to make
so that the changes are appropriately taken into account.
Hi! I installed
librascal
commit f5f65ea5 successfully in a Docker Ubuntu 20.04 container (including the Compiling step). When I try to userascal
in a Jupyter notebook ...... I get the following error.
Here are the installed dependency versions.
Both the
pip
install (from repo, branchmaster
) and the compiling (cmake
,make
), as per instructions, succeeded.There is no
._rascal
module in folderlibrascal/bindings/rascal/lib/
.What am I doing wrong? Sorry for my inexperience, and thank you for any pointers.