CameraTraps icon indicating copy to clipboard operation
CameraTraps copied to clipboard

PackagesNotFoundError when trying to create env in PW_FT_classification

Open kaitlynbarone opened this issue 1 year ago • 1 comments

Search before asking

  • [x] I have searched the Pytorch-Wildlife issues and found no similar bug report.

Bug

Hello,

I am ruining into an issue setting up my PW_FT_classification environment. I am in the PW_FT_classification directory. I used pip install -r requirements.txt which was successful. When moving to the next step of conda env create -f environment.yaml I receive a package not found error.

Channels:
 - 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:

  - xz==5.2.6=h166bdaf_0
  - tk==8.6.13=noxft_h4845f30_101
  - readline==8.2=h8228510_1
  - python==3.8.18=hd12c33a_1_cpython
  - openssl==3.2.0=hd590300_1
  - ncurses==6.4=h59595ed_2
  - libzlib==1.2.13=hd590300_5
  - libxcrypt==4.4.36=hd590300_1
  - libuuid==2.38.1=h0b41bf4_0
  - libsqlite==3.44.2=h2797004_0
  - libnsl==2.0.1=hd590300_0
  - libgomp==13.2.0=h807b86a_4
  - libgcc-ng==13.2.0=h807b86a_4
  - libffi==3.4.2=h7f98852_5
  - ld_impl_linux-64==2.40=h41732ed_0
  - ca-certificates==2023.11.17=hbcca054_0
  - bzip2==1.0.8=hd590300_5
  - _libgcc_mutex==0.1=conda_forge

Current channels:

  - https://conda.anaconda.org/conda-forge
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - https://repo.anaconda.com/pkgs/msys2

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.

Edit: Just wanted to add that I searched anaconda for some of these packages and they did not exist.

Environment

-pytorchwildlife: 1.2 -OS: Windows 11 -Python 3.8.20 (Instructions say to use 3.8 to create the env.

Minimal Reproducible Example

conda env create -f environment.yaml

Additional

Thank You!

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

kaitlynbarone avatar Feb 12 '25 20:02 kaitlynbarone

Hi @kaitlynbarone!

Thank you for taking your time into writing this issue. If you have successfully installed the packages via pip, it is not necessary to run the conda installation. Please take into acount that, if you have a CUDA-compatible GPU, you should install the appropiate Pytorch CUDA version. Please let us know if you are able to run the code with your current settings. We are happy to help if the issue persists.

Sincerely,

Andrés Hernández.

aa-hernandez avatar Feb 18 '25 21:02 aa-hernandez

We will be closing this issue since there are no active comments for the past 3 months. Feel free to re-open this issue if the problem persists!

aa-hernandez avatar Jul 01 '25 21:07 aa-hernandez