sassoftware / python-dlpy

The SAS Deep Learning Python (DLPy) package provides the high-level Python APIs to deep learning methods in SAS Visual Data Mining and Machine Learning. It allows users to build deep learning models using friendly Keras-like APIs.
Apache License 2.0
224 stars 131 forks source link

conda install failed #380

Closed riow1983 closed 2 years ago

riow1983 commented 2 years ago

Hi,

I cannot install dlpy through conda. How can I fix it?

$ conda install -c sas-institute sas-dlpy
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.27=0
  - python=3.9 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.27

My Python version: 3.9.7 My OS info:

~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.6 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

My conda env has been created from standard "anaconda" that continuum provides. Only SWAT package has been added on top of it. Any help would be much appreciated.

shlongsas commented 2 years ago

what it the version of your swat?

riow1983 commented 2 years ago

@shlongsas Thanks. The version of my swat is 1.9.3. It was installed by conda install -c sas-institute swat, I remember.

# Name                    Version                   Build  Channel
swat                      1.9.3                    py39_0    sas-institute
riow1983 commented 2 years ago

I created another conda env intalling Python version 3.8.13 along with anaconda packages. And under this new env, I did the following:

$ conda install -c sas-institute swat

It's successfully installed. And then,

$ conda install -c sas-institute sas-dlpy

Done! It's also succesfully installed. Resolved.

I suppose Python version 3.9.7 was not proper for dlpy? I don't know. But I can close this issue. Thanks!