avatarify-python icon indicating copy to clipboard operation
avatarify-python copied to clipboard

i tried solving conda environment with libmamba not getting it please help

Open stanleyotf opened this issue 2 years ago • 14 comments

Describe the bug

To Reproduce

(base) C:\Users\umoek>git clone https://github.com/alievk/avatarify-python.git Cloning into 'avatarify-python'... remote: Enumerating objects: 1477, done. Receiving objects: 91% (1345/1477), 5.04 MiB | 1.57 MiB/sremote: Total 1477 (delta 0), reused 0 (delta 0), pack-reused Rece Receiving objects: 100% (1477/1477), 5.65 MiB | 1.66 MiB/s, done. Resolving deltas: 100% (953/953), done.

(base) C:\Users\umoek>cd avatarify-python

(base) C:\Users\umoek\avatarify-python>scripts\install_windows.bat conda found

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

EnvironmentNameNotFound: Could not find conda environment: avatarify You can list all discoverable environments with conda info --envs.

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

The system cannot find the file specified. Cloning into 'fomm'... remote: Enumerating objects: 211, done. remote: Total 211 (delta 0), reused 0 (delta 0), pack-reused 211 Receiving objects: 100% (211/211), 58.16 MiB | 5.37 MiB/s, done. Resolving deltas: 100% (108/108), done.

Usage: pip install [options] [package-index-options] ... pip install [options] -r [package-index-options] ... pip install [options] [-e] ... pip install [options] [-e] ... pip install [options] <archive url/path> ...

option --use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache')

(base) C:\Users\umoek\avatarify-python> Info (please complete the following information):

  • OS (e.g., Linux):
  • GPU model:
  • Any other relevant information:

Screenshots

Logs

stanleyotf avatar Apr 24 '23 09:04 stanleyotf

you can easily bypass this solving environment by editing your script\install_windows.bat

change this the line of code there to this exactly

call conda create -y -n %CONDA_ENV_NAME% python=3.10.11

note (just replace the version of that line of code : python version (3.10.11) to the version of python you are using)

seegunz avatar Apr 25 '23 21:04 seegunz

also, you can as well press CTRL C on you keyboard, this will interupt the code, and the type N and enter to continue, this will still proogress and run to completion then you can as well dowload other dependencies with

pip install pyyaml pip install requests pip install scipy pip install scikit-learn pip install face_alignment pip install sklearn conda install -c conda-forge scikit-learn pip install pandas

depends on the issues the windows prompt. just download those dependensies

seegunz avatar Apr 26 '23 11:04 seegunz

Hello @seegunz I keep having this issue after running the entire process for a Nvidia RTX 3070:

(base) C:\Users\Public\Avatarifiy\avatarify-python>run_windows.bat [1682755986.954881] Loading Predictor Traceback (most recent call last): File "afy/cam_fomm.py", line 216, in from afy import predictor_local File "C:\Users\Public\Avatarifiy\avatarify-python\afy\predictor_local.py", line 2, in import torch ModuleNotFoundError: No module named 'torch'

Please Please what am I doing wrong? Any help will be appreciated

MalcolmX10 avatar Apr 29 '23 08:04 MalcolmX10

Hello @seegunz I keep having this issue after running the entire process for a Nvidia RTX 3070:

(base) C:\Users\Public\Avatarifiy\avatarify-python>run_windows.bat [1682755986.954881] Loading Predictor Traceback (most recent call last): File "afy/cam_fomm.py", line 216, in from afy import predictor_local File "C:\Users\Public\Avatarifiy\avatarify-python\afy\predictor_local.py", line 2, in import torch ModuleNotFoundError: No module named 'torch'

Please Please what am I doing wrong? Any help will be appreciated

run this code below

pip uninstall torch pip cache purge pip install torch -f https://download.pytorch.org/whl/torch_stable.html

seegunz avatar May 01 '23 20:05 seegunz

Hello @seegunz I keep having this issue after running the entire process for a Nvidia RTX 3070:

(base) C:\Users\Public\Avatarifiy\avatarify-python>run_windows.bat [1682755986.954881] Loading Predictor Traceback (most recent call last): File "afy/cam_fomm.py", line 216, in from afy import predictor_local File "C:\Users\Public\Avatarifiy\avatarify-python\afy\predictor_local.py", line 2, in import torch ModuleNotFoundError: No module named 'torch'

Please Please what am I doing wrong? Any help will be appreciated

You need to re install pytorch if you havent already done that

abladefelix avatar May 03 '23 02:05 abladefelix

Sorry i did this process and it works but it was slow kind of dragging not moving as i was why and any solution for that.?

veragreg avatar Jun 01 '23 20:06 veragreg

You probably had it running wit cpu and not GPU. I hope you are using an Nvidia enabled system.

abladefelix avatar Jun 01 '23 20:06 abladefelix

If you have nvidia GPU Rtx or gtx dm now let's fix the lagging

‪+234 811 513 3627‬

MICKYGEM avatar Jun 17 '23 07:06 MICKYGEM

ImportError: DLL load failed. The specified module could not be found error. please help avatar

MonsieurJay avatar Jun 21 '23 18:06 MonsieurJay

Pip Install Pillow==9.0.0

On Wed, Jun 21, 2023 at 7:58 PM MonsieurJay @.***> wrote:

ImportError: DLL load failed. The specified module could not be found error. please help [image: avatar] https://user-images.githubusercontent.com/137331330/247697840-e25c62e2-b13a-424f-a98a-0f7da7737695.png

— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/576#issuecomment-1601416841, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKL6YJ3NFTRLLNFP7PACT33XMM75VANCNFSM6AAAAAAXJJRESE . You are receiving this because you commented.Message ID: @.***>

-- MICKYGEM💎

MICKYGEM avatar Jun 22 '23 05:06 MICKYGEM

error msg

Pls help I've followed all your instructions but thus error keeps coming up

MonsieurJay avatar Jun 23 '23 15:06 MonsieurJay

What’s app text 🥹🥹

On Fri, Jun 23, 2023 at 4:53 PM MonsieurJay @.***> wrote:

[image: error msg] https://user-images.githubusercontent.com/137331330/248314684-f2ea650c-836f-4c8b-9081-7a25adca3fc4.png

Pls help I've followed all your instructions but thus error keeps coming up

— Reply to this email directly, view it on GitHub https://github.com/alievk/avatarify-python/issues/576#issuecomment-1604477714, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKL6YJYXKEWOHCGIZUALKU3XMW3YHANCNFSM6AAAAAAXJJRESE . You are receiving this because you commented.Message ID: @.***>

-- MICKYGEM💎

MICKYGEM avatar Jun 23 '23 21:06 MICKYGEM

error msg

Pls help I've followed all your instructions but thus error keeps coming up

read through the instructions

seegunz avatar Aug 15 '23 22:08 seegunz

Can you check my video on YouTube

SanPatrick01 avatar Aug 18 '23 01:08 SanPatrick01