bayesways / mixed-data

2 stars 2 forks source link

Build OS platform-specific conda environment. #2

Closed mkcor closed 6 years ago

mkcor commented 6 years ago

Hi @bayesways,

I had to make the following changes to the environment file in order to run the conda create command successfully:

diff --git a/rosi_py/environment.yml b/rosi_py/environment.yml
index 163aac9..cb94f57 100644
--- a/rosi_py/environment.yml
+++ b/rosi_py/environment.yml
@@ -3,7 +3,6 @@ channels:
   - conda-forge
   - defaults
 dependencies:
-  - appnope=0.1.0=py36_0
   - backports=1.0=py36_1
   - backports.functools_lru_cache=1.5=py36_0
   - blas=1.1=openblas
@@ -29,7 +28,7 @@ dependencies:
   - jupyter_console=5.2.0=py36_0
   - jupyter_core=4.4.0=py_0
   - kiwisolver=1.0.1=py36_1
-  - libgfortran=3.0.0=0
+  - libgfortran=3.0.0=1
   - libpng=1.6.34=0
   - libsodium=1.0.15=1
   - markupsafe=1.0=py36_0
@@ -59,7 +58,7 @@ dependencies:
   - python-dateutil=2.6.1=py36_0
   - pytz=2018.3=py_0
   - pyzmq=17.0.0=py36_3
-  - qt=5.6.2=h9e3eb04_4
+  - qt=5.6.2=7
   - qtconsole=4.3.1=py36_0
   - readline=7.0=0
   - scipy=1.0.0=py36_blas_openblas_201

It's too bad we can't have a cross-platform environment specification... So, I followed this: https://conda.io/docs/user-guide/tasks/manage-environments.html#building-identical-conda-environments

I'll add a line in the README.

bayesways commented 6 years ago

+1