harmonydata / harmony

The Harmony Python library: a research tool for psychologists to harmonise data and questionnaire items. Open source.
https://harmonydata.ac.uk
MIT License
8 stars 14 forks source link

ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects #24

Closed shahid-0 closed 8 months ago

shahid-0 commented 8 months ago

Description

After cloning the repo I created the python and after that when I tried to install the libraries using pip install -r requirements.txt and pip install . I got this below error:

error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for thinc
Failed to build thinc
ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
[end of output]

Environment

OS: Ubuntu 23.04 Python: 3.12.2

shahid-0 commented 8 months ago

Issue is resolved, The correct way to install the dependencies is: pip install harmony

EDIT: Downgrade the python version to 3.11.8 and it works.