Closed serenalotreck closed 1 year ago
If someone could try the following command and let me know how long it takes to solve/if it ever solves, that would be amazing!
conda create --name dygiepp -c conda-forge -c anaconda python=3.7
allennlp allennlp-models pandas beautifulsoup4 lxml python-Levenshtein optuna
It's still solving for me; while I couldn't get allennlp to install with conda if I tried it after making the environment, it worked when I did it in one line while creating the environment. But when I went to install the other packages, they also never solved. I think that doing it this way with everything in one line should work, but it's been trying to solve for a while so I was curious to see if it worked for anyone else.
I have the libmabma
installer as my default as per the instructions here.
EDIT: spelling
I also opened this issue on conda about the error that's appearing when I use pip inside the conda environment.
So I did end up getting a version of building and installing everything with conda in one go to run, but allennlp==1.1.0
isn't available on conda. Closing this because based on the response to the issue I opened at conda, I think the issue with pip installations in my conda environment is me-specific
Sorry I missed this. If things don't work as-is, feel free to submit a PR with what you did and I'll merge.
I'm going to work on this right now and see if I can't get a working environment, I'll open a PR with a new requirements.txt if I can, just wanted to put this out here in case anyone else is having this issue.
Conda version: conda 23.3.1
Steps to reproduce:
Output:
If you try to make predictions on a dataset using a model after running this code, you get the following error:
This is something I also noticed when working directly with huggingface yesterday, that sometimes the actual problem is a package that has
chardet
as a dependency (here it's spacy) that isn't installed, but you get an error aboutchardet
instead. Installingchardet
doesn't solve the problem.