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

Unable to install DVC on linux-arm64 #323

Closed
1 task done
enneamer opened this issue Jan 25, 2023 · 3 comments
Closed
1 task done

Unable to install DVC on linux-arm64 #323

enneamer opened this issue Jan 25, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@enneamer
Copy link

enneamer commented Jan 25, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

While I can install DVC on linux-amd64 without issues, I am unable to install it on linux-aarch64 through conda-forge. I am using pyenv, with miniforge3-latest installed and updated, as shown in the "Environment info" section. Here I tried to create a new environment with only dvc specified, but failed.

$ conda create -n 0044.202303 dvc                                                                                                                                                             
Collecting package metadata (current_repodata.json): done                                                                                                                                                         
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.                                                                                                       
Collecting package metadata (repodata.json): done                                                        
Solving environment: |                                                                                   
Found conflicts! Looking for incompatible packages.                                                                                                                                                               
This can take several minutes.  Press CTRL-C to abort.                                                   
failed                                                                                                                                                                                                            
                                                                                                                                                                                                                  
UnsatisfiableError: 

My .condarc is attached as follows. Other channels than conda-forge are disabled when creating the new environment. In fact, no packages from other channels are installed in either the base environment or the new one. For the new environment, I have tested both the original Anaconda cloud and the Alibaba Cloud mirrored repository, but received the same result.

#custom_channels:
#  bioconda: http://mirrors.aliyun.com/anaconda/cloud/
#  conda-forge: http://mirrors.aliyun.com/anaconda/cloud/
#  pytorch: http://mirrors.aliyun.com/anaconda/cloud/
channels:
  #- pytorch
  #- bioconda
  - conda-forge

Installed packages

[51/494]
# packages in environment at /home/enneamer/.pyenv/versions/miniforge3-latest:                                                                                                                                    
#                                                                                                                                                                                                                 
# Name                    Version                   Build  Channel                                       
_openmp_mutex             4.5                       2_gnu    conda-forge                                 
brotlipy                  0.7.0           py310h761cc84_1005    conda-forge                              
bzip2                     1.0.8                hf897c2e_4    conda-forge                                 
ca-certificates           2022.12.7            h4fd8a4c_0    conda-forge
certifi                   2022.12.7          pyhd8ed1ab_0    conda-forge                                 
cffi                      1.15.1          py310hf0c4615_3    conda-forge                                 
charset-normalizer        2.1.1              pyhd8ed1ab_0    conda-forge                                 
colorama                  0.4.6              pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
conda                     22.11.1         py310h4c7bcd0_1    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
conda-package-handling    2.0.2              pyh38be061_0    conda-forge                                 
conda-package-streaming   0.7.0              pyhd8ed1ab_1    conda-forge     
cryptography              39.0.0          py310he4ba0b1_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
idna                      3.4                pyhd8ed1ab_0    conda-forge     
ld_impl_linux-aarch64     2.39                 h16cd69b_1    conda-forge     
libffi                    3.4.2                h3557bc0_5    conda-forge     
libgcc-ng                 12.2.0              h607ecd0_19    conda-forge     
libgomp                   12.2.0              h607ecd0_19    conda-forge     
libnsl                    2.0.0                hf897c2e_0    conda-forge     
libsqlite                 3.40.0               hf9034f9_0    conda-forge
libstdcxx-ng              12.2.0              hc13a102_19    conda-forge
libuuid                   2.32.1            hf897c2e_1000    conda-forge                                 
libzlib                   1.2.13               h4e544f5_4    conda-forge
ncurses                   6.3                  headf329_1    conda-forge                                 
openssl                   3.0.7                hb4cce97_1    conda-forge    
pip                       22.3.1             pyhd8ed1ab_0    conda-forge    
pluggy                    1.0.0              pyhd8ed1ab_5    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
pycosat                   0.6.4           py310h761cc84_1    conda-forge    
pycparser                 2.21               pyhd8ed1ab_0    conda-forge    
pyopenssl                 23.0.0             pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
pysocks                   1.7.1              pyha2e5f31_6    conda-forge    
python                    3.10.8          hac3cb69_0_cpython    conda-forge 
python_abi                3.10                    3_cp310    conda-forge    
readline                  8.1.2                h38e3740_0    conda-forge    
requests                  2.28.2             pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
ruamel.yaml               0.17.21         py310h761cc84_2    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
ruamel.yaml.clib          0.2.7           py310hb89b984_1    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
setuptools                66.1.1             pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
tk                        8.6.12               hd8af866_0    conda-forge                                 
toolz                     0.12.0             pyhd8ed1ab_0    conda-forge                                 
tqdm                      4.64.1             pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
tzdata                    2022g                h191b570_0    conda-forge                                 
urllib3                   1.26.14            pyhd8ed1ab_0    http://mirrors.aliyun.com/anaconda/cloud/conda-forge                                                                                                 
wheel                     0.38.4             pyhd8ed1ab_0    conda-forge                                                                                                                                          
xz                        5.2.6                h9cdd2b7_0    conda-forge                                                                                                                                          
zstandard                 0.19.0          py310hde4b81c_1    conda-forge                                                                                                                                          
zstd                      1.5.2                h44f6412_6    http://mirrors.aliyun.com/anaconda/cloud/conda-forge

Environment info

active environment : base
    active env location : /home/enneamer/.pyenv/versions/miniforge3-latest
            shell level : 0
       user config file : /home/enneamer/.condarc
 populated config files : /home/enneamer/.pyenv/versions/miniforge3-latest/.condarc
                          /home/enneamer/.condarc
          conda version : 22.11.1
    conda-build version : not installed
         python version : 3.10.8.final.0
       virtual packages : __archspec=1=aarch64
                          __glibc=2.31=0
                          __linux=5.10.0=0
                          __unix=0=0
       base environment : /home/enneamer/.pyenv/versions/miniforge3-latest  (writable)
      conda av data dir : /home/enneamer/.pyenv/versions/miniforge3-latest/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-aarch64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /home/enneamer/.pyenv/versions/miniforge3-latest/pkgs
                          /home/enneamer/.conda/pkgs
       envs directories : /home/enneamer/.pyenv/versions/miniforge3-latest/envs
                          /home/enneamer/.conda/envs
               platform : linux-aarch64
             user-agent : conda/22.11.1 requests/2.28.2 CPython/3.10.8 Linux/5.10.0-21-arm64 debian/11 glibc/2.31
                UID:GID : 1000:100
             netrc file : None
           offline mode : False
@enneamer enneamer added the bug Something isn't working label Jan 25, 2023
@weiji14
Copy link
Member

weiji14 commented Feb 6, 2023

Hmm, can you try running with verbose mode turned on, e.g. conda create -n 0044.202303 dvc -vvv and post the output? If it's too long, just post the last few lines where the conflicting packages are mentioned.

@enneamer
Copy link
Author

enneamer commented Feb 7, 2023

@weiji14, I was able to get a cleaner output using mamba.

Looking for: ['python=3.10', 'dvc']

conda-forge/noarch                                  11.1MB @   1.7MB/s  8.9s
conda-forge/linux-aarch64                            7.7MB @ 237.1kB/s 34.3s
Could not solve for environment specs
Encountered problems while solving:
  - nothing provides dpath >=2.0.2,<3 needed by dvc-2.36.0-pyhd8ed1ab_1

The environment can't be solved, aborting the operation

I guess I'll make a bug report to dpath-feedstock instead.

@pmrowla
Copy link
Contributor

pmrowla commented Jun 22, 2023

the dpath feedstock is now python noarch so I think this can be closed.

@pmrowla pmrowla closed this as completed Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants