On which OS are the Spaces running?
HelloI 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!
2022-01-03T22:10:31Z
Hi@edichief!@cbensimonmight 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, doingpip install -r requirements.txtin 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))
2022-01-04T10:18:58Z
Thanks for the info! It turns out that Python 3.9 is needed for the newest version of that dependency.
2022-01-17T07:06:20Z
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 mikeeeTry some of the examples in the table or type directly to the text box.