Question

DB Extractor Polars CPU Check Failed. Troubleshooting Ideas


Badge

Hello,

 

When I tried to run the DBExtractor, I get the following error: 

“polars\_cpu_check.py:232: RuntimeWarning: Missing required CPU features.

The following required CPU features were not detected:
    avx, avx2, fma
Continuing to use this version of Polars on this processor will likely result in a crash.
Install the `polars-lts-cpu` package instead of `polars` to run Polars with better compatibility.

Hint: If you are on an Apple ARM machine (e.g. M1) this is likely due to running Python under Rosetta.
It is recommended to install a native version of Python that does not run under Rosetta x86-64 emulation.

If you believe this warning to be a false positive, you can set the `POLARS_SKIP_CPU_CHECK` environment variable to bypass this check.”

After doing some googling, I was able to install the polars-lts-cpu package referenced using python, but I got the same error. I’m not sure how to make the extractor reference the polars-lts-cpu package when it runs. See attached screenshot.

The extractor is running on a virtual machine with Windows Server 2019 OS with two CPU processors and 4 GB of RAM. The extractor I downloaded is dbextractor-v3.3.4.msi. 

The processor for the VM is an Intel Xeon CPU E5-2630. I’ve seen on some other forums that Polars may be incompatible with this type of processor, but I’m not sure if there are any workarounds. 

Any ideas on how I can bypass this error?

Thank you

Matt


0 replies

Be the first to reply!

Reply