Installation Trouble on Windows #13
Unanswered
Vegetarian-Alligator
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I hope I don't take up too much of your time, but I've been having some trouble installing rembg-greenscreen. First off, I need to install numpy before greenscreen. If I don't, it errors out saying it's not available. If it does, it uninstalls it (presumably to put it's own version in.) I then choose a version
pip install rembg-greenscreen==2.1.10
because I am warned that it can't choose a version.I get numerous warnings about stuff being installed somewhere there is no path variable:
C:\Users\myUsername\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts
. I have added this to the PATH variable for both the system and the local user; it seems to have no effect (I am more used to linux, so maybe I'm doing something wrong?) on re-installation or invocation.When I manually specify the file-path to greenscreen, it dies with this error message:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Users\myUser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\Scripts\greenscreen.exe\__main__.py", line 7, in <module> File "C:\Users\myUser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\rembg\cmd\cli.py", line 85, in main parallel_greenscreen(os.path.abspath(args.greenscreen), File "C:\Users\myUser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\rembg\multiprocessing.py", line 75, in parallel_greenscreen info = ffmpeg.probe(file_path) File "C:\Users\myUser\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\ffmpeg\_probe.py", line 20, in probe p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE) File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2032.0_x64__qbz5n2kfra8p0\lib\subprocess.py", line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
which I assume is related to the path issues.
I'm afraid I'm more used to Linux, really. Thanks for any help! I probably did something stupid.
Beta Was this translation helpful? Give feedback.
All reactions