Closed alberto-battistel closed 2 years ago
Hi @alberto-battistel, Can you let me know the python version you're using?
Hi, Python 3.8.3 Is this the problem?
That would be an issue while resolving the dependencies, though for this particular issue, the alternate is creating the environment using
conda env create -f environment.yml
after you clone the repository and change the folder in situation 2
Ok, conda env create -f environment.yml
works.
Python version in the environment is
Python 3.7.12
However, after activating the environment and running
conda install -c pozzorg hardy
I get:
Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: \ Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.33=0
- feature:|@/linux-64::__glibc==2.33=0
Your installed version is: 2.33
Hi @alberto-battistel,
It appears conda is having conflicts with some already installed libraries on your OS. Although the version of dependencies appears the same, I'm unable to trace the root cause at the moment. I'll keep this issue open and meanwhile it is resolved, you should be able to install it either with pip install .
or python3.7 setup.py install
from the hardy directory.
Thank you for your patience.
ok, pip install .
works
Describe the bug The Installation using evironment.yml (Recommended) failed.
To Reproduce Situation 1: Download the 'evironment.yml' and run:
conda install --name hardy --file environment.yml
gives:
Situation 2: Clone the repository:
git clone https://github.com/EISy-as-Py/hardy.git
and run:
cd hardy
conda install --name hardy --file environment.yml
gives:
Create the environment:
conda create --name hardy
and run:
conda install --name hardy --file environment.yml
still fails with:
Expected behavior Maybe I am doing something fundamentally stupid, but I cannot succeed in installing this package.
System information