Skip to content

PackagesNotFoundError #7

@augjensen

Description

@augjensen

Hello! I tried download the ISS_preprocessing environment and had an error:

home/augjen/anaconda3/lib/python3.12/argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use `conda env create --file=URL` instead.
  action(self, namespace, argument_values, option_string)
Channels:
 - conda-forge
 - defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

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

  - openjdk=11.0.17*

Current channels:

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

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.

I changed in the .yml file to install any 11 version of the package:

- openjdk=11 # instead of openjdk=11.0.17

This fixed the error and I managed to install the environment and run the

# Ensure Java is available for the pipeline
from ISS_preprocessing.java_path import detect_java

detect_java()    

import ISS_preprocessing.preprocessing as pp

with successful output.

The version that was installed were 11.0.27 - hopefully this version should also be ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions