CompressAI icon indicating copy to clipboard operation
CompressAI copied to clipboard

cannot import compressai._CXX

Open GongsunBABA opened this issue 1 year ago • 1 comments

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

GongsunBABA avatar Aug 21 '24 08:08 GongsunBABA

  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

YodaEmbedding avatar Aug 21 '24 20:08 YodaEmbedding