Skip to content

Set python version in yml #20

@astanziola

Description

@astanziola

A reminder to fix the yml file with the correct python version.

Pytorch can't be installed on python 3.10, which is the default now if the yml file is used to construct the environment (see pytorch/pytorch#66424 )

Error:

$ conda env create -f env/sberbank_unix.yml 
Collecting package metadata (repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.1
  latest version: 4.11.0

Please update conda by running

    $ conda update -n base -c defaults conda



Downloading and Extracting Packages
fontconfig-2.12.6    | 221 KB    | ##################################### | 100% 
pango-1.42.0         | 458 KB    | ##################################### | 100% 
pygraphviz-1.7       | 181 KB    | ##################################### | 100% 
pcre-8.45            | 207 KB    | ##################################### | 100% 
freetype-2.8         | 542 KB    | ##################################### | 100% 
jpeg-9d              | 232 KB    | ##################################### | 100% 
expat-2.4.1          | 168 KB    | ##################################### | 100% 
harfbuzz-1.7.6       | 474 KB    | ##################################### | 100% 
glib-2.69.1          | 1.7 MB    | ##################################### | 100% 
zstd-1.4.9           | 480 KB    | ##################################### | 100% 
pixman-0.40.0        | 373 KB    | ##################################### | 100% 
graphviz-2.40.1      | 6.5 MB    | ##################################### | 100% 
lz4-c-1.9.3          | 185 KB    | ##################################### | 100% 
cairo-1.14.12        | 905 KB    | ##################################### | 100% 
libxml2-2.9.12       | 1.2 MB    | ##################################### | 100% 
certifi-2021.5.30    | 148 KB    | ##################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Installing pip dependencies: \ Ran pip subprocess with arguments:
['/home/antonio/anaconda3/envs/cbir/bin/python', '-m', 'pip', 'install', '-U', '-r', '/home/antonio/repos/scalable-recognition-with-a-vocabulary-tree/env/condaenv.u72yw4q5.requirements.txt']
Pip subprocess output:
Collecting future
  Downloading future-0.18.2.tar.gz (829 kB)
Collecting h5py
  Downloading h5py-3.6.0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (4.5 MB)
Collecting jupyterlab
  Using cached jupyterlab-3.2.8-py3-none-any.whl (8.5 MB)
Collecting ipywidgets
  Using cached ipywidgets-7.6.5-py2.py3-none-any.whl (121 kB)
Collecting matplotlib
  Using cached matplotlib-3.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.9 MB)
Collecting termcolor
  Using cached termcolor-1.1.0.tar.gz (3.9 kB)
Collecting networkx
  Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB)
Collecting pandas
  Using cached pandas-1.3.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.5 MB)

Pip subprocess error:
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

failed

CondaEnvException: Pip failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions