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

problem installing librascal #385

Open
bpfrd opened this issue Oct 9, 2021 · 3 comments
Open

problem installing librascal #385

bpfrd opened this issue Oct 9, 2021 · 3 comments

Comments

@bpfrd
Copy link

bpfrd commented Oct 9, 2021

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

@ceriottm
Copy link
Contributor

ceriottm commented Oct 9, 2021

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

@bpfrd
Copy link
Author

bpfrd commented Oct 9, 2021

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'

@ceriottm
Copy link
Contributor

ceriottm commented Oct 9, 2021

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.

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

2 participants