alievk / avatarify-python

Avatars for Zoom, Skype and other video-conferencing apps.
Other
16.29k stars 4.07k forks source link

Avatarify windows install good until #6 #279

Open Mremenar opened 4 years ago

Mremenar commented 4 years ago

Describe the bug

(base) C:\Users\Dad\avatarify>run_windows.bat Could not find conda environment: avatarify You can list all discoverable environments with conda info --envs.

Traceback (most recent call last): File "afy/cam_fomm.py", line 4, in import yaml ModuleNotFoundError: No module named 'yaml'

To Reproduce

https://github.com/alievk/avatarify Follow instructions of Windows install, get hung up on #6 after typing run_windows.bat, get error message above

Info (please complete the following information):

alievk commented 4 years ago

It says conda environment was not found. It means something went wrong during installation. Did you see any errors at that stage?

Mremenar commented 4 years ago

No. It matched the occurrence on your video. I will try to reinstall with disabled fire wall. M

“Fall seven times; stand up eight.” —Japanese proverb

On Sep 10, 2020, at 2:05 PM, Ali Aliev notifications@github.com wrote:

 It says conda environment was not found. It means something went wrong during installation. Did you see any errors at that stage?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Mremenar commented 4 years ago

Miniconda/Python 3.7 isn’t available; I had to install 3.8. Is that a problem? M

“Fall seven times; stand up eight.” —Japanese proverb

On Sep 11, 2020, at 9:29 AM, Marc Remenar marc.remenar@yahoo.com wrote:

No. It matched the occurrence on your video. I will try to reinstall with disabled fire wall. M

“Fall seven times; stand up eight.” —Japanese proverb

On Sep 10, 2020, at 2:05 PM, Ali Aliev notifications@github.com wrote:

 It says conda environment was not found. It means something went wrong during installation. Did you see any errors at that stage?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Mremenar commented 4 years ago

Hi Ali, I disabled my firewall and ran both miniconda 3.8 and Git as Administrators (Windows 10).I deleted the original avatarify directory and created anew.Attached as a text file is the full history of the Anaconda Prompt process.There is an error about 60% of the way down:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/pytorch/win-64/pytorch-1.0.0-py3.7_cuda100_cudnn7_1.tar.bz2 Elapsed: -

My miniconda/python is ver. 3.8 There is more in the attached text file.Thank you,Marc

On Thursday, September 10, 2020, 2:05:27 PM PDT, Ali Aliev <notifications@github.com> wrote:  

It says conda environment was not found. It means something went wrong during installation. Did you see any errors at that stage?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

(base) C:\Users\Dad>git clone https://github.com/alievk/avatarify.git Cloning into 'avatarify'... remote: Enumerating objects: 1283, done. remote: Total 1283 (delta 0), reused 0 (delta 0), pack-reused 1283 eceiving objects: 92% (1181/1283), 5.50 MiB | 1.20 MReceiving objects: 93% (1194/1283), 5.50 MiB | 1.20 MiB/s Receiving objects: 100% (1283/1283), 5.59 MiB | 1.21 MiB/s, done. Resolving deltas: 100% (825/825), done.

(base) C:\Users\Dad>cd avatarify

(base) C:\Users\Dad\avatarify>scripts\install_windows.bat conda found git found Collecting package metadata (current_repodata.json): done Solving environment: done

Package Plan

environment location: C:\Users\Dad\miniconda3\envs\avatarify

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
ca-certificates-2020.7.22  |                0         125 KB
certifi-2020.6.20          |           py37_0         156 KB
openssl-1.1.1g             |       he774522_1         4.8 MB
pip-20.2.2                 |           py37_0         1.7 MB
python-3.7.9               |       h60c2a47_0        14.4 MB
setuptools-49.6.0          |           py37_0         771 KB
sqlite-3.33.0              |       h2a8f88b_0         809 KB
vs2015_runtime-14.16.27012 |       hf0eaf9b_3         1.2 MB
wheel-0.35.1               |             py_0          37 KB
wincertstore-0.2           |           py37_0          14 KB
------------------------------------------------------------
                                       Total:        24.0 MB

The following NEW packages will be INSTALLED:

ca-certificates pkgs/main/win-64::ca-certificates-2020.7.22-0 certifi pkgs/main/win-64::certifi-2020.6.20-py37_0 openssl pkgs/main/win-64::openssl-1.1.1g-he774522_1 pip pkgs/main/win-64::pip-20.2.2-py37_0 python pkgs/main/win-64::python-3.7.9-h60c2a47_0 setuptools pkgs/main/win-64::setuptools-49.6.0-py37_0 sqlite pkgs/main/win-64::sqlite-3.33.0-h2a8f88b_0 vc pkgs/main/win-64::vc-14.1-h0510ff6_4 vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.16.27012-hf0eaf9b_3 wheel pkgs/main/noarch::wheel-0.35.1-py_0 wincertstore pkgs/main/win-64::wincertstore-0.2-py37_0 zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_4

Downloading and Extracting Packages pip-20.2.2 | 1.7 MB | ############################################################################ | 100% ca-certificates-2020 | 125 KB | ############################################################################ | 100% vs2015_runtime-14.16 | 1.2 MB | ############################################################################ | 100% openssl-1.1.1g | 4.8 MB | ############################################################################ | 100% wheel-0.35.1 | 37 KB | ############################################################################ | 100% setuptools-49.6.0 | 771 KB | ############################################################################ | 100% wincertstore-0.2 | 14 KB | ############################################################################ | 100% sqlite-3.33.0 | 809 KB | ############################################################################ | 100% python-3.7.9 | 14.4 MB | ############################################################################ | 100% certifi-2020.6.20 | 156 KB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done Rolling back transaction: done

[WinError 5] Access is denied ()

Collecting package metadata (current_repodata.json): done Solving environment: done

Package Plan

environment location: C:\Users\Dad\miniconda3\envs\avatarify

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
blas-1.0                   |              mkl           6 KB
cffi-1.14.2                |   py37h7a1dbc1_0         227 KB
cuda100-1.0                |                0           2 KB  pytorch
freetype-2.10.2            |       hd328e21_0         470 KB
intel-openmp-2020.2        |              254         1.6 MB
jpeg-9b                    |       hb83a4c4_2         245 KB
libpng-1.6.37              |       h2a8f88b_0         333 KB
libtiff-4.1.0              |       h56a325e_1         739 KB
lz4-c-1.9.2                |       h62dcd97_1         230 KB
mkl-2020.2                 |              256       109.3 MB
mkl-service-2.3.0          |   py37hb782905_0         210 KB
mkl_fft-1.1.0              |   py37h45dec08_0         116 KB
mkl_random-1.1.1           |   py37h47e9c7a_0         233 KB
ninja-1.10.1               |   py37h7ef1ec2_0         249 KB
numpy-1.19.1               |   py37h5510c5b_0          22 KB
numpy-base-1.19.1          |   py37ha3acd2a_0         3.8 MB
olefile-0.46               |           py37_0          49 KB
pillow-7.2.0               |   py37hcc1f983_0         661 KB
pycparser-2.20             |             py_2          94 KB
pytorch-1.0.0              |py3.7_cuda100_cudnn7_1       654.7 MB  pytorch
six-1.15.0                 |             py_0          13 KB
tk-8.6.10                  |       he774522_0         2.7 MB
torchvision-0.2.1          |             py_2          37 KB  pytorch
xz-5.2.5                   |       h62dcd97_0         244 KB
zstd-1.4.5                 |       h04227a9_0         456 KB
------------------------------------------------------------
                                       Total:       776.6 MB

The following NEW packages will be INSTALLED:

blas pkgs/main/win-64::blas-1.0-mkl ca-certificates pkgs/main/win-64::ca-certificates-2020.7.22-0 certifi pkgs/main/win-64::certifi-2020.6.20-py37_0 cffi pkgs/main/win-64::cffi-1.14.2-py37h7a1dbc1_0 cuda100 pytorch/win-64::cuda100-1.0-0 freetype pkgs/main/win-64::freetype-2.10.2-hd328e21_0 intel-openmp pkgs/main/win-64::intel-openmp-2020.2-254 jpeg pkgs/main/win-64::jpeg-9b-hb83a4c4_2 libpng pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0 libtiff pkgs/main/win-64::libtiff-4.1.0-h56a325e_1 lz4-c pkgs/main/win-64::lz4-c-1.9.2-h62dcd97_1 mkl pkgs/main/win-64::mkl-2020.2-256 mkl-service pkgs/main/win-64::mkl-service-2.3.0-py37hb782905_0 mkl_fft pkgs/main/win-64::mkl_fft-1.1.0-py37h45dec08_0 mkl_random pkgs/main/win-64::mkl_random-1.1.1-py37h47e9c7a_0 ninja pkgs/main/win-64::ninja-1.10.1-py37h7ef1ec2_0 numpy pkgs/main/win-64::numpy-1.19.1-py37h5510c5b_0 numpy-base pkgs/main/win-64::numpy-base-1.19.1-py37ha3acd2a_0 olefile pkgs/main/win-64::olefile-0.46-py37_0 openssl pkgs/main/win-64::openssl-1.1.1g-he774522_1 pillow pkgs/main/win-64::pillow-7.2.0-py37hcc1f983_0 pip pkgs/main/win-64::pip-20.2.2-py37_0 pycparser pkgs/main/noarch::pycparser-2.20-py_2 python pkgs/main/win-64::python-3.7.9-h60c2a47_0 pytorch pytorch/win-64::pytorch-1.0.0-py3.7_cuda100_cudnn7_1 setuptools pkgs/main/win-64::setuptools-49.6.0-py37_0 six pkgs/main/noarch::six-1.15.0-py_0 sqlite pkgs/main/win-64::sqlite-3.33.0-h2a8f88b_0 tk pkgs/main/win-64::tk-8.6.10-he774522_0 torchvision pytorch/noarch::torchvision-0.2.1-py_2 vc pkgs/main/win-64::vc-14.1-h0510ff6_4 vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.16.27012-hf0eaf9b_3 wheel pkgs/main/noarch::wheel-0.35.1-py_0 wincertstore pkgs/main/win-64::wincertstore-0.2-py37_0 xz pkgs/main/win-64::xz-5.2.5-h62dcd97_0 zlib pkgs/main/win-64::zlib-1.2.11-h62dcd97_4 zstd pkgs/main/win-64::zstd-1.4.5-h04227a9_0

Downloading and Extracting Packages intel-openmp-2020.2 | 1.6 MB | ############################################################################ | 100% libpng-1.6.37 | 333 KB | ############################################################################ | 100% mkl-service-2.3.0 | 210 KB | ############################################################################ | 100% six-1.15.0 | 13 KB | ############################################################################ | 100% lz4-c-1.9.2 | 230 KB | ############################################################################ | 100% torchvision-0.2.1 | 37 KB | ############################################################################ | 100% pytorch-1.0.0 | 654.7 MB | ########################################################################6 | 96% olefile-0.46 | 49 KB | ############################################################################ | 100% cffi-1.14.2 | 227 KB | ############################################################################ | 100% mkl_fft-1.1.0 | 116 KB | ############################################################################ | 100% numpy-1.19.1 | 22 KB | ############################################################################ | 100% cuda100-1.0 | 2 KB | ############################################################################ | 100% libtiff-4.1.0 | 739 KB | ############################################################################ | 100% mkl_random-1.1.1 | 233 KB | ############################################################################ | 100% mkl-2020.2 | 109.3 MB | ############################################################################ | 100% tk-8.6.10 | 2.7 MB | ############################################################################ | 100% jpeg-9b | 245 KB | ############################################################################ | 100% xz-5.2.5 | 244 KB | ############################################################################ | 100% ninja-1.10.1 | 249 KB | ############################################################################ | 100% freetype-2.10.2 | 470 KB | ############################################################################ | 100% pillow-7.2.0 | 661 KB | ############################################################################ | 100% blas-1.0 | 6 KB | ############################################################################ | 100% zstd-1.4.5 | 456 KB | ############################################################################ | 100% pycparser-2.20 | 94 KB | ############################################################################ | 100% numpy-base-1.19.1 | 3.8 MB | ############################################################################ | 100%

CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://conda.anaconda.org/pytorch/win-64/pytorch-1.0.0-py3.7_cuda100_cudnn7_1.tar.bz2 Elapsed: -

An HTTP error occurred when trying to retrieve this URL. HTTP errors are often intermittent, and a simple retry will get you on your way.

Collecting package metadata (current_repodata.json): done Solving environment: done

Package Plan

environment location: C:\Users\Dad\miniconda3\envs\avatarify

added / updated specs:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
openssl-1.1.1g             |       he774522_1         5.7 MB  conda-forge
pip-20.2.3                 |             py_0         1.1 MB  conda-forge
python-3.8.5               |h60c2a47_7_cpython        18.9 MB  conda-forge
setuptools-49.6.0          |   py38h32f6830_0         968 KB  conda-forge
sqlite-3.33.0              |       he774522_0         1.2 MB  conda-forge
vc-14.1                    |       h869be7e_1           6 KB  conda-forge
vs2015_runtime-14.16.27012 |       h30e32a0_2         2.2 MB  conda-forge
wheel-0.35.1               |     pyh9f0ad1d_0          29 KB  conda-forge
wincertstore-0.2           |        py38_1003          13 KB  conda-forge
------------------------------------------------------------
                                       Total:        30.1 MB

The following NEW packages will be INSTALLED:

blosc conda-forge/win-64::blosc-1.20.1-ha925a31_0 ca-certificates conda-forge/win-64::ca-certificates-2020.6.20-hecda079_0 certifi conda-forge/win-64::certifi-2020.6.20-py38h32f6830_0 intel-openmp pkgs/main/win-64::intel-openmp-2020.1-216 libblas conda-forge/win-64::libblas-3.8.0-16_mkl libcblas conda-forge/win-64::libcblas-3.8.0-16_mkl liblapack conda-forge/win-64::liblapack-3.8.0-16_mkl mkl pkgs/main/win-64::mkl-2020.1-216 numpy conda-forge/win-64::numpy-1.19.1-py38h72c728b_0 openssl conda-forge/win-64::openssl-1.1.1g-he774522_1 pip conda-forge/noarch::pip-20.2.3-py_0 python conda-forge/win-64::python-3.8.5-h60c2a47_7_cpython python-blosc pkgs/main/win-64::python-blosc-1.7.0-py38he774522_0 python_abi conda-forge/win-64::python_abi-3.8-1_cp38 setuptools conda-forge/win-64::setuptools-49.6.0-py38h32f6830_0 sqlite conda-forge/win-64::sqlite-3.33.0-he774522_0 vc conda-forge/win-64::vc-14.1-h869be7e_1 vs2015_runtime conda-forge/win-64::vs2015_runtime-14.16.27012-h30e32a0_2 wheel conda-forge/noarch::wheel-0.35.1-pyh9f0ad1d_0 wincertstore conda-forge/win-64::wincertstore-0.2-py38_1003

Downloading and Extracting Packages pip-20.2.3 | 1.1 MB | ############################################################################ | 100% wincertstore-0.2 | 13 KB | ############################################################################ | 100% python-3.8.5 | 18.9 MB | ############################################################################ | 100% sqlite-3.33.0 | 1.2 MB | ############################################################################ | 100% setuptools-49.6.0 | 968 KB | ############################################################################ | 100% vc-14.1 | 6 KB | ############################################################################ | 100% vs2015_runtime-14.16 | 2.2 MB | ############################################################################ | 100% wheel-0.35.1 | 29 KB | ############################################################################ | 100% openssl-1.1.1g | 5.7 MB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: done Rolling back transaction: done

[WinError 5] Access is denied ()

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 | 2.13 MiB/s, done. Resolving deltas: 100% (108/108), done. 'pip' is not recognized as an internal or external command, operable program or batch file.

(avatarify) C:\Users\Dad\avatarify>

alievk commented 4 years ago

Run Miniconda and run:

conda info --envs

Do you see avatarify env ?

Mremenar commented 4 years ago

(base) C:\Users\Dad>conda info --envs

conda environments:

# C:\ProgramData\Miniconda3 base * C:\Users\Dad\miniconda3 avatarify C:\Users\Dad\miniconda3\envs\avatarify python=3.7 C:\Users\Dad\miniconda3\envs\python=3.7

(base) C:\Users\Dad>