librascal icon indicating copy to clipboard operation
librascal copied to clipboard

problem installing librascal

Open bpfrd opened this issue 3 years ago • 3 comments

Hi,

I installed the requirements using: sudo python3 -m pip install -r requirements.txt but when I try to install librascal using: sudo python3 -m pip install librascal I get the below error: ERROR: Could not find a version that satisfies the requirement librascal ERROR: No matching distribution found for librascal

How would you install it using pip? Best

bpfrd avatar Oct 09 '21 13:10 bpfrd

If you actually have fetched the repo, just do pip install . from the root folder

ceriottm avatar Oct 09 '21 15:10 ceriottm

Thanks. I installed it successfully but I get error when I call it:

ModuleNotFoundError Traceback (most recent call last) in 10 from tqdm.notebook import tqdm 11 import rascal ---> 12 from rascal.representations import SphericalExpansion as SEXP 13 from rascal.representations import SphericalInvariants as SOAP 14 from rascal.neighbourlist.structure_manager import (

ModuleNotFoundError: No module named 'rascal.representations'

bpfrd avatar Oct 09 '21 18:10 bpfrd

check that you actually didn't pip install rascal - there is a library on pip with that name and that might interfere with the namespace.

ceriottm avatar Oct 09 '21 19:10 ceriottm