InterDigitalInc / CompressAI

A PyTorch library and evaluation platform for end-to-end compression research
https://interdigitalinc.github.io/CompressAI/
BSD 3-Clause Clear License
1.21k stars 232 forks source link

cannot import compressai._CXX #304

Open GongsunBABA opened 3 months ago

GongsunBABA commented 3 months ago

Bug

I have followed the procedure to install compressai, updated the CXX toolchain, and reinstalled compressai, but the issue with importing compressai.CXX still persists.

like this: DE@`3N(9ZN35AI3G(` A)L4

YodaEmbedding commented 3 months ago
  1. What happens when you run python -c 'import compressai' within the virtual environment?
  2. The screenshot shows that VSCode is using a python interpreter which can't find compressai._CXX. Ensure that the correct interpreter/environment is selected: https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment