Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hello! In My Code I Use A Package That Writes Into Wav Files, Named Soundfile (Import Soundfile As Sf). On 'Conda List' There Are - Soundfile 0.10.3.Post1 Pysoundfile 0.10.3.Post1 Pyhd3Deb0D_0 Conda-Forge Libsndfile

Hello!
In my code I use a package that writes into wav files, named soundfile (import soundfile as sf).

On 'conda list' there are -
SoundFile 0.10.3.post1
pysoundfile 0.10.3.post1 pyhd3deb0d_0 conda-forge
libsndfile 1.0.31 h9c3ff4c_1 conda-forge

Agent is unable to recognize it by itself, so I tried to use Task.add_requirements for these options -
Task.add_requirements('soundfile')
#Task.add_requirements('pysoundfile') #, '0.10.3.post1')
#Task.add_requirements('libsndfile')

but they all fail with -
ERROR: Ignored the following versions that require a different python version: 1.11.0rc1 Requires-Python <3.13,>=3.9
ERROR: Could not find a version that satisfies the requirement libsndfile (from versions: none)
ERROR: No matching distribution found for libsndfile
Command 'source /home/rakefet/miniconda3/etc/profile.d/conda.sh && conda activate /home/rakefet/.clearml/venvs-builds/3.8 && pip install -r /tmp/cached-reqstjykeeqj.txt' returned non-zero exit status 1.
clearml_agent: ERROR: Could not install task requirements!
or -
Any suggestions?
image

  
  
Posted 8 months ago
Votes Newest

Answers 2


Hi @<1571308003204796416:profile|HollowPeacock58> , do you have a standalone code snippet that reproduces this behavior?

  
  
Posted 8 months ago

Before doing anything I got -
Environment setup completed successfully
Starting Task Execution:
Traceback (most recent call last):
File "inference.py", line 10, in <module>
import soundfile as sf
File "/home/ubuntu/.clearml/venvs-builds/3.8/lib/python3.8/site-packages/soundfile.py", line 142, in <module>
raise OSError('sndfile library not found')
OSError: sndfile library not found

  
  
Posted 8 months ago
424 Views
2 Answers
8 months ago
8 months ago
Tags