Giter Club home page Giter Club logo

Comments (4)

yangky11 avatar yangky11 commented on July 25, 2024 1

It means lark fails to parse self.grammar

self.grammar = t.to_ebnf(recursive=True) + '''
.

I have encountered this error before and it was because my lark version was incorrect. Please check if your lark version is exactly 0.6.5 as in

- lark-parser==0.6.5

from coqgym.

brando90 avatar brando90 commented on July 25, 2024

It means lark fails to parse self.grammar

self.grammar = t.to_ebnf(recursive=True) + '''

.
I have encountered this error before and it was because my lark version was incorrect. Please check if your lark version is exactly 0.6.5 as in

- lark-parser==0.6.5

Thanks!

How do you install things from that file? (sorry if my workflow is different, might be nice to include this in your readme since you also have non standard things e.g. you don't have a setup.py file or a project + packages hierarchy which is more common for python projects/repos e.g. like this https://packaging.python.org/tutorials/packaging-projects/ that's what I usually use but yours might be better!)

Usually, I have a install.sh I simply run (which would be what yours has except it would also have my pip and conda commands).

Thanks for the quick replies!

from coqgym.

brando90 avatar brando90 commented on July 25, 2024

It means lark fails to parse self.grammar

self.grammar = t.to_ebnf(recursive=True) + '''

.
I have encountered this error before and it was because my lark version was incorrect. Please check if your lark version is exactly 0.6.5 as in

- lark-parser==0.6.5

Thanks!

How do you install things from that file? (sorry if my workflow is different, might be nice to include this in your readme since you also have non standard things e.g. you don't have a setup.py file or a project + packages hierarchy which is more common for python projects/repos e.g. like this https://packaging.python.org/tutorials/packaging-projects/ that's what I usually use but yours might be better!)

Usually, I have a install.sh I simply run (which would be what yours has except it would also have my pip and conda commands).

Thanks for the quick replies!

this might be useful for yml installations:

https://stackoverflow.com/questions/54492671/how-to-install-list-of-python-libraries-using-yml-file-without-making-new-enviro

You can use the conda env update command:

conda env update --name <your env name> -f <your file>.yml
or, if the environment you want to update is already activated, then

conda env update -f <your file>.yml

conda env update -f ~/CoqGym/coq_gym.yml

or

conda env create -f ~/CoqGym/coq_gym.yml

from coqgym.

yangky11 avatar yangky11 commented on July 25, 2024

In Sec 1.2 of README:

  1. Create and activate the conda environment: conda env create -f coq_gym.yml && conda activate coq_gym

For more information about conda environments: https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html

from coqgym.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.