Giter VIP home page Giter VIP logo

Comments (7)

chrzyki avatar chrzyki commented on July 19, 2024 1

Heya,

the following steps should help with this:

  • create a new virtual environment
  • pip install -r requirements.txt with the CLICS2 requirements.txt
  • pip install -r datasets.txt with the CLICS2 datasets.txt
  • git checkout 9701cb0 for Glottolog, git checkout tags/v1.2.0 for Concepticon
  • clics load path/to/concepticon-data path/to/glottolog

I'm assuming (just assuming, sorry if that's not the case) that you're using a newer version of pylexibank, which unfortunately is not compatible anymore with the older releases. The pylexibank==0.9.0 in the CLICS2 requirements.txt should help with that.

from clics2.

chrzyki avatar chrzyki commented on July 19, 2024 1

Just tested it - the above should produce a clics.sqlite with stats identical to the ones specified in the README (i.e. 2487 Concepts, 1220 Varieties, 1028 Glottocodes, 90 Families). Let me know if that is not the case or if you need any additional help. :)

from clics2.

LinguList avatar LinguList commented on July 19, 2024

You have version clashes, I guess. Did you make sure to follow our instructions completely, especially installing versions from datasts.txt?

from clics2.

LinguList avatar LinguList commented on July 19, 2024

The reason is: we're working on clics3 now, and this will build on quite a few new versions of different software parts, which will be backwards-incompatible with clics2.

from clics2.

LinguList avatar LinguList commented on July 19, 2024

Thanks, Christoph, @brochhagen, please confirm if this all works, so we can close this issue.

from clics2.

brochhagen avatar brochhagen commented on July 19, 2024

Thanks a lot, @chrzyki and @LinguList! The problem was indeed solved by using the requirements.txt file in my fresh virtual environment. I somehow missed that very crucial step. Sorry for the inconvenience.

Some tangential notes on installing from the requirements: I ran into two of issues that are not related to CLICS per se. However, maybe someone else will have the same problems and will find this useful:

  • Github and SSH: I had a Permission denied (publickey). fatal: Could not read from remote repository-error for the pyclics installation. Easily fixed by changing line 33 in requirements.txt to -e git+https://github.com/clics/clics2.git@97b3121bc2f94c7f417184dc1ffdb8b276a809f8#egg=pyclics
  • pip and global env: I got Cannot uninstall 'certifi'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. that was preventing the installation of python-igraph. Some explanations and workarounds are discussed extensively, e.g., here. In my case temporarily downgrading to pip 9.0.3, as described here, worked.

from clics2.

chrzyki avatar chrzyki commented on July 19, 2024

Happy to help! And thanks for reporting the issue in the requirements - I'll fix that in a second.

from clics2.

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.