Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation with Conda #99

Open
aufdenkampe opened this issue Apr 10, 2024 · 2 comments · May be fixed by #100
Open

Fix installation with Conda #99

aufdenkampe opened this issue Apr 10, 2024 · 2 comments · May be fixed by #100

Comments

@aufdenkampe
Copy link

aufdenkampe commented Apr 10, 2024

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 .

@mcflugen
Copy link
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.

mdpiper added a commit that referenced this issue Apr 10, 2024
@aufdenkampe
Copy link
Author

That works for me!

@mdpiper mdpiper linked a pull request Apr 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants