-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
option --use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache') issues #510
Comments
hey! did you find a solution to the problem? i am also having the same problem and i need help figuring it out, |
No solution yet I’m stuck in between hon I don’t know what to do …
…On Sat, Jan 21, 2023 at 12:07 PM james66772 ***@***.***> wrote:
hey! did you find a solution to the problem? i am also having the same
problem and i need help figuring it out,
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5KGWLMP7QT2Z2FBNHQKNCLWTQ6ZBANCNFSM6AAAAAAUCIEQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hello again |
I'm still having same issues. Anyone found a solution to it yet? |
Hello everyone, how do I solve this issue, please I need response option --use-feature: invalid choice: '2020-resolver' (choose from 'fast-deps', 'truststore', 'no-binary-enable-wheel-cache') issues |
Please anyone who has the solution should drop. I'm stuck here |
I'm digging into this right now, not sure if it's helpful. Edit: So maybe try running the command without
|
(base) C:\Users\myyea>git clone
https://github.com/alievk/avatarify-python.git
Cloning into 'avatarify-python'...
remote: Enumerating objects: 1477, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (38/38), done.Receiving objects: 0%
(1/1477)
remote: Total 1477 (delta 20), reused 23 (delta 6), pack-reused 1433
Receiving objects: 100% (1477/1477), 5.66 MiB | 402.00 KiB/s, done.
Resolving deltas: 100% (952/952), done.
(base) C:\Users\myyea>cd avatarify-python
(base) C:\Users\myyea\avatarify-python>scripts\install_windows.bat
conda found
Retrieving notices: ...working... done
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 22.11.1
latest version: 23.1.0
Please update conda by running
$ conda update -n base -c defaults conda
Or to minimize the number of packages updated during conda update use
conda install conda=23.1.0
## Package Plan ##
environment location: C:\Users\myyea\miniconda3\envs\avatarify
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2023.01.10 | haa95532_0 121 KB
python-3.7.16 | h6244533_0 17.2 MB
setuptools-65.6.3 | py37haa95532_0 1.1 MB
sqlite-3.40.1 | h2bbff1b_0 889 KB
------------------------------------------------------------
Total: 19.3 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2023.01.10-haa95532_0
certifi pkgs/main/win-64::certifi-2022.12.7-py37haa95532_0
openssl pkgs/main/win-64::openssl-1.1.1s-h2bbff1b_0
pip pkgs/main/win-64::pip-22.3.1-py37haa95532_0
python pkgs/main/win-64::python-3.7.16-h6244533_0
setuptools pkgs/main/win-64::setuptools-65.6.3-py37haa95532_0
sqlite pkgs/main/win-64::sqlite-3.40.1-h2bbff1b_0
vc pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
wincertstore pkgs/main/win-64::wincertstore-0.2-py37haa95532_2
Downloading and Extracting Packages
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://repo.anaconda.com/pkgs/main/win-64/python-3.7.16-h6244533_0.conda>
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.
EnvironmentNameNotFound: Could not find conda environment: avatarify
You can list all discoverable environments with `conda info --envs`.
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with
flexible solve.
Collecting package metadata (repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://conda.anaconda.org/conda-forge/win-64/repodata.json>
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.
'https//conda.anaconda.org/conda-forge/win-64'
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with
flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: C:\Users\myyea\miniconda3
added / updated specs:
- cudatoolkit=11.0
- pytorch==1.7.1
- torchvision
The following packages will be downloaded:
package | build
---------------------------|-----------------
blas-1.0 | mkl 6 KB
conda-23.1.0 | py37haa95532_0 940 KB
cudatoolkit-11.0.221 | h74a9793_0 627.0 MB
freetype-2.12.1 | ha860e81_0 490 KB
intel-openmp-2021.4.0 | haa95532_3556 2.2 MB
jpeg-9b | hb83a4c4_2 245 KB
lerc-3.0 | hd77b12b_0 120 KB
libdeflate-1.8 | h2bbff1b_5 46 KB
libpng-1.6.37 | h2a8f88b_0 333 KB
libtiff-4.5.0 | h8a3f274_0 1.2 MB
libuv-1.40.0 | he774522_0 255 KB
libwebp-1.2.4 | h2bbff1b_0 67 KB
libwebp-base-1.2.4 | h2bbff1b_0 279 KB
lz4-c-1.9.4 | h2bbff1b_0 143 KB
mkl-2021.4.0 | haa95532_640 114.9 MB
mkl-service-2.4.0 | py37h2bbff1b_0 49 KB
mkl_fft-1.3.1 | py37h277e83a_0 135 KB
mkl_random-1.2.2 | py37hf11a4ad_0 216 KB
ninja-1.10.2 | haa95532_5 14 KB
ninja-base-1.10.2 | h6d14046_5 255 KB
numpy-1.21.5 | py37h7a0a035_3 25 KB
numpy-base-1.21.5 | py37hca35cd5_3 4.4 MB
pillow-9.3.0 | py37hdc2b20a_1 1009 KB
pytorch-1.7.1 |py3.7_cuda110_cudnn8_0 1007.2 MB
pytorch
tk-8.6.12 | h2bbff1b_0 3.1 MB
torchvision-0.8.2 | py37_cu110 7.2 MB pytorch
xz-5.2.10 | h8cc25b3_1 520 KB
zlib-1.2.13 | h8cc25b3_0 113 KB
zstd-1.5.2 | h19a0ad4_0 509 KB
------------------------------------------------------------
Total: 1.73 GB
The following NEW packages will be INSTALLED:
blas pkgs/main/win-64::blas-1.0-mkl
cudatoolkit pkgs/main/win-64::cudatoolkit-11.0.221-h74a9793_0
freetype pkgs/main/win-64::freetype-2.12.1-ha860e81_0
intel-openmp pkgs/main/win-64::intel-openmp-2021.4.0-haa95532_3556
jpeg pkgs/main/win-64::jpeg-9b-hb83a4c4_2
lerc pkgs/main/win-64::lerc-3.0-hd77b12b_0
libdeflate pkgs/main/win-64::libdeflate-1.8-h2bbff1b_5
libpng pkgs/main/win-64::libpng-1.6.37-h2a8f88b_0
libtiff pkgs/main/win-64::libtiff-4.5.0-h8a3f274_0
libuv pkgs/main/win-64::libuv-1.40.0-he774522_0
libwebp pkgs/main/win-64::libwebp-1.2.4-h2bbff1b_0
libwebp-base pkgs/main/win-64::libwebp-base-1.2.4-h2bbff1b_0
lz4-c pkgs/main/win-64::lz4-c-1.9.4-h2bbff1b_0
mkl pkgs/main/win-64::mkl-2021.4.0-haa95532_640
mkl-service pkgs/main/win-64::mkl-service-2.4.0-py37h2bbff1b_0
mkl_fft pkgs/main/win-64::mkl_fft-1.3.1-py37h277e83a_0
mkl_random pkgs/main/win-64::mkl_random-1.2.2-py37hf11a4ad_0
ninja pkgs/main/win-64::ninja-1.10.2-haa95532_5
ninja-base pkgs/main/win-64::ninja-base-1.10.2-h6d14046_5
numpy pkgs/main/win-64::numpy-1.21.5-py37h7a0a035_3
numpy-base pkgs/main/win-64::numpy-base-1.21.5-py37hca35cd5_3
pillow pkgs/main/win-64::pillow-9.3.0-py37hdc2b20a_1
pytorch pytorch/win-64::pytorch-1.7.1-py3.7_cuda110_cudnn8_0
tk pkgs/main/win-64::tk-8.6.12-h2bbff1b_0
torchvision pytorch/win-64::torchvision-0.8.2-py37_cu110
xz pkgs/main/win-64::xz-5.2.10-h8cc25b3_1
zlib pkgs/main/win-64::zlib-1.2.13-h8cc25b3_0
zstd pkgs/main/win-64::zstd-1.5.2-h19a0ad4_0
The following packages will be UPDATED:
ca-certificates 2022.10.11-haa95532_0 -->
2023.01.10-haa95532_0
conda 22.11.1-py37haa95532_4 -->
23.1.0-py37haa95532_0
Downloading and Extracting Packages
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://conda.anaconda.org/pytorch/win-64/pytorch-1.7.1-py3.7_cuda110_cudnn8_0.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.
CancelledError()
CancelledError()
CancelledError()
CancelledError()
CancelledError()
CancelledError()
CancelledError()
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://conda.anaconda.org/pytorch/win-64/torchvision-0.8.2-py37_cu110.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.
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://repo.anaconda.com/pkgs/main/win-64/cudatoolkit-11.0.221-h74a9793_0.conda
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.
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <
https://repo.anaconda.com/pkgs/main/win-64/mkl-2021.4.0-haa95532_640.conda>
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
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(141): Could
not remove or rename
C:\Users\myyea\miniconda3\pkgs\pytorch-1.7.1-py3.7_cuda110_cudnn8_0.tar.bz2.
Please remove this file manually (you may need to reboot to free file
handles)
WARNING conda.gateways.disk.delete:unlink_or_rename_to_trash(141): Could
not remove or rename
C:\Users\myyea\miniconda3\pkgs\torchvision-0.8.2-py37_cu110.tar.bz2.
Please remove this file manually (you may need to reboot to free file
handles)
## Package Plan ##
environment location: C:\Users\myyea\miniconda3
added / updated specs:
- git
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2022.4.26 | haa95532_0 163 KB anaconda
certifi-2022.6.15 | py37haa95532_0 157 KB anaconda
git-2.34.1 | haa95532_0 95.5 MB anaconda
------------------------------------------------------------
Total: 95.8 MB
The following NEW packages will be INSTALLED:
git anaconda/win-64::git-2.34.1-haa95532_0
The following packages will be UPDATED:
conda 22.11.1-py37haa95532_4 -->
23.1.0-py37haa95532_0
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates pkgs/main::ca-certificates-2022.10.11~ -->
anaconda::ca-certificates-2022.4.26-haa95532_0
certifi pkgs/main::certifi-2022.12.7-py37haa9~ -->
anaconda::certifi-2022.6.15-py37haa95532_0
Downloading and Extracting Packages
("Connection broken: ConnectionResetError(10054, 'An existing connection
was forcibly closed by the remote host', None, 10054, None)",
ConnectionResetError(10054, 'An existing connection was forcibly closed by
the remote host', None, 10054, None))
The system cannot find the file specified.
Cloning into 'fomm'...
fatal: unable to access 'https://github.com/alievk/first-order-model.git/':
Could not resolve host: github.com
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
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\myyea\avatarify-python>
(base) C:\Users\myyea\avatarify-python>pip install "six>=1.12.0,<2"
"virtualenv==20.0.2"
Requirement already satisfied: six<2,>=1.12.0 in
c:\users\myyea\miniconda3\lib\site-packages (1.16.0)
Collecting virtualenv==20.0.2
Using cached virtualenv-20.0.2-py2.py3-none-any.whl (4.6 MB)
Collecting distlib<1,>=0.3.0
Using cached distlib-0.3.6-py2.py3-none-any.whl (468 kB)
Collecting appdirs<2,>=1.4.3
Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting filelock<4,>=3.0.0
Using cached filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting importlib-metadata<2,>=0.12
Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB)
Requirement already satisfied: zipp>=0.5 in
c:\users\myyea\miniconda3\lib\site-packages (from
importlib-metadata<2,>=0.12->virtualenv==20.0.2) (3.8.0)
Installing collected packages: distlib, appdirs, importlib-metadata,
filelock, virtualenv
Attempting uninstall: importlib-metadata
Found existing installation: importlib-metadata 4.11.3
Uninstalling importlib-metadata-4.11.3:
Successfully uninstalled importlib-metadata-4.11.3
Successfully installed appdirs-1.4.4 distlib-0.3.6 filelock-3.9.0
importlib-metadata-1.7.0 virtualenv-20.0.2
(base) C:\Users\myyea\avatarify-python>run_windows.bat
EnvironmentNameNotFound: 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 <module>
import yaml
ModuleNotFoundError: No module named 'yaml'
(base) C:\Users\myyea\avatarify-python>py -m pip install
SomePackage-1.0-py2.py3-none-any.whl
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>py -m pip install wheel
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>py -m pip wheel
--wheel-dir=/local/wheels -r requirements.txt
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>py -m pip install SomePackage
# latest version
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>py -m pip install SomePackage==1.0.4
# specific version
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>py -m pip install
'SomePackage>=1.0.4' # minimum version
'py' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>pip install --force-reinstall
ERROR: You must give at least one requirement to install (see "pip help
install")
(base) C:\Users\myyea\avatarify-python>python -m pip install --upgrade pip
Requirement already satisfied: pip in
c:\users\myyea\miniconda3\lib\site-packages (22.3.1)
Collecting pip
Using cached pip-23.0-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 22.3.1
Uninstalling pip-22.3.1:
Successfully uninstalled pip-22.3.1
Successfully installed pip-23.0
(base) C:\Users\myyea\avatarify-python>pip check
No broken requirements found.
(base) C:\Users\myyea\avatarify-python>pip install requirements.txt
ERROR: Could not find a version that satisfies the requirement
requirements.txt (from versions: none)
HINT: You are attempting to install a package literally named
"requirements.txt" (which cannot exist). Consider using the '-r' flag to
install the packages listed in requirements.txt
ERROR: No matching distribution found for requirements.txt
(base) C:\Users\myyea\avatarify-python>pip install --force-reinstall
ERROR: You must give at least one requirement to install (see "pip help
install")
(base) C:\Users\myyea\avatarify-python>--use-deprecated=legacy-resolver
'--use-deprecated' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>pip install
--use-deprecated=legacy-resolver
ERROR: You must give at least one requirement to install (see "pip help
install")
(base) C:\Users\myyea\avatarify-python>pip install "six>=1.12.0,<2"
"virtualenv==20.0.2"
Requirement already satisfied: six<2,>=1.12.0 in
c:\users\myyea\miniconda3\lib\site-packages (1.16.0)
Requirement already satisfied: virtualenv==20.0.2 in
c:\users\myyea\miniconda3\lib\site-packages (20.0.2)
Requirement already satisfied: filelock<4,>=3.0.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(3.9.0)
Requirement already satisfied: appdirs<2,>=1.4.3 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(1.4.4)
Requirement already satisfied: distlib<1,>=0.3.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(0.3.6)
Requirement already satisfied: importlib-metadata<2,>=0.12 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(1.7.0)
Requirement already satisfied: zipp>=0.5 in
c:\users\myyea\miniconda3\lib\site-packages (from
importlib-metadata<2,>=0.12->virtualenv==20.0.2) (3.8.0)
(base) C:\Users\myyea\avatarify-python>pip install tornado==5.0
sprockets.http==1.5.0 --use-feature=2020-resolver
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
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\myyea\avatarify-python>pip install
flake8-import-order==0.17.1 flake8==3.5.0 --use-feature=2020-resolver
Usage:
pip install [options] <requirement specifier> [package-index-options] ...
pip install [options] -r <requirements file> [package-index-options] ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
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\myyea\avatarify-python>python -m pip install --upgrade pip
Requirement already satisfied: pip in
c:\users\myyea\miniconda3\lib\site-packages (23.0)
(base) C:\Users\myyea\avatarify-python>pip check
No broken requirements found.
(base) C:\Users\myyea\avatarify-python>pip install requirements.txt
ERROR: Could not find a version that satisfies the requirement
requirements.txt (from versions: none)
HINT: You are attempting to install a package literally named
"requirements.txt" (which cannot exist). Consider using the '-r' flag to
install the packages listed in requirements.txt
ERROR: No matching distribution found for requirements.txt
(base) C:\Users\myyea\avatarify-python>pip install "six<1.12"
"virtualenv==20.0.2"
Collecting six<1.12
Using cached six-1.11.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: virtualenv==20.0.2 in
c:\users\myyea\miniconda3\lib\site-packages (20.0.2)
Requirement already satisfied: filelock<4,>=3.0.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(3.9.0)
ERROR: Cannot install six<1.12 and virtualenv==20.0.2 because these package
versions have conflicting dependencies.
The conflict is caused by:
The user requested six<1.12
virtualenv 20.0.2 depends on six<2 and >=1.12.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency
conflict
ERROR: ResolutionImpossible: for help visit
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
(base) C:\Users\myyea\avatarify-python>pip install "six<1.12"
"virtualenv==20.0.2"
Collecting six<1.12
Using cached six-1.11.0-py2.py3-none-any.whl (10 kB)
Requirement already satisfied: virtualenv==20.0.2 in
c:\users\myyea\miniconda3\lib\site-packages (20.0.2)
Requirement already satisfied: importlib-metadata<2,>=0.12 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(1.7.0)
Requirement already satisfied: filelock<4,>=3.0.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(3.9.0)
ERROR: Cannot install six<1.12 and virtualenv==20.0.2 because these package
versions have conflicting dependencies.
The conflict is caused by:
The user requested six<1.12
virtualenv 20.0.2 depends on six<2 and >=1.12.0
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency
conflict
ERROR: ResolutionImpossible: for help visit
https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
(base) C:\Users\myyea\avatarify-python>pip install "six>=1.12.0,<2"
"virtualenv==20.0.2"
Requirement already satisfied: six<2,>=1.12.0 in
c:\users\myyea\miniconda3\lib\site-packages (1.16.0)
Requirement already satisfied: virtualenv==20.0.2 in
c:\users\myyea\miniconda3\lib\site-packages (20.0.2)
Requirement already satisfied: distlib<1,>=0.3.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(0.3.6)
Requirement already satisfied: filelock<4,>=3.0.0 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(3.9.0)
Requirement already satisfied: importlib-metadata<2,>=0.12 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(1.7.0)
Requirement already satisfied: appdirs<2,>=1.4.3 in
c:\users\myyea\miniconda3\lib\site-packages (from virtualenv==20.0.2)
(1.4.4)
Requirement already satisfied: zipp>=0.5 in
c:\users\myyea\miniconda3\lib\site-packages (from
importlib-metadata<2,>=0.12->virtualenv==20.0.2) (3.8.0)
(base) C:\Users\myyea\avatarify-python>run window.bat
'run' is not recognized as an internal or external command,
operable program or batch file.
(base) C:\Users\myyea\avatarify-python>
(base) C:\Users\myyea\avatarify-python>
(base) C:\Users\myyea\avatarify-python>
oops still nothing change
please can you send me step by step how to run this commands
and also file that is already fix and has the latest version installed,
i'm using windows 11
please help me
…On Wed, 8 Feb 2023 at 15:22, ericabrauer-ddc ***@***.***> wrote:
I'm digging into this right now, not sure if it's helpful:
https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5KGWLI42QB7UN7EONTLYP3WWOT23ANCNFSM6AAAAAAUCIEQGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
do you guys have a representative who can possibly help me out with this issues via anydesk ??? |
(base) C:\Users\myyea\avatarify-python>run_windows.bat EnvironmentNameNotFound: Could not find conda environment: avatarify Traceback (most recent call last): (base) C:\Users\myyea\avatarify-python> |
(avatarify) C:\Users\myyea\avatarify-python>run_windows (avatarify) C:\Users\myyea\avatarify-python>call scripts/settings_windows.bat (avatarify) C:\Users\myyea\avatarify-python>REM Conda environment name (avatarify) C:\Users\myyea\avatarify-python>set CONDA_ENV_NAME=avatarify (avatarify) C:\Users\myyea\avatarify-python>call conda activate %CONDA_ENV_NAME% (avatarify) C:\Users\myyea\avatarify-python>set CONFIG=fomm/config/vox-adv-256.yaml (avatarify) C:\Users\myyea\avatarify-python>set PYTHONPATH=%PYTHONPATH%;%CD%;%CD%/fomm (avatarify) C:\Users\myyea\avatarify-python>call python afy/cam_fomm.py --config %CONFIG% --relative --adapt_scale --no-pad --checkpoint vox-adv-cpk.pth.tar %* (avatarify) C:\Users\myyea\avatarify-python> |
@KratozdCoder here are the instructions for how to create a pull request, so you could become a contributor to this project if you submit a fix for this issue: https://docs.github.com/en/desktop/contributing-and-collaborating-using-github-desktop/working-with-your-remote-repository-on-github-or-github-enterprise/creating-an-issue-or-pull-request |
@KratozdCoder Wouldn't it be nice if you put up the solution here and save everyone the hassle of Direct Message |
has anyone here been able to solve that issue |
facing same issue too, someone should help |
Mine finally worked after so much stress, the solution lies with pip |
How did you solve the problem?? |
|
The --use-feature=2020-resolver option was used in older versions of pip to enable a new dependency resolver that is now the default behavior in the latest versions of pip. It seems that you have a newer version of pip installed, and you don't need to use this flag anymore. |
For me solved the issue by downgrade pip pip install pip==21.0 |
@JohanAR has anyone solve this yet. I'm having problems with mine. |
Nobody is actively working on avatarify at the moment to my knowledge. Some other person forked the project a few months back, you could check that out if you want. |
@JohanAR Please I really need this and I have spend days dealing on it. Please I would love it and be really grateful if you can help on this. |
@JohanAR I have checked all comment but didn't found any that base on solving this. |
Sorry, I don't have time to work with this now. I think the various Python dependencies have changed too much and it would probably take a couple of days of work to sort everything out. Maybe I can give it a go when I have vacation in September. This is an open source project so anyone with a bit of programming knowledge could spend some time and work on it, that's how I got recruited to become co-maintainer :) |
What problem is that
On Mon, 24 Jul 2023 at 8:26 PM, believe123122 ***@***.***> wrote:
@JohanAR <https://github.com/JohanAR> I have checked all comment but
didn't found any that base on solving this.
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKL6YJZC2MANUFLTKQUVPWLXR3D5NANCNFSM6AAAAAAUCIEQGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
MICKYGEM💎
|
please how did you go about fixing this?
…On Tue, Mar 28, 2023 at 12:44 AM doomsday0965 ***@***.***> wrote:
Mine finally worked after so much stress, the solution lies with pip
—
Reply to this email directly, view it on GitHub
<#510 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC5ES6CQNYPTRCWPLYATHBTW6KJG7ANCNFSM6AAAAAAUCIEQGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Sharifah Qistina
Sharifah Qistina, Sharifah Qistina
Create your own email signature
<https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=>
|
This works just fine! |
Just remove the flag this is the solution given by @shanecp |
I have worked it out. the "2020-resolver" options given will not work. Dm or whatsapp +233552366834 so i help you out and it will work perfectly. Thank you. |
Not mentioning --use-feature=2020-resolver worked for me. Python3.11, pip-24.0. Thanks to @shanecp :) |
(base) C:\Users\myyea>cd avatarify-python-youtube
(base) C:\Users\myyea\avatarify-python-youtube>scripts\install_windows.bat
conda found
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.11.1
Please update conda by running
Package Plan
environment location: C:\Users\myyea\miniconda3\envs\avatarify
added / updated specs:
- python=3.7
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/win-64::ca-certificates-2022.10.11-haa95532_0
certifi pkgs/main/win-64::certifi-2022.12.7-py37haa95532_0
openssl pkgs/main/win-64::openssl-1.1.1s-h2bbff1b_0
pip pkgs/main/win-64::pip-22.3.1-py37haa95532_0
python pkgs/main/win-64::python-3.7.16-h6244533_0
setuptools pkgs/main/win-64::setuptools-65.6.3-py37haa95532_0
sqlite pkgs/main/win-64::sqlite-3.40.1-h2bbff1b_0
vc pkgs/main/win-64::vc-14.2-h21ff451_1
vs2015_runtime pkgs/main/win-64::vs2015_runtime-14.27.29016-h5e58377_2
wheel pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
wincertstore pkgs/main/win-64::wincertstore-0.2-py37haa95532_2
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
To activate this environment, use
$ conda activate avatarify
To deactivate an active environment, use
$ conda deactivate
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.11.1
Please update conda by running
Package Plan
environment location: C:\Users\myyea\miniconda3\envs\avatarify
added / updated specs:
- numpy==1.19.0
- python-blosc==1.7.0
- scikit-image
The following NEW packages will be INSTALLED:
blosc conda-forge/win-64::blosc-1.21.1-h74325e0_3
bzip2 conda-forge/win-64::bzip2-1.0.8-h8ffe710_4
c-blosc2 conda-forge/win-64::c-blosc2-2.3.1-hdf67494_0
cfitsio conda-forge/win-64::cfitsio-4.0.0-hd67004f_0
charls conda-forge/win-64::charls-2.3.4-h39d44d4_0
cloudpickle conda-forge/noarch::cloudpickle-2.2.1-pyhd8ed1ab_0
cytoolz conda-forge/win-64::cytoolz-0.12.0-py37hcc03f2d_0
dask-core conda-forge/noarch::dask-core-2022.2.0-pyhd8ed1ab_0
decorator conda-forge/noarch::decorator-5.1.1-pyhd8ed1ab_0
freetype conda-forge/win-64::freetype-2.12.1-h546665d_0
fsspec conda-forge/noarch::fsspec-2023.1.0-pyhd8ed1ab_0
giflib conda-forge/win-64::giflib-5.2.1-h8d14728_2
imagecodecs conda-forge/win-64::imagecodecs-2021.11.20-py37hfea8715_2
imageio conda-forge/noarch::imageio-2.24.0-pyh24c5eb1_0
intel-openmp conda-forge/win-64::intel-openmp-2023.0.0-h57928b3_25922
jpeg conda-forge/win-64::jpeg-9e-h8ffe710_2
jxrlib conda-forge/win-64::jxrlib-1.1-h8ffe710_2
krb5 conda-forge/win-64::krb5-1.19.3-h1176d77_0
lcms2 conda-forge/win-64::lcms2-2.12-h2a16943_0
lerc conda-forge/win-64::lerc-3.0-h0e60522_0
libaec conda-forge/win-64::libaec-1.0.6-h39d44d4_0
libblas conda-forge/win-64::libblas-3.9.0-16_win64_mkl
libbrotlicommon conda-forge/win-64::libbrotlicommon-1.0.9-h8ffe710_7
libbrotlidec conda-forge/win-64::libbrotlidec-1.0.9-h8ffe710_7
libbrotlienc conda-forge/win-64::libbrotlienc-1.0.9-h8ffe710_7
libcblas conda-forge/win-64::libcblas-3.9.0-16_win64_mkl
libcurl conda-forge/win-64::libcurl-7.83.1-h789b8ee_0
libdeflate conda-forge/win-64::libdeflate-1.10-h8ffe710_0
liblapack conda-forge/win-64::liblapack-3.9.0-16_win64_mkl
libpng conda-forge/win-64::libpng-1.6.37-h1d00b33_4
libssh2 conda-forge/win-64::libssh2-1.10.0-h680486a_3
libtiff conda-forge/win-64::libtiff-4.4.0-hc4061b1_0
libwebp-base conda-forge/win-64::libwebp-base-1.2.4-h8ffe710_0
libxcb conda-forge/win-64::libxcb-1.13-hcd874cb_1004
libzlib conda-forge/win-64::libzlib-1.2.12-h8ffe710_2
libzopfli conda-forge/win-64::libzopfli-1.0.3-h0e60522_0
locket conda-forge/noarch::locket-1.0.0-pyhd8ed1ab_0
lz4-c conda-forge/win-64::lz4-c-1.9.3-h8ffe710_1
m2w64-gcc-libgfor~ conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6
m2w64-gcc-libs conda-forge/win-64::m2w64-gcc-libs-5.3.0-7
m2w64-gcc-libs-co~ conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7
m2w64-gmp conda-forge/win-64::m2w64-gmp-6.1.0-2
m2w64-libwinpthre~ conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
mkl conda-forge/win-64::mkl-2022.1.0-h6a75c08_874
msys2-conda-epoch conda-forge/win-64::msys2-conda-epoch-20160418-1
networkx conda-forge/noarch::networkx-2.5-py_0
numpy conda-forge/win-64::numpy-1.19.0-py37hae9e721_0
openjpeg conda-forge/win-64::openjpeg-2.5.0-hc9384bd_1
packaging conda-forge/noarch::packaging-23.0-pyhd8ed1ab_0
partd conda-forge/noarch::partd-1.3.0-pyhd8ed1ab_0
pillow conda-forge/win-64::pillow-9.2.0-py37h42a8222_2
pthread-stubs conda-forge/win-64::pthread-stubs-0.4-hcd874cb_1001
python-blosc conda-forge/win-64::python-blosc-1.7.0-py37h6538335_1001
python_abi conda-forge/win-64::python_abi-3.7-2_cp37m
pywavelets conda-forge/win-64::pywavelets-1.3.0-py37hec80d1f_0
pyyaml conda-forge/win-64::pyyaml-6.0-py37hcc03f2d_4
scikit-image conda-forge/win-64::scikit-image-0.19.2-py37h9386db6_0
scipy conda-forge/win-64::scipy-1.7.3-py37hb6553fb_0
snappy conda-forge/win-64::snappy-1.1.9-h82413e6_1
tbb conda-forge/win-64::tbb-2021.5.0-h2d74725_1
tifffile conda-forge/noarch::tifffile-2021.11.2-pyhd8ed1ab_0
tk conda-forge/win-64::tk-8.6.12-h8ffe710_0
toolz conda-forge/noarch::toolz-0.12.0-pyhd8ed1ab_0
xorg-libxau conda-forge/win-64::xorg-libxau-1.0.9-hcd874cb_0
xorg-libxdmcp conda-forge/win-64::xorg-libxdmcp-1.1.3-hcd874cb_0
xz conda-forge/win-64::xz-5.2.6-h8d14728_0
yaml conda-forge/win-64::yaml-0.2.5-h8ffe710_2
zfp conda-forge/win-64::zfp-0.5.5-h0e60522_8
zlib-ng conda-forge/win-64::zlib-ng-2.0.6-h8ffe710_0
zstd conda-forge/win-64::zstd-1.5.2-h6255e5f_4
The following packages will be UPDATED:
ca-certificates pkgs/main::ca-certificates-2022.10.11~ --> conda-forge::ca-certificates-2022.12.7-h5b45459_0
The following packages will be SUPERSEDED by a higher-priority channel:
certifi pkgs/main/win-64::certifi-2022.12.7-p~ --> conda-forge/noarch::certifi-2022.12.7-pyhd8ed1ab_0
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.11.1
Please update conda by running
Package Plan
environment location: C:\Users\myyea\miniconda3\envs\avatarify
added / updated specs:
- cudatoolkit=11.0
- pytorch==1.7.1
- torchvision
The following packages will be downloaded:
The following NEW packages will be INSTALLED:
blas pkgs/main/win-64::blas-1.0-mkl
cudatoolkit pkgs/main/win-64::cudatoolkit-11.0.221-h74a9793_0
flit-core pkgs/main/noarch::flit-core-3.6.0-pyhd3eb1b0_0
libuv pkgs/main/win-64::libuv-1.40.0-he774522_0
ninja pkgs/main/win-64::ninja-1.10.2-haa95532_5
ninja-base pkgs/main/win-64::ninja-base-1.10.2-h6d14046_5
pytorch pytorch/win-64::pytorch-1.7.1-py3.7_cuda110_cudnn8_0
six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1
torchvision pytorch/noarch::torchvision-0.2.2-py_3
typing_extensions pkgs/main/win-64::typing_extensions-4.4.0-py37haa95532_0
The following packages will be SUPERSEDED by a higher-priority channel:
certifi conda-forge/noarch::certifi-2022.12.7~ --> pkgs/main/win-64::certifi-2022.12.7-py37haa95532_0
Downloading and Extracting Packages
pytorch-1.7.1 | 1007.2 MB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 22.11.1
Please update conda by running
Package Plan
environment location: C:\Users\myyea\miniconda3\envs\avatarify
added / updated specs:
- git
The following NEW packages will be INSTALLED:
git anaconda/win-64::git-2.34.1-haa95532_0
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates conda-forge::ca-certificates-2022.12.~ --> anaconda::ca-certificates-2022.4.26-haa95532_0
certifi pkgs/main::certifi-2022.12.7-py37haa9~ --> anaconda::certifi-2022.6.15-py37haa95532_0
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Cloning into 'fomm'...
fatal: unable to access 'https://github.com/alievk/first-order-model.git/': Could not resolve host: github.com
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')
(avatarify) C:\Users\myyea\avatarify-python-youtube>
Please i need help with this issue please check out this; https://prnt.sc/rShEdS3CvjEz @technopremium
/
avatarify-python-youtube, @technopremium, @Alievk/avatarify
The text was updated successfully, but these errors were encountered: