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

Cannot install to Python 3.9 #67

Open
1 task done
gdurif opened this issue Mar 11, 2022 · 2 comments
Open
1 task done

Cannot install to Python 3.9 #67

gdurif opened this issue Mar 11, 2022 · 2 comments
Labels

Comments

@gdurif
Copy link

gdurif commented Mar 11, 2022

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

Installation of python-spams with python 3.9 fails, c.f.

$ conda install -c conda-forge python-spams
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 the existing python installation in your environment:

Specifications:

  - python-spams -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']

Your python: python==3.9

Installed packages

# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main  
_openmp_mutex             4.5                       1_gnu  
ca-certificates           2022.2.1             h06a4308_0  
certifi                   2021.10.8        py39h06a4308_2  
ld_impl_linux-64          2.35.1               h7274673_9  
libffi                    3.3                  he6710b0_2  
libgcc-ng                 9.3.0               h5101ec6_17  
libgomp                   9.3.0               h5101ec6_17  
libstdcxx-ng              9.3.0               hd4cf53a_17  
ncurses                   6.3                  h7f8727e_2  
openssl                   1.1.1m               h7f8727e_0  
pip                       21.2.4           py39h06a4308_0  
python                    3.9.0                hdb3f193_2  
readline                  8.1.2                h7f8727e_1  
setuptools                58.0.4           py39h06a4308_0  
sqlite                    3.38.0               hc218d9a_0  
tk                        8.6.11               h1ccaba5_0  
tzdata                    2021e                hda174b7_0  
wheel                     0.37.1             pyhd3eb1b0_0  
xz                        5.2.5                h7b6447c_0  
zlib                      1.2.11               h7f8727e_4

Environment info

active environment : test_spams39
    active env location : /xxx/miniconda3/envs/test_spams39
            shell level : 3
       user config file : /yyy/.condarc
 populated config files : 
          conda version : 4.11.0
    conda-build version : not installed
         python version : 3.9.5.final.0
       virtual packages : __linux=5.13.0=0
                          __glibc=2.31=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /xxx/miniconda3  (writable)
      conda av data dir : /xxx/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /xxx/miniconda3/pkgs
                          /yyy/.conda/pkgs
       envs directories : /xxx/miniconda3/envs
                          /yyy/.conda/envs
               platform : linux-64
             user-agent : conda/4.11.0 requests/2.26.0 CPython/3.9.5 Linux/5.13.0-35-generic ubuntu/20.04.4 glibc/2.31
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
@gdurif gdurif added the bug label Mar 11, 2022
@jakirkham
Copy link
Member

This probably depends on getting PR ( #63 ) in.

@hamedbehzadi
Copy link

Hi.
Today I tried to install the package with python 3.9 and got the error as same as shown in the post. I was wondering if you could please help me out. I also followed the link #63 mentioned above. However I couldn't understand whether there is any solution there. Then, I appreciate any help. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants