danielgatis / rembg

Rembg is a tool to remove images background
MIT License
15.39k stars 1.75k forks source link

[BUG] FileNotFoundError when trying command #598

Closed PingWing1337 closed 2 months ago

PingWing1337 commented 4 months ago

Describe the bug I recently installed rembg, but I can't seem to get it to work, I get an error:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Christiaan\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python312\\site-packages\\pymatting\\foreground\\__pycache__\\estimate_foreground_ml._resize_nearest_multichannel-5.py312.nbi.tmp.337f20db5a1b4261'

To Reproduce I tried the following commands:

python3 -m rembg.cmd.cli --help python -m rembg --help

In both cases, I get the error.

OS Version: Windows 10

Rembg version: v2.0.55

Additional context I only recently installed Python and rembg, I have no further experience, so I don't know if it's my problem or something is up with the windows version, which I installed via the command line, with pip install rembg[cli]

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.