diff --git a/README.md b/README.md index 70745a8..f0f55d2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ For those interested in the *ab initio* thermoelectric data, [see below](#thermo 1. Make sure you have `python3.6` and the `pip` module installed. We recommend using [conda environments](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html). 1. Navigate to the root folder of this repository (the same folder that contains this README file) -and run `pip install --ignore-installed -r requirements.txt`. Note: If you are using a conda env and any packages fail to compile during this step, you may need to first install those packages separately with `conda install package_name`. +and run `pip install --ignore-installed -r requirements.txt -c constraints.txt`. Note: If you are using a conda env and any packages fail to compile during this step, you may need to first install those packages separately with `conda install package_name`. 1. Wait for all the requirements to be downloaded and installed. 1. Run `python setup.py install` to install this module. This will also download the Word2vec model files. If the download fails, manually download the [model](https://storage.googleapis.com/mat2vec/pretrained_embeddings), diff --git a/constraints.txt b/constraints.txt new file mode 100644 index 0000000..01a8dd6 --- /dev/null +++ b/constraints.txt @@ -0,0 +1 @@ +TableDataExtractor @ git+https://github.com/CambridgeMolecularEngineering/tabledataextractor#egg=tabledataextractor \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 5a56548..83d898a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,7 +3,7 @@ monty>=2.0.4 regex>=2019.6.8 requests>=2.22.0 unidecode>=1.1.0 -pymatgen>=2019.6.20 -chemdataextractor>=1.3.0 +pymatgen==2024.5.1 gensim>=3.7.1 -tqdm>=4.32.2 \ No newline at end of file +tqdm>=4.32.2 +chemdataextractor2 \ No newline at end of file