On which OS are the Spaces running?

Hello :innocent:
I have some troubles with installing dependencies, the Space canโ€™t resolve the correct versions from the requirements.txt and I think this is due to missing wheels for certain OS.

Itโ€™d be great to know on which OS the apps are run.
Thanks and kind regards! :hugs:

Hi @edichief! @cbensimon might be able to help you a bit here, but let me provide some tips. You can click in โ€œbuild errorโ€ to see all the logs, although in this case it might not be super useful. Iโ€™m not sure which is the exact OS being used, but itโ€™s linux based.

In my local Ubuntu computer, doing pip install -r requirements.txt in a new environment with your requirements give me exactly the same error.

Looking in indexes: https://pypi.org/simple, https://packagecloud.io/github/git-lfs/pypi/simple
Collecting spacy==3.1.4
  Downloading spacy-3.1.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.1 MB)
     |โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ| 6.1 MB 4.4 MB/s 
ERROR: Could not find a version that satisfies the requirement holmes-extractor==3.0.0 (from -r requirements.txt (line 2)) (from versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.1.0, 2.2.0, 2.2.1)
ERROR: No matching distribution found for holmes-extractor==3.0.0 (from -r requirements.txt (line 2))

Thanks for the info! It turns out that Python 3.9 is needed for the newest version of that dependency. :grinning_face_with_smiling_eyes:

1 Like

You can alway use subprocess.Popen to query the system. In fact, I ceated a gradio app just to do that among other tests to see whatโ€™s feasible with HF Spaces: ttw - a Hugging Face Space by mikeee

Try some of the examples in the table or type directly to the text box.

1 Like