slaclab / anarel-manage

Manage the conda based analysis release environments that include psana at LCLS.
Other
3 stars 3 forks source link

force opencv version >=3 #40

Closed davidslac closed 7 years ago

davidslac commented 7 years ago

with ana-1.2.7, we opencv got downgraded from 3.x defaults --> 2.4 conda-forge, and pillow went up from 3.x --> 4.x. I can by upgrade opencv after the fact, and this causes the new pillow to go back down.

Will do this for the ana-1.2.7 series, I get

(manage) (psreldev) psel701: /reg/g/psdm/sw/conda $ conda install opencv=3.1.0 --name ana-1.2.7
Fetching package metadata .......................
Solving package specifications: .

Package plan for installation in environment /reg/g/psdm/sw/conda/inst/miniconda2-prod-rhel7/envs/ana-1.2.7:

The following packages will be UPDATED:

    opencv:  2.4.13-np111py27_1 conda-forge --> 3.1.0-np111py27_1 defaults   

The following packages will be DOWNGRADED due to dependency conflicts:

    jasper:  1.900.1-4          conda-forge --> 1.900.1-1         conda-forge
    jpeg:    9b-0               defaults    --> 8d-2              defaults   
    libtiff: 4.0.6-3            defaults    --> 4.0.6-2           defaults   
    pillow:  4.1.0-py27_0       defaults    --> 3.4.2-py27_0      defaults   

Proceed ([y]/n)? y

jasper-1.900.1 100% |#####################################################################################################################################################################################| Time: 0:00:00 500.54 kB/s
davidslac commented 7 years ago

This worked for ana-1.2.8