Creating a gammapy env using conda
See original GitHub issueHi all,
I have followed the documentation and tried to install a fresh version of gammapy under ubuntu and conda 4.5.11. I have unfortunately a crash:
[4:37pm] /home/bruno/MesProgrammes> curl -O http://gammapy.org/download/install/gammapy-0.8-environment.yml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 656 100 656 0 0 2877 0 --:--:-- --:--:-- --:--:-- 2877
[4:38pm] /home/bruno/MesProgrammes> conda env create -f gammapy-0.8-environment.yml
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:
- matplotlib==2.2.3 -> pyqt=5.9 -> qt[version='5.9.*,>=5.9.6,<5.10.0a0'] -> sqlite[version='>=3.24.0,<4.0a0'] -> readline[version='>=7.0,<8.0a0'] -> ncurses[version='>=6.1,<6.2.0a0']
- matplotlib==2.2.3 -> tk[version='8.6.*,>=8.6.7,<8.7.0a0']
- python==3.6
Use "conda info <package>" to see the dependencies for each package.
Have you encountered this issue? The output of the command ‘conda info matplotlib==2.2.3’ is given here:
[4:43pm] /home/bruno/MesProgrammes/gammapy/gammapy> conda info matplotlib==2.2.3
matplotlib 2.2.3 py35hb69df0a_0
-------------------------------
file name : matplotlib-2.2.3-py35hb69df0a_0.tar.bz2
name : matplotlib
version : 2.2.3
build string: py35hb69df0a_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/linux-64
size : 6.7 MB
arch : None
constrains : ()
license : PSF-based
license_family: PSF
md5 : 6d6e786bdb82b24950e8e0ee123acb9a
platform : None
subdir : linux-64
timestamp : 1534273740421
url : https://repo.anaconda.com/pkgs/main/linux-64/matplotlib-2.2.3-py35hb69df0a_0.tar.bz2
dependencies:
cycler >=0.10
freetype >=2.9.1,<3.0a0
icu >=58.2,<59.0a0
kiwisolver
libgcc-ng >=7.2.0
libpng >=1.6.34,<1.7.0a0
libstdcxx-ng >=7.2.0
numpy
pyparsing
pyqt 5.9.*
python >=3.5,<3.6.0a0
python-dateutil
pytz
setuptools
tk 8.6.*
tk >=8.6.7,<8.7.0a0
tornado
zlib >=1.2.11,<1.3.0a0
matplotlib 2.2.3 py27hb69df0a_0
-------------------------------
file name : matplotlib-2.2.3-py27hb69df0a_0.tar.bz2
name : matplotlib
version : 2.2.3
build string: py27hb69df0a_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/linux-64
size : 6.5 MB
arch : None
constrains : ()
license : PSF-based
license_family: PSF
md5 : 5c32641e48b1a3efb40dd797c5691943
platform : None
subdir : linux-64
timestamp : 1534273730171
url : https://repo.anaconda.com/pkgs/main/linux-64/matplotlib-2.2.3-py27hb69df0a_0.tar.bz2
dependencies:
backports.functools_lru_cache
cycler >=0.10
freetype >=2.9.1,<3.0a0
functools32
icu >=58.2,<59.0a0
kiwisolver
libgcc-ng >=7.2.0
libpng >=1.6.34,<1.7.0a0
libstdcxx-ng >=7.2.0
numpy
pyparsing
pyqt 5.9.*
python >=2.7,<2.8.0a0
python-dateutil
pytz
setuptools
subprocess32
tk 8.6.*
tk >=8.6.7,<8.7.0a0
tornado
zlib >=1.2.11,<1.3.0a0
matplotlib 2.2.3 py37hb69df0a_0
-------------------------------
file name : matplotlib-2.2.3-py37hb69df0a_0.tar.bz2
name : matplotlib
version : 2.2.3
build string: py37hb69df0a_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/linux-64
size : 6.6 MB
arch : None
constrains : ()
license : PSF-based
license_family: PSF
md5 : a4fa9d10f491522f15789ba6707fce4f
platform : None
subdir : linux-64
timestamp : 1534273737662
url : https://repo.anaconda.com/pkgs/main/linux-64/matplotlib-2.2.3-py37hb69df0a_0.tar.bz2
dependencies:
cycler >=0.10
freetype >=2.9.1,<3.0a0
icu >=58.2,<59.0a0
kiwisolver
libgcc-ng >=7.2.0
libpng >=1.6.34,<1.7.0a0
libstdcxx-ng >=7.2.0
numpy
pyparsing
pyqt 5.9.*
python >=3.7,<3.8.0a0
python-dateutil
pytz
setuptools
tk 8.6.*
tk >=8.6.7,<8.7.0a0
tornado
zlib >=1.2.11,<1.3.0a0
matplotlib 2.2.3 py36hb69df0a_0
-------------------------------
file name : matplotlib-2.2.3-py36hb69df0a_0.tar.bz2
name : matplotlib
version : 2.2.3
build string: py36hb69df0a_0
build number: 0
channel : https://repo.anaconda.com/pkgs/main/linux-64
size : 6.6 MB
arch : None
constrains : ()
license : PSF-based
license_family: PSF
md5 : b52690dbd6940b4c1ba3b8c1ef7ed979
platform : None
subdir : linux-64
timestamp : 1534273679230
url : https://repo.anaconda.com/pkgs/main/linux-64/matplotlib-2.2.3-py36hb69df0a_0.tar.bz2
dependencies:
cycler >=0.10
freetype >=2.9.1,<3.0a0
icu >=58.2,<59.0a0
kiwisolver
libgcc-ng >=7.2.0
libpng >=1.6.34,<1.7.0a0
libstdcxx-ng >=7.2.0
numpy
pyparsing
pyqt 5.9.*
python >=3.6,<3.7.0a0
python-dateutil
pytz
setuptools
tk 8.6.*
tk >=8.6.7,<8.7.0a0
tornado
zlib >=1.2.11,<1.3.0a0
Cheers, Bruno
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (17 by maintainers)
Top Results From Across the Web
Getting started — gammapy v0.20
Gammapy can be installed with Anaconda or Miniconda: ... Once the environment has been created you can activate it using: $ conda activate...
Read more >Conda environments
Users can create virtual environments using one of several tools such as Pipenv or Poetry, or a conda virtual environment. Pipenv and Poetry...
Read more >Installation — Fermipy v1.2+dirty documentation
You can use conda instead but it can take longer to solve the requested environment. $ mamba create --name fermipy -c conda-forge -c...
Read more >Astronomical Data Analysis Software and Systems XXVIII
use the tools and practices followed by the developers to deal with a non-stable software ... conda env create -f gammapy-0.8-environment.yml.
Read more >Conda < Main < TWiki
Before you use conda to have access to packages like numpy or matplotlib ... You can create a conda environment in your home...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

FYI good news errors not found in notebooks with the env provided now:
python==3.6+matplotlib>=2.0I’m afraid we should give an environment-0.8.yml file without pinned versions, only the gammapy version pinned 😦
Reproducible environments with conda, too good to be true…