Issues while installing using pip
Hi I'm a beginner and I'm facing difficulties to setup this.
I tried to install it using pip, as explained. When I run the code bellow,
pip install lama-cleaner
/# Models will be downloaded at first time used lama-cleaner --model=lama --device=cpu --port=8080 /# Lama Cleaner is now running at http://localhost:8080
The pip installation goes well then this error message shows up (when trying to run the second line) :
lama-cleaner : The term 'lama-cleaner' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Thanks for your help
hello, were you able to solve it?, I am a beginner, the same thing happened to me
Hi, I can't reproduce the problem
- What is your python version and pip version?
- What operating system is used?
Could not find a version that satisfies the requirement lama-cleaner (from versions: ) No matching distribution found for lama-cleaner
Could not find a version that satisfies the requirement lama-cleaner (from versions: ) No matching distribution found for lama-cleaner
What is your version of python? python version should >= 3.6
Could not find a version that satisfies the requirement lama-cleaner (from versions: ) No matching distribution found for lama-cleaner
What is your version of python? python version should >= 3.6
install,success, thanks. but,run:lama-cleaner --model=lama --device=cpu --port=8080 lama-cleaner:can't found command
Follow the steps below to solve the problem
1.sudo vim /etc/profile //append the line on end of file export PATH=$PATH:~/.local/bin 2. than save and close vim 3.run:source /etc/profile
Hi, I can't reproduce the problem
* What is your python version and pip version?
pip version : 22.2.1 python version : 3.10.5
* What operating system is used?
I'm on Windows 10 Pro 21H2
In some environments, the python binary directory may not exist in the shell's PATH. Check Python Installing Packages Guides to see how to add the binary directory to the shell's PATH
- Related question on StackOverflow: pip installs packages successfully, but executables not found from command line
/home/paperspace/.local/bin/lama-cleaner:8 in
--gui
Hi I'm a beginner and I'm facing difficulties to setup this. I tried to install it using pip. The pip installation goes well then this error message shows up(Finally, when lama-cleaner --model=lama --device=cpu --port=8080) Failed to load model C:\Users\qingyang.cache\torch\hub\checkpoints\big-lama.pt,please submit an issue at https://github.com/Sanster/lama-cleaner/issues and include a screenshot of the error: open file failed because of errno 2 on fopen: No such file or directory, file path: C:\Users\qingyang.cache\torch\hub\checkpoints\big-lama.pt (My big-lama.pt is already installed in this location) How to solve this problem?
Hi I'm a beginner and I'm facing difficulties to setup this. I tried to install it using pip. The pip installation goes well then this error message shows up(Finally, when lama-cleaner --model=lama --device=cpu --port=8080) Failed to load model C:\Users\qingyang.cache\torch\hub\checkpoints\big-lama.pt,please submit an issue at https://github.com/Sanster/lama-cleaner/issues and include a screenshot of the error: open file failed because of errno 2 on fopen: No such file or directory, file path: C:\Users\qingyang.cache\torch\hub\checkpoints\big-lama.pt (My big-lama.pt is already installed in this location) How to solve this problem?
It may be a permission problem, you can try change the model save directory use --model-dir= when start the server
--model-dir= How to use this?
Add --model-dir when you start lama-cleaner:
lama-cleaner --model=lama --device=cpu --port=8080 --model-dir=D:\models
The D:\models in the example is just an illustration. You can modify it according to your own needs.