google / visqol

Perceptual Quality Estimator for speech and audio
Apache License 2.0
641 stars 118 forks source link

bazel build uses system Python instead of current conda environment #112

Open AndyLogi opened 3 months ago

AndyLogi commented 3 months ago

I'm trying to automate the building of VISQOL within our conda environment. We have a shell script that first installs a new conda environment, and a subsequent script that installs bazel (via bazelisk) and runs the bazel build command as suggested. This works on my machine, but other colleagues are having issues running on an ARM-based mac.

When building VISQOL, other machines are saying it can't find numpy installed, despite the build command running within our newly created conda environment. Is there a way to tell the bazel build command which version of python to use?