Comments (7)
Heya,
the following steps should help with this:
- create a new virtual environment
pip install -r requirements.txt
with the CLICS2 requirements.txtpip install -r datasets.txt
with the CLICS2 datasets.txtgit checkout 9701cb0
for Glottolog,git checkout tags/v1.2.0
for Concepticonclics 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.
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.
You have version clashes, I guess. Did you make sure to follow our instructions completely, especially installing versions from datasts.txt?
from clics2.
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.
Thanks, Christoph, @brochhagen, please confirm if this all works, so we can close this issue.
from clics2.
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 thepyclics
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 ofpython-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.
Happy to help! And thanks for reporting the issue in the requirements - I'll fix that in a second.
from clics2.
Related Issues (20)
- standalone app without json HOT 8
- only use languages with known coordinates when importing data into clics HOT 7
- contribution and acknowledgements HOT 4
- use CLDF completely, without CLICS intermediate format
- transfer clics to another organisation? HOT 2
- Update datasets.txt
- [release of 1.0] Check for FALL maps to concepticon in all datasets HOT 14
- Remove obsolete output files HOT 1
- Add glottocode and bibkey to exported (downloadable data) HOT 6
- Pluggability
- must pin pylexibank dependency to 0.9
- Make sure all commands are idempotent HOT 1
- pin all dependencies? HOT 4
- factor out pyclics into its own repos HOT 4
- Should we aim for pylexibank 1.0 for this paper? HOT 2
- Check all datasets for compatibility with pylexibank 1.0 ... HOT 1
- Clics tries to write non-ASCII to a GML file HOT 3
- Reproducibility issues HOT 6
- More reproducibility issues HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clics2.