NokiMo
Aitrepreneur
Aitrepreneur

patreon


1-Click INSTALL LivePortrait WebUI!

5 August UDPATE: The installation has changed, it's much easier now. Just download the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat, run it, wait for everything to be extracted and then run either the run_windows_human.bat or the run_windows_animal.bat file. Nothing changes for the runpod install.


21st July UPDATE: LIVEPORTRAIT JUST RELEASED THE LONG AWAITED VIDEO TO VIDEO UPDATE, making video deepfakes from videos super easy, check out my update video here:
https://youtu.be/qD-RbYoSi74

Do not forget to put the updater.bat file inside the folder and to run it if you already installed LivePortrait before.


Hey everyone! I've created a 1-click installer for the newest AI tool called "LivePortrait " that allows you to generate any Deepfake Portrait from just a video and image source with unparalleled quality! This tool will change the industry once again!

Watch the video right here: https://youtu.be/dl6XaGewYAc

The installer of course automates the entire install process for the tool!

Here's how it works:

LOCAL INSTALL:

1. Download the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat

2. Create a new folder on your computer and place the file inside

3. Launch the NEW-LIVEPORTRAIT_AUTO_INSTALL-V2.bat file to begin the install

4.????

6. Profit 😎

Go inside the folder and then run either the run_windows_human.bat or the run_windows_animal.bat file to begin using LivePortrait!😉

IF YOU ARE USING RUNPOD:

1. Create an account if you haven't already: Runpod

2. Click on Pod (on the left side) then click deploy

3. Choose a GPU with at least 24gb of VRAM (a cheap 3090 is great), choose the Pytorch 2.1 template, then deploy on demand

4. Go to my pods, wait for everything to finish and then click "connect", then "Connect to Jupyter Lab"

5. Drag and drop the LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh on the left side of the UI then click on the "Terminal" icon on the right side on the UI

6. Copy and paste these two lines then press enter:

chmod +x LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh

./LIVEPORTRAIT_AUTO_INSTALL-RUNPOD.sh

7. Wait for everything to be installed

8. Click on the public URL to start Using LivePortrait😉!

As always, supporting me on Patreon allows me to keep creating helpful resources like this for the community. Thank you for your support - now go have some fun😉!

1-Click INSTALL LivePortrait WebUI!

Comments

That worked, thank you!

Robbieddanger

you got some ssl certification check issue, try this installer: https://we.tl/t-kQPgN7yF9m

Aitrepreneur

I downloaded the install file and moved it into a new folder before attempting to install. When I attempt to install I see the following error. https://ibb.co/1q2Dm9N

Robbieddanger

It's a wonderful talking faces engine! But I don't understand how to get a bigger resolution... I've tried with bigger source image, or bigger train video but nothing... Is there a parameter to get more res? Thanks!

Mauro Prelli

Also having a bit of trouble with the installation, Starts install then nothing.

Casey Dillistone

Got it Nvidia is the only way to go. I want the livePortrait to work on my computer and also want to do TTS and Flux. Also saw the animate ai to make the inbetweeners. That is something i'd like to work with. With this in mind what card would be best for me to choose 4090 isn't in my budget. so it would be 3090 ti (24g) or 4070/4080 super(16g). What would you advise. Thanks in advance for your time and precious advice.

EyezOnYou

Never get an AMD. JUST NEVER. Most ai tools only work with Nvidia GPUs. No so it's not even a question, get Nvidia, always.

Aitrepreneur

I have to get a new GPU to have fun with thes ai stuff. SO I was wondering if it also works on AMD? Pricewise its a way more afordable GPU as Nvidea

EyezOnYou

You probably launched the installer as admin so it installed in system32, just run the installer normally, not as admin

Aitrepreneur

Yoooo, just used the V2 install. Everything seems to have installed correctly but there's not a bat file to launch the web ui. I'm a total noob, can ya help me out?

Eric B

I was trying to run the installer from another drive than C: and it failed. So I decided to run it from a file in C:\Users and the installation was successful !! Awesome work !! Thanks for the installer :)

ElecMat

I tried the installer and I got this error message... ************ Activating the LivePortrait environment... Activation failed. Displaying the error message: The system cannot find the path specified. Press any key to exit...

ElecMat

Much appreciated and thank you for bearing with my ignorance.

Christopher Moonlight Productions

For the next installers I will add this option anyway so it won't be an issue in the future

Aitrepreneur

I'm not that knowledgeable to understand this stuff so I just keep my fingers crossed when I try this stuff. I figure if it works then I don't have to bother you with every little thing. lol.

Christopher Moonlight Productions

as I said previously for your computer, you have some security issue and the curl command is what triggers it, the reason why it worked here is because it just added the -k option in the curl command, that's it, no need to rewrite anything. Adding --ssl-no-revoke to the curl command works as well

Aitrepreneur

Due to my computer being weird (I think) I had to have ChatCPT rewrite the bat based on the error messages I was getting. Here is what it gave me that got it to work. @echo off setlocal enabledelayedexpansion REM Check if 7-Zip is installed and get its path for %%I in (7z.exe) do set "SEVEN_ZIP_PATH=%%~$PATH:I" if not defined SEVEN_ZIP_PATH ( if exist "%ProgramFiles%\7-Zip\7z.exe" ( set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe" ) else if exist "%ProgramFiles(x86)%\7-Zip\7z.exe" ( set "SEVEN_ZIP_PATH=%ProgramFiles(x86)%\7-Zip\7z.exe" ) else ( echo 7-Zip is not installed. Downloading and installing... curl -k -L -o 7z-installer.exe https://www.7-zip.org/a/7z2301-x64.exe 7z-installer.exe /S set "SEVEN_ZIP_PATH=%ProgramFiles%\7-Zip\7z.exe" if not exist "%SEVEN_ZIP_PATH%" ( echo Installation of 7-Zip failed. Please install it manually and try again. exit /b 1 ) del 7z-installer.exe ) ) REM Check if curl is available where curl >nul 2>&1 if errorlevel 1 ( echo curl is not installed or not available in PATH. Please install curl and try again. exit /b 1 ) REM Downloading LivePortrait echo Downloading LivePortrait... curl -k -L -o LivePortrait.7z https://huggingface.co/Aitrepreneur/LivePortrait/resolve/main/LivePortrait.7z?download=true REM Check if the download was successful if not exist "LivePortrait.7z" ( echo Download failed. Please check the URL or your internet connection and try again. exit /b 1 ) REM Extract LivePortrait echo Extracting LivePortrait... "%SEVEN_ZIP_PATH%" x LivePortrait.7z -o"%CD%" -y REM Check if extraction was successful if not exist "%CD%\LivePortrait" ( echo Extraction failed. Please check the downloaded file and try again. exit /b 1 ) echo INSTALLATION WAS SUCCESSFUL. GO INSIDE THE FOLDER AND RUN EITHER THE run_windows_human.bat or the run_windows_animal.bat file. HAVE FUN! pause

Christopher Moonlight Productions

Thank you sooooo much! It worked! <3

Searon Slad

make sure you don't have any antivirus or VPN running that might block the download of the file, this seems like a connection issue

Aitrepreneur

When launching the install it stops immediately: "Impossible to find the file LivePortrait.7z"

Searon Slad

I figured it out. I had a "&" in one of the parent folders that Live Portrait was installed into. I renamed the parent fold and that fixed it. Works amazing.

joh sar

No, it says the configuration was successful. Do you have the old installer online? I can't find the link.

joh sar

any error during install?

Aitrepreneur

I get this error when I try to start LivePortait: Activating the LivePortrait environment... Activation failed. Displaying the error message: The system cannot find the path specified. Press any key to exit...

joh sar

problem solve on reinstall

Steven Nicholson

cant open the file. its comes up with an error message "unexpected out of data". any ideas?

Steven Nicholson

I get this error when I try to start LivePortait: Activating the LivePortrait environment... Activation failed. Displaying the error message: The system cannot find the path specified. Press any key to exit...

joh sar

install work perfectly, it happens instantly after I launch. I reinstalled python and updated everything. I traing installing it several times same problem. thanks!

makennos

install work perfectly, it happens instantly after I launch. I reinstalled python and updated everything. I traing installing it several times same problem. thanks!

makennos

When does that error happens? Any issues during install?

Aitrepreneur

yes

makennos

are you using the latest V2 installer?

Aitrepreneur

I am gettings this anybody knows how to solve: Activating the LivePortrait environment... Environment activated successfully. Starting the server... Waiting for the server to start... Traceback (most recent call last): File "C:\live portrait\LivePortrait\app_animals.py", line 8, in import tyro File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\__init__.py", line 3, in from . import conf as conf File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\conf\__init__.py", line 11, in from ._confstruct import arg as arg File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\conf\_confstruct.py", line 4, in from .._fields import MISSING_NONPROP File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_fields.py", line 45, in from . import ( File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_docstrings.py", line 15, in from . import _resolver, _strings, _unsafe_cache File "C:\live portrait\LivePortrait\LivePortrait_env\lib\site-packages\tyro\_resolver.py", line 26, in from typing_extensions import ( ImportError: cannot import name 'ForwardRef' from 'typing_extensions' (C:\Users\salo\AppData\Roaming\Python\Python39\site-packages\typing_extensions.py)

makennos

Yup just checked the repo was updated, here's the new installer, much easier to use: https://we.tl/t-sqBNxoa7aw just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file

Aitrepreneur

Yup just checked the repo was updated, here's the new installer, much easier to use: https://we.tl/t-sqBNxoa7aw just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file

Aitrepreneur

Yup just checked the repo was updated, here's the new installer, much easier to use: https://we.tl/t-sqBNxoa7aw just run it, wait for everything to be extracted then run either the run_windows_human.bat or the run_windows_animal.bat file

Aitrepreneur

Win11: Getting 'Exception: Building py-lmdb from source on Windows requires the "patch-ng" python module. - from the requirements.txt I stepped through the bat file manually. Manually installed them, still not recognizing? (env) D:\AI\VIDEO\LivePortrait\LivePortrait>pip install -r requirements.txt Collecting torch==2.3.0 (from -r requirements_base.txt (line 1)) Using cached torch-2.3.0-cp312-cp312-win_amd64.whl.metadata (26 kB) Collecting torchvision==0.18.0 (from -r requirements_base.txt (line 2)) Using cached torchvision-0.18.0-cp312-cp312-win_amd64.whl.metadata (6.6 kB) Collecting torchaudio==2.3.0 (from -r requirements_base.txt (line 3)) Using cached torchaudio-2.3.0-cp312-cp312-win_amd64.whl.metadata (6.4 kB) Collecting numpy==1.26.4 (from -r requirements_base.txt (line 4)) Using cached numpy-1.26.4-cp312-cp312-win_amd64.whl.metadata (61 kB) Collecting pyyaml==6.0.1 (from -r requirements_base.txt (line 5)) Using cached PyYAML-6.0.1-cp312-cp312-win_amd64.whl.metadata (2.1 kB) Collecting opencv-python==4.10.0.84 (from -r requirements_base.txt (line 6)) Using cached opencv_python-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB) Collecting scipy==1.13.1 (from -r requirements_base.txt (line 7)) Using cached scipy-1.13.1-cp312-cp312-win_amd64.whl.metadata (60 kB) Collecting imageio==2.34.2 (from -r requirements_base.txt (line 8)) Using cached imageio-2.34.2-py3-none-any.whl.metadata (4.9 kB) Collecting lmdb==1.4.1 (from -r requirements_base.txt (line 9)) Using cached lmdb-1.4.1.tar.gz (881 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [27 lines of output] py-lmdb: Using bundled liblmdb with py-lmdb patches; override with LMDB_FORCE_SYSTEM=1 or LMDB_PURE=1. Traceback (most recent call last): File "", line 92, in ModuleNotFoundError: No module named 'patch_ng' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\AI\VIDEO\LivePortrait\LivePortrait\env\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 327, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 297, in _get_build_requires self.run_setup() File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\jimgale\AppData\Local\Temp\pip-build-env-oqz1ph_5\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 94, in Exception: Building py-lmdb from source on Windows requires the "patch-ng" python module. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. [notice] A new release of pip is available: 24.0 -> 24.2 [notice] To update, run: python.exe -m pip install --upgrade pip (env) D:\AI\VIDEO\LivePortrait\LivePortrait>pip install patch-ng Requirement already satisfied: patch-ng in d:\ai\video\liveportrait\liveportrait\env\lib\site-packages (1.18.0)

Jim Gale

Hello im also getting this error when installing with the One-Click AssertionError: Torch not compiled with CUDA enabled

Ramon

Already tried that earlier. tried again now. Got the same error. The window just flashes for a sec showing the error and then disappears.

Coup1

This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again.

Aitrepreneur

NVIDIA GeForce RTX 2080 SUPER :,(

Coup1

what's your GPU?

Aitrepreneur

I keep getting this error when I try to run liveportrait and then the cmd window closes and nothing more happens. "F:\Liveport\Liveportrait\env\lib\sitepackages\torch\cuda\_init_.py", line 284, in -lazy-init AssertionError:Torch not compiled with CUDA enabled" but Torch is compiled with CUDA enabled :0 >>>print(torch.cuda.is_available()) True >>>

Coup1

No they are probably using a tool like viggle ai or something similar

Aitrepreneur

Hello I recently came across a flood of dancing cute animals like this https://pin.it/UuDWaZ0AE. Are they using this tool? Or how is it done? Thx

Tomas Rampas

Ahhh, my C drive was simply full, the problem is whe n I double clicked the installer it just clsoed (I was asfk), I didnt get a no space available message. I think it will work now. crossing my fingers.

Mohamed Owda

Any errors during install? Try opening a command prompt window and drag and drop the lancher file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection.

Aitrepreneur

so I did run the installer without run as admin and it installed this time in : D:\Live Portrait\LivePortrait and i placed the: LIVEPORTRAIT_LAUNCHER.bat in that directory. when I double click it I get the command prompt open and immediately close is my nvidia 3090 too weak for this or what?

Mohamed Owda

will do, thanks a bunch!

Mohamed Owda

Yes, just launch it normally in a new folder and delete the previous one

Aitrepreneur

ahh I see, so what do I do now? should I delete it and click the isntaller normally? it doesnt work for me.

Mohamed Owda

It's because you ran the installer as admin, do not do that, run the installer normally

Aitrepreneur

hello, I ran the one click installer and went afk I searched where it was isntalled (surprised it wasnt the dwonload folder) I found : C:\Windows\System32\LivePortrait so I placed LIVEPORTRAIT_LAUNCHER.bat in: C:\Windows\System32\LivePortrait but when I double click nothing happens

Mohamed Owda

I've tried alternatives, believe me they are all absolutely terrible, uses an insane amount of vram and takes 10mins to produce a few seconds of video....I do not recommend any of them, at least for now

Aitrepreneur

Is there an alternative to heygen? Local. So that you can upload audio and a picture and the avatar can talk.

Олег Каргин

in the terminal just press ctrl c (same command if you want to copy a text) it will then stop running, then go inside the folder, click on terminal again so that you are sure to be inside that folder, then type: python app.py --share then press enter. It will restart the webui

Aitrepreneur

Is there a way to restart it, the gradio crashed, is there a script that would restart it? I am using runpod

Emilien-Edmond D'aramitz

if you already have VC installed just click no when it asks you to pursue its installation

Aitrepreneur

I'm getting stalled out at the installation of Visual C++ which I know is already on my system. It hangs about halfway through, times out, reattempts, times out, etc. Any ideas?

Bob Doyle - VR Films

Update still doing it, seems to be something with the live_portrait_wrapper.py:300:

Jon Smith

aaaah the infamous 1660 that causes issues with many AI tools...should have known 😅 ok so you need to go to LivePortrait\src\config folder and edit the inference_config.py file (with notepad++ or something similar) on line 25 you will see: flag_use_half_precision: bool = True change the True to False so that it looks like this: flag_use_half_precision: bool = False then save the file and relanch the webui

Aitrepreneur

1660 super

Jon Smith

Usually the issue is that people either have the incorrect python version installed AND/OR not added to path and even if it is, it's best practice to put the two python folder path at the top of the list in the env variables

Aitrepreneur

what's your GPU?

Aitrepreneur

It appears as though Windows creates a program 'alias' for the Python executables, and disabling those 'aliases' will allow the command prompt to see python.exe instead of 'alias'. Just more corporate adulteration.

Trenoshi

For those experiencing Python issues, here is a solution that worked for me: https://stackoverflow.com/questions/47539201/the-python-executable-is-not-recognized-on-windows-10

Trenoshi

Keep getting this error and black images RuntimeWarning: invalid value encountered in cast out = np.clip(out * 255, 0, 255).astype(np.uint8) # 0~1 -> 0~255 no idea what this means or what im supposed to do about it

Jon Smith

huh weird, without the error log difficult to say, at least it ended up working 🤷‍♂️

Aitrepreneur

Yes I will once we have something good

Aitrepreneur

@John Ross, Lmao wtf you're that much of a noob that you can't run the one click installer? Hell I'll go a step further & say someone with your temperament shouldn't have access to AI, lord only knows what you're going to do with it.

ZaNIX Ultra

I also had it crash on install. I tried following the lines from the bat file, installed some pytheon, dind't really work. But it later suddenly worked. Maybe something with python env, but I don't know.

Michael Moser

Please make videos on locally-run generative video options.

John

I got it to work using RunPod. Thanks again!

Travis

Thank for the quick response - I'll try this later today and report back. Thanks for all of your hard work.

Travis

not a question of system requirements, it's usually a python issue like a bad python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again

Aitrepreneur

could a multitude of reasons, first open a command prompt window and drag and drop the installer file inside the window, then press enter, this should avoid the window from closing and it will at least give us an error code we can use to troubleshoot the error, make also sure that you have disabled any antivirus/firewall from running and blocking the file/connection. This could also be a bad initial python install, you need to uninstall any of your current python installations and reinstall it correctly. Go to the add and remove programs, search for python and uninstall both the current python version and the python install program. Once this is done, go here and download this installer: https://www.python.org/ftp/python/3.10.11/python-3.10.11-amd64.exe Run it and check the “Add python 3.10 to Path” checkbox and continue with the installation. You can check that the right python version is installed by opening a new command prompt window and typing: python --version and it should give you the 3.10.11 version Then just relaunch the 1-click installer in a new folder and try again

Aitrepreneur

Can you post a list of system requirements for these "1 Click Install" posts please? I tried in the past and they crash.

Travis

it didnt work, my installation always crashes and didnt finish..

konstantin sichart

Oh then yeah that explain everything, just close the installer, you don't need to edit anything, it should automatically give you a public url when running the launcher (put the launcher inside the folder), like this: https://imgur.com/a/a3b234c

Aitrepreneur

Thanks for that. My problem is that I get this information from the installer (which I haven't closed since it ran) "To create a public link, set `share=True` in `launch()`." All it gives me by default is the local URL, so I have to edit 'launch' with that info. I'm assuming it is the LIVEPORTRAIT_LAUNCHER.bat file that I need to edit? My problem is when I try to run that file, it just flashes a cmd window that says it can't find the app.py in the directory I created. All of the other files you gave me are there, but it doesn't look like it installed there. Thanks for your help!

Anthony Marc

I moved the bat file to the desktop, and now it's working. Thanks for your help, man, in the DM!

Essence Cartoon

good to know... you are the pro ;-) thanx for your fast reply... <3

Marc

yup I know it, this was one of the other tool similar to liveportrait that I tested before doing the video, and it was terrible...my god...it takes like 20gb of vram to run and takes like 10 mins to generate a video from a 10s audio clip and the results are just terrible... When there is a better option than liveportrait, you'll know

Aitrepreneur

ohh okay - i see :-) Do you know https://github.com/fudan-generative-vision/hallo ??

Marc

yes, when you launch it, you got the local and public url, just use the public url and let it run on your machine.

Aitrepreneur

Try this: click on the folder path, type cmd and inside type: env\Scripts\activate press enter pip install tyro==0.8.5 press enter then you can relaunch the launcher

Aitrepreneur

Is there a URL it provides so I can access it from another machine like you can with Oobabooga? I have so much fun playing with the version hosted on HuggingFace, but it has a cool down after like 220 seconds or something and I want to play with this a whole lot more while I'm away from my machine at home.

Anthony Marc

ignorance is not a tech support issue, my man. When you find out what the problem is, I really hope you come back and apologize. I've had this issue before too and it is easy to fix and you are going to be really embarrassed when you find out what it is. For the record, this is working just fine for me. I followed the instructions and it worked like a charm. The first one doesn't take long, but the second one can take an hour depending on how fast your connection is, but as long as you have python and the required software installed, it works maybe not in 1 click, but definitely in 2.

Anthony Marc

HI. I tried to solve the same issue typing: env\Scripts\activate press enter python app.py press enter But I got this error: Traceback (most recent call last): File "D:\damian2024\LivePortrait WebUI (Aientrepreneur)\LivePortrait\app.py", line 7, in import tyro ModuleNotFoundError: No module named 'tyro' Any idea? Thanks!

Demm9k

Well, I was using 3.10.6. The forge installation guide told me to use that. (it was when forge was first released) I'll try 3.10.11 hopefully that works since nothing else does at the moment.

Michael Smart

It didn't work

Essence Cartoon

I've heard of it months ago but liveportrait is literally the same, except it works muuuuch better and uses less ressources. Also the aniportrait repo looks dead and hasn't been updated in months...

Aitrepreneur

it's most probably an initial bad python install that you had, try to uninstall every python versions you got are replace it with the 3.10.11 (without forgetting to check the "add to path" checkbox when reinstalling)

Aitrepreneur

Hi... you know this? Maybe i could be your next conent? :-D https://github.com/Zejun-Yang/AniPortrait

Marc

i had previously had an error where I had to roll back pip (I think it was pip) because Forge wouldn't start. Now since i tried to install this forge wont start again lol. Ughh it probably updated something now i'm getting the "ModuleNotFoundError: No module named 'tqdm.auto' Press any key to continue . . ." message again. It wont even start using the Run.bat file like it used to. EDIT: I'm trying to delete my VenV folder and see see if a fresh one will fix it. If it doesn't work I'll have to mess with it after work tomorrow.

Michael Smart

The errors I received while installing were the all related to pip being outdated such as "pip error download blah blab https://download.pytorch.org/whl/cu118" and "[notice] A new release of pip available: 22.2.1 -> 24.1.2 [notice] To update, run: python.exe -m pip install --upgrade pip"

Michael Smart

weird.....seen any error during install? have you tried the given photo and video examples below to see if at least the examples work correctly?

Aitrepreneur

I have the same issue, but even when i do get it to run it doesn't work. I use a photo and one of the sample videos and it produces the sample video wit the background widened, in that space it adds a crop of the static photo face next to it. As Feindbold said, I too probably have multiple python version installed but have never been able to completly get 3.11 to go away or uninstall.

Michael Smart

I had the same issue, turned out I had Python 3.10.6 and 3.11 installed. After uninstalling both and installing Python 3.10.11 the launcher worked after a new install of the ui.

Feindbold

Launcher works, just tried it on multiple computers, nothing changed...what happens when you drag and drop the launcher into a new command prompt window (after you put it inside the folder) You can also check if the install was done correctly by clicking on the folder path, typing cmd and inside type: env\Scripts\activate press enter python app.py press enter no need to reinstall it each time to launch it

Aitrepreneur

hey hey hey, what's going on here? Can you chill? You send god knows how many angry messages in the last few minutes? I see you've been a patreon for months yet you never reached out for help when you had an issue? How am I supposed to help you if you don't reach out to me? DM me what the issue is and bonus point I'll even refund your money if you are really not happy, no need to bring this kind of attitude here man

Aitrepreneur

hmm weird, try this installer instead : https://we.tl/t-h2OuNW5PR4 let me know if you see an error message pop up

Aitrepreneur

yeah runpod is really practical, they apparently even reduced their prices a few days ago so win-win

Aitrepreneur

Currently, to use it consistently, one can run the installer each time they want to run the program. If you leave that window open, the last thing in there will be the link you need to click to open up the program. Only the launcher is broken.

caidicus

The launcher doesn't seem to work. You can use it if you ctrl+left click the link in the window after running the installer, but the launcher itself only brings up a black window for less than a second, then disappears.

caidicus

HOW IN THE HELL IS THIS A 1 CLICK INSTALLER? I WANT MY MONEY BACK(YES I KNOW IM NOT GETTING IT BUT YOUR NOT GETTING ANYMORE OF IT UNTIL YOU ACTUALLY HAVE A 1 CLICK INSTALLER FOR LIVE PORTRAIT

John Ross

DOESNT WORK WHEN I GO AND DO ALL OF THIS THEN DOUBLE CLICK THE LIVE LAUNCHER.BAT IT OPENS UP A BLACK WINDOW FOR LESS THEN A SECOND WHICH THEN CLOSES BEFORE I CAN EVEN SEE WHAT IT SAYS BUT NO LIVEPORTRAIT OPENS ANYWHERE, BEEN A PATREON SUPPORTER OF YOUR FOR A FEW MONTHS NOW HAVE YET TO SEE ANYTHING THAT WORKS

John Ross

When I install the LIVE PORTRAIT Auto install bat file, it will run, and then after the Filtering content is at 100%, the window will disappear before a URL is created.

Essence Cartoon

Thanks so much for the installers and letting us know about Run Pod. I knew there was some way to do all this on a Cloud computer but you made so freaking easy to do.

Dougomite

I can’t for the stable audio fine tuning post 🙌🙌🙌🔥

olivier andrade


Related Creators