Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install has error #8

Open
thaonguyen1153 opened this issue Nov 24, 2024 · 7 comments
Open

Install has error #8

thaonguyen1153 opened this issue Nov 24, 2024 · 7 comments
Labels

Comments

@thaonguyen1153
Copy link

Hi, I try to install but it run into an error:
error: subprocess-exited-with-error

at
Using cached scipy-1.9.1.tar.gz (42.0 MB) Installing build dependencies ... done Getting requirements to build wheel ... error

with this error

File "C:\Programme\anaconda3\envs\docemb\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['meson', 'setup', '--native-file= ... \\.mesonpy-_f2g4b6r\\build']' returned non-zero exit status 1.

What could I do to resolve the error?

@ines
Copy link
Member

ines commented Nov 24, 2024

Hi! It sounds like the dependency you're installing doesn't have a wheel available for your platform and fails to build it. Are you using Python 3.10+?

And do you have the same error when installing Docling directly?

pip install docling

If so, you could look into the installation docs for Docling and open an issue on their tracker if needed.

@ieea
Copy link

ieea commented Nov 25, 2024

I also faced the same issue while installing spacy-layout but the Docling installed succesfully, please provide the resolution.

@r-remus
Copy link

r-remus commented Nov 25, 2024

I also couldn't install it successfully, neither in a Python 3.10 nor in a Python 3.12 virtual environment.

Edit: I could install docling without issues.

@thaonguyen1153
Copy link
Author

Hi! It sounds like the dependency you're installing doesn't have a wheel available for your platform and fails to build it. Are you using Python 3.10+?

And do you have the same error when installing Docling directly?

pip install docling

If so, you could look into the installation docs for Docling and open an issue on their tracker if needed.

I use python 3.11. I have other problem when installing docling.

However, I can finally run spacy-layout with pip install -r requirements.txt --only-binary=:all:. I can get to the test now.

@lj440
Copy link

lj440 commented Nov 26, 2024

Hi,
hope somehow You did manage the formentioned issue during installation. I wasn't sucessfull. Dockling is not a problem. Nor any of the other two pacages mentioned in the requierments.text. Hitting pip install spacy-layout I get the following message:
image
Somehow pyproject.toml does not run successfully.Is it something about the compilers being not properly attached to the system path?
Sombody an idea?
Thanks in advance. Greetings from Germany, Luke

@lj440
Copy link

lj440 commented Nov 26, 2024

Back from work and this worked out:
pip install spacy-layout --only-binary=:all:

@SDanaan
Copy link

SDanaan commented Dec 2, 2024

I, too, was getting a meson error earlier today during my install efforts but I am not having a docling install issue. I built a new conda environment in python3.10 instead of python3.12 and the first package I brought in was spacy-layout hoping the dependencies would work out. I am not having any errors during install but when I try to use spacy I am getting pydantic errors. I found a workaround for those and now I am getting an error when I attempt to run the installed spacy from spacy.tokens.doc. So, I was able to run around the meson error with a new environment but the build does not seem functional. Not sure it helps.

@ines ines added the install label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants