ghdtjr / A-LLMRec

49 stars 5 forks source link

Invalid requirement in requirements.txt #2

Closed haorongchen1015 closed 1 week ago

haorongchen1015 commented 1 month ago

Hi,

When trying to install the dependencies from requirements.txt, I encountered the following error:

ERROR: Invalid requirement: '_libgcc_mutex=0.1=main' (from line 4 of requirements.txt) Hint: = is not a valid operator. Did you mean == ?

When I try to remove the line, the line below still have this problem.

Thanks,

ghdtjr commented 1 month ago

Well, I have no idea about this issue. Have you tried this below command? I've created the requirements.txt file with conda. If you are facing issues with the right command, it seems the versions of conda do not match.

"conda create --name [env] --file [this file]"

haorongchen1015 commented 1 month ago

Thank you for your suggestion. I tried using the command you provided, and I'm pleased to inform you that it worked. The environment configuration was successful, and the issue with the conda versions has been resolved.

haorongchen1015 commented 1 month ago

Hi, There is another question. When I using that "conda create --name [env] --file requirements.txt" It says PackagesNotFoundError: The following packages are not available from current channels:

(The number of packages not found is far greater than listed below)

ghdtjr commented 1 month ago

It appears that the uploaded requirements.txt file contains some packages that are installed on my Linux server.

I checked the other issue of [Anna-Saeed], I agree with Ansa-Saeed's suggestion: "I am installing only specific libraries separately, like..."