Skip to content

Installation fails: requirements.txt contains system-specific build strings and broken dependencies #4

Description

@aliciusschroeder

Description

I attempted to set up the environment using the instructions in the README, but conda create fails. The current requirements.txt file appears to be a raw dump of a specific user's environment (conda list --export), which includes:

  1. System-specific build strings (e.g., h14c3975_1002) that are incompatible with other OS versions or architectures.
  2. pypi_0 tags which conda cannot resolve directly.
  3. opencv requirements that cause ModuleNotFoundError: No module named 'cv2' or shared library errors (libGL.so.1) on fresh Linux installs.

Steps to Reproduce

  1. git clone https://github.com/zhenglab/CAML.git
  2. conda create --name caml --file requirements.txt

Error Log

LibMambaUnsatisfiableError: Encountered problems while solving:
...
package ... h14c3975_1002 does not exist

Suggested Fix

I have successfully reconstructed the environment by cleaning the version tags and switching to a hybrid Conda/Pip setup. I will open a PR shortly with a cross-platform environment.yml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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