ahaliassos / RealForensics

Official code for Leveraging Real Talking Faces via Self-Supervision for Robust Forgery Detection (CVPR 2022)
MIT License
75 stars 7 forks source link

Trouble creating conda environment from environment.yml #11

Open nikiwlan opened 4 months ago

nikiwlan commented 4 months ago

I'm trying to create the conda environment from the environment.yml file, but I'm encountering an error in the process. I've included the exact error message below.

Error Message:

RealForensics> conda env create -f environment.yml
Channels:
 - anaconda
 - pytorch
 - nvidia
 - conda-forge
 - defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - zstd==1.4.9=haebb681_0
  - zlib==1.2.11=h7b6447c_3
  - yarl==1.6.3=py38h497a2fe_1
  - yaml==0.2.5=h516909a_0
  - xz==5.2.5=h7b6447c_0
  - watchdog==0.10.4=py38h578d9bd_0
  - tornado==6.1=py38h27cfd23_0
  - tk==8.6.10=hbc83047_0
  - sqlite==3.36.0=hc218d9a_0
  - sip==4.19.13=py38he6710b0_0
  - shortuuid==1.0.1=py38h578d9bd_4
  - setuptools==52.0.0=py38h06a4308_0
  - scipy==1.6.2=py38had2a1c9_1
  - readline==8.1=h27cfd23_0
  - qt==5.9.7=h5867ecd_1
  - pyyaml==5.4.1=py38h497a2fe_0
  - pytorch==1.9.0=py3.8_cuda11.1_cudnn8.0.5_0
  - python==3.8.10=h12debd9_8
  - pysocks==1.7.1=py38h578d9bd_3
  - pyqt==5.9.2=py38h05f1152_4
  - psutil==5.8.0=py38h497a2fe_1
  - protobuf==3.17.2=py38h709712a_0
  - promise==2.3=py38h578d9bd_3
  - pip==21.1.2=py38h06a4308_0
  - pillow==8.2.0=py38he98fc37_0
  - pcre==8.45=h295c915_0
  - pandas==1.1.3=py38he6710b0_0
  - openssl==1.1.1k=h7f98852_0
  - openh264==2.1.0=hd408876_0
  - numpy-base==1.20.2=py38hfae3a4d_0
  - numpy==1.20.2=py38h2d18471_0
  - ninja==1.10.2=hff7bd54_1
  - nettle==3.7.3=hbbd107a_1
  - ncurses==6.2=he6710b0_1
  - multidict==5.1.0=py38h497a2fe_1
  - mkl_random==1.2.1=py38ha9443f7_2
  - mkl_fft==1.3.0=py38h42c9631_2
  - mkl-service==2.3.0=py38h27cfd23_1
  - mkl==2021.2.0=h06a4308_296
  - matplotlib-base==3.4.2=py38hab158f2_0
  - matplotlib==3.4.2=py38h578d9bd_0
  - lz4-c==1.9.3=h2531618_0
  - libxml2==2.9.12=h03d6c58_0
  - libxcb==1.14=h7b6447c_0
  - libwebp-base==1.2.0=h27cfd23_0
  - libuv==1.40.0=h7b6447c_0
  - libuuid==1.0.3=h1bed415_2
  - libunistring==0.9.10=h27cfd23_0
  - libtiff==4.2.0=h85742a9_0
  - libtasn1==4.16.0=h27cfd23_0
  - libstdcxx-ng==9.3.0=hd4cf53a_17
  - libprotobuf==3.17.2=h780b84a_0
  - libpng==1.6.37=hbc83047_0
  - libidn2==2.3.1=h27cfd23_0
  - libiconv==1.15=h63c8f33_5
  - libgomp==9.3.0=h5101ec6_17
  - libgfortran4==7.5.0=ha8ba4b0_17
  - libgfortran-ng==7.5.0=ha8ba4b0_17
  - libgcc-ng==9.3.0=h5101ec6_17
  - libffi==3.3=he6710b0_2
  - ld_impl_linux-64==2.35.1=h7274673_9
  - lcms2==2.12=h3be6417_0
  - lame==3.100=h7b6447c_0
  - kiwisolver==1.3.1=py38h2531618_0
  - jpeg==9b=h024ee3a_2
  - intel-openmp==2021.2.0=h06a4308_610
  - importlib-metadata==4.5.0=py38h578d9bd_0
  - icu==58.2=he6710b0_3
  - gstreamer==1.14.0=h28cd5cc_2
  - gst-plugins-base==1.14.0=h8213a91_2
  - grpcio==1.38.1=py38hdd6454d_0
  - gnutls==3.6.15=he1e5248_0
  - gmp==6.2.1=h2531618_2
  - glib==2.69.1=h5202010_0
  - future==0.18.2=py38h578d9bd_3
  - freetype==2.10.4=h5ab3b9f_0
  - fontconfig==2.13.1=h6c09931_0
  - ffmpeg==4.3=hf484d3e_0
  - expat==2.4.1=h2531618_2
  - dbus==1.13.18=hb2f20db_0
  - cudatoolkit==11.1.74=h6bb024c_0
  - cryptography==3.4.7=py38ha5dfef3_0
  - click==8.0.1=py38h578d9bd_0
  - chardet==4.0.0=py38h578d9bd_1
  - cffi==1.14.5=py38ha65f79e_0
  - certifi==2021.5.30=py38h578d9bd_0
  - ca-certificates==2021.5.30=ha878542_0
  - c-ares==1.17.1=h7f98852_1
  - bzip2==1.0.8=h7b6447c_0
  - brotlipy==0.7.0=py38h497a2fe_1001
  - brotli==1.0.9=he6710b0_2
  - aiohttp==3.7.4.post0=py38h497a2fe_0
  - _openmp_mutex==4.5=1_gnu

Current channels:

  - https://conda.anaconda.org/anaconda/win-64
  - https://conda.anaconda.org/pytorch/win-64
  - https://conda.anaconda.org/nvidia/win-64
  - https://conda.anaconda.org/conda-forge/win-64
  - https://repo.anaconda.com/pkgs/main/win-64
  - https://repo.anaconda.com/pkgs/r/win-64
  - https://repo.anaconda.com/pkgs/msys2/win-64

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

conda conf:

 conda config --show
add_anaconda_token: True
add_pip_as_python_dependency: True
aggressive_update_packages:
  - ca-certificates
  - certifi
  - openssl
allow_conda_downgrades: False
allow_cycles: True
allow_non_channel_urls: False
allow_softlinks: False
allowlist_channels: []
always_copy: False
always_softlink: False
always_yes: None
anaconda_anon_usage: True
anaconda_upload: None
auto_activate_base: True
auto_stack: 0
auto_update_conda: True
bld_path:
changeps1: True
channel_alias: https://conda.anaconda.org
channel_priority: flexible
channel_settings: []
channels:
  - anaconda
  - conda-forge
  - defaults
client_ssl_cert: None
client_ssl_cert_key: None
clobber: False
conda_build: {}
create_default_packages: []
croot: ...\AppData\Local\miniconda3\conda-bld
custom_channels:
  pkgs/main: https://repo.anaconda.com
  pkgs/r: https://repo.anaconda.com
  pkgs/msys2: https://repo.anaconda.com
  pkgs/pro: https://repo.anaconda.com
custom_multichannels:
  defaults:
    - https://repo.anaconda.com/pkgs/main
    - https://repo.anaconda.com/pkgs/r
    - https://repo.anaconda.com/pkgs/msys2
  local:
debug: False
default_channels:
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/msys2
default_python: 3.9
default_threads: None
deps_modifier: not_set
dev: False
disallowed_packages: []
download_only: False
dry_run: False
enable_private_envs: False
env_prompt: ({default_env})
envs_dirs:
  - ...\AppData\Local\miniconda3\envs
  - ...\.conda\envs
  - ...\AppData\Local\conda\conda\envs
error_upload_url: https://conda.io/conda-post/unexpected-error
execute_threads: 1
experimental: []
extra_safety_checks: False
fetch_threads: 5
force: False
force_32bit: False
force_reinstall: False
force_remove: False
ignore_pinned: False
json: False
local_repodata_ttl: 1
migrated_channel_aliases: []
migrated_custom_channels: {}
no_lock: False
no_plugins: False
non_admin_enabled: True
notify_outdated_conda: True
number_channel_notices: 5
offline: False
override_channels_enabled: True
path_conflict: clobber
pinned_packages: []
pip_interop_enabled: False
pkgs_dirs:
  - ...\AppData\Local\miniconda3\pkgs
  -...\.conda\pkgs
  - ...\AppData\Local\conda\conda\pkgs
proxy_servers: {}
quiet: False
register_envs: True
remote_backoff_factor: 1
remote_connect_timeout_secs: 9.15
remote_max_retries: 3
remote_read_timeout_secs: 60.0
repodata_fns:
  - current_repodata.json
  - repodata.json
repodata_threads: None
repodata_use_zst: True
report_errors: None
restore_free_channel: False
rollback_enabled: True
root_prefix: ...\AppData\Local\miniconda3
safety_checks: warn
sat_solver: pycosat
separate_format_cache: False
shortcuts: True
shortcuts_only: []
show_channel_urls: None
signing_metadata_url_base: None
solver: libmamba
solver_ignore_timestamps: False
ssl_verify: True
subdir: win-64
subdirs:
  - win-64
  - noarch
target_prefix_override: 
trace: False
track_features: []
unsatisfiable_hints: True
unsatisfiable_hints_check_depth: 2
update_modifier: update_specs
use_index_cache: False
use_local: False
use_only_tar_bz2: False
verbosity: 0
verify_threads: 1

Environment Details:

win 10 conda 24.3.0 python 3.9.19

I would appreciate any help to solve this issue.