Closed gabor1 closed 4 years ago
There was a typo in the setup file. Now it should be fixed.
Reinstalling the package:
pip uninstall abcd
pip install git+https://github.com/libAtoms/abcd.git
Reactivating the conda environment:
conda activate
conda activate abcd
Please feel free to reopen the issue if it is still not working.
following the README instructions I get the following error:
(base) gc121mac:~ gabor$ abcd login mongodb://localhost Traceback (most recent call last): File "/Users/gabor/miniconda3/bin/abcd", line 6, in
from abcd.frontends.commandline import main
File "/Users/gabor/miniconda3/lib/python3.7/site-packages/abcd/frontends/commandline/init.py", line 1, in
from abcd.frontends.commandline.parser import main
File "/Users/gabor/miniconda3/lib/python3.7/site-packages/abcd/frontends/commandline/parser.py", line 3, in
from abcd.frontends.commandline import commands
File "/Users/gabor/miniconda3/lib/python3.7/site-packages/abcd/frontends/commandline/commands.py", line 6, in
from abcd.frontends.commandline.decorators import init_db, init_config, check_remote
File "/Users/gabor/miniconda3/lib/python3.7/site-packages/abcd/frontends/commandline/decorators.py", line 6, in
from abcd.parsers.queries import parser
File "/Users/gabor/miniconda3/lib/python3.7/site-packages/abcd/parsers/queries.py", line 2, in
from lark import Lark, Transformer, v_args
ImportError: cannot import name 'Lark' from 'lark' (/Users/gabor/miniconda3/lib/python3.7/site-packages/lark/init.py)
(base) gc121mac:~ gabor$
This is running the mongo using the docker command from the README, and installing miniconda and running the abcd in that environment (not inside a docker)