CompressAI icon indicating copy to clipboard operation
CompressAI copied to clipboard

ValueError: path '/home/runner/work/CompressAI/CompressAI/compressai/cpp_exts/ops/ops.cpp' cannot be absolute

Open zzm422 opened this issue 2 years ago • 1 comments

Bug

To Reproduce

Steps to reproduce the behavior:

Expected behavior

Environment

Please copy and paste the output from python3 -m torch.utils.collect_env

- PyTorch / CompressAI Version (e.g., 1.0 / 0.4.0):
- OS (e.g., Linux):
- How you installed PyTorch / CompressAI (`pip`, source):
- Build command you used (if compiling from source):
- Python version:
- CUDA/cuDNN version:
- GPU models and configuration:
- Any other relevant information:

Additional context

zzm422 avatar Jul 08 '22 08:07 zzm422

same problem here (only on windows), did you find a solution?

umbertov avatar Jul 19 '22 09:07 umbertov

Hi, your description of the bug is very succinct. However, it seems to be the link with your c++ compiler. We tested tested with gcc and clang only. Please look up the list of previous issues here, a couple of them relate to that.

fracape avatar Sep 02 '22 06:09 fracape

I try to install by run 'python setup.py install' and face the same situation. You can find SOURCES.txt under the compressai.egg-info 2 and correct the wrong path in this file.(the red circle in png file) 1 Once you succeed in solving require, it is installed.

Yiozolm avatar Mar 21 '24 09:03 Yiozolm