Skip to content

Fix installation with Conda #99

Open

Description

@aufdenkampe

Following today's new Installation instructions From Source using Conda, I got this error:

(babelizer) aaufdenkampe@ExcaliburMac2 babelizer % conda install --file=requirements.txt -c conda-forge

CondaValueError: could not parse 'importlib-resources; python_version < '3.12'' in: requirements.txt

It worked using pip: $ pip install -e .

Activity

  1. mcflugen commented on Apr 10, 2024

    @mcflugen
    Member

    @aufdenkampe Although conda understands the most basic pip requirements file, it doesn't understand markers or specifiers—as we have in this file.

    We should probably just remove the conda installation option from the instructions for installing from source.

  2. added a commit that references this issue on Apr 10, 2024
    5c4675f
  3. aufdenkampe commented on Apr 10, 2024

    @aufdenkampe
    Author

    That works for me!

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