bodkan / slendr

Population genetic simulations in R 🌍
https://bodkan.net/slendr
Other
54 stars 5 forks source link

Problem installing tskit (during setup_env()) #153

Closed gsilvaarias closed 7 months ago

gsilvaarias commented 7 months ago

Hi, I have trouble installing slendr on R version 4.3.1 (macOS 14.2.1, Apple M2). slendr installation seems to work fine, but have problem installing tskit during the setup_env(). Please find the full report below.

I appreciate your help.

Best, Gustavo

> devtools::install_github("bodkan/slendr")
Downloading GitHub repo bodkan/slendr@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All                                 
2: CRAN packages only                  
3: None                                
4: digest     (0.6.34 -> 0.6.35) [CRAN]
5: tidyselect (1.2.0  -> 1.2.1 ) [CRAN]

Enter one or more numbers, or an empty line to skip updates: 1
digest     (0.6.34 -> 0.6.35) [CRAN]
tidyselect (1.2.0  -> 1.2.1 ) [CRAN]
dplyr      (NA     -> 1.1.4 ) [CRAN]
Installing 3 packages: digest, tidyselect, dplyr
trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.3/digest_0.6.34.tgz'
Content type 'application/x-gzip' length 287919 bytes (281 KB)
==================================================
downloaded 281 KB

trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.3/tidyselect_1.2.0.tgz'
Content type 'application/x-gzip' length 222290 bytes (217 KB)
==================================================
downloaded 217 KB

trying URL 'https://cran.rstudio.com/bin/macosx/big-sur-arm64/contrib/4.3/dplyr_1.1.4.tgz'
Content type 'application/x-gzip' length 1595883 bytes (1.5 MB)
==================================================
downloaded 1.5 MB

The downloaded binary packages are in
    /var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T//RtmpRqUzGE/downloaded_packages
── R CMD build ───────────────────────────────────────────────────────────────────────────────────
βœ”  checking for file β€˜/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/RtmpRqUzGE/remotes9f5715f84f2d/bodkan-slendr-e6caecd/DESCRIPTION’
─  preparing β€˜slendr’:
βœ”  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Removed empty directory β€˜slendr/man/figures’
─  building β€˜slendr_0.9.1.tar.gz’

* installing *source* package β€˜slendr’ ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (slendr)
> library(slendr)
The 'slim' binary could not be found in your $PATH. Most of
the functionality of slendr will work without any issues but
you will not be able to simulate data with the `slim()` function.

If you want to run SLiM simulations, make sure to modify the $PATH
variable so that it points to the directory containing the slim
command-line program. One easy way to do this is to add this:

PATH="path/to/directory/with/slim/binary"

to your ~/.Renviron file.

Alternatively, use the `slim_path` argument of the `slim()` function.
--------------------
In order to use spatial features of slendr, packages 'sf', 'stars',
and 'rnaturalearth' are required but not all are present.

You can install all of them with
  `install.packages(c("sf", "stars", "rnaturalearth"))`.
--------------------
A slendr Python (3.12) environment with the necessary versions of
msprime (1.3.1), tskit (0.5.6), pyslim (1.0.4), and tspop (0.0.2)
has not been found.

You can setup a pre-configured environment with all of slendr's Python
dependencies automatically by running the function `setup_env()`.
> setup_env()
This function will install a completely isolated Miniconda Python distribution
just for slendr and create an environment with all required Python modules.

Everything will be installed into a completely separate location into an
isolated environment in an R library directory. This won't affect your other
Python installations at all. You can always wipe out the automatically created
environment by running clear_env().

Do you wish to proceed with the automated Python environment setup? 

1: No
2: Yes

Selection: 2
=======================================================================
Installing slendr's Python environment. Please wait until
the installation procedure finishes. Do NOT interrupt the
process while the installation is still running.
======================================================================

* Installing Miniconda -- please wait a moment ...
* Downloading 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh' ...
trying URL 'https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh'
Content type 'application/octet-stream' length 58435561 bytes (55.7 MB)
==================================================
downloaded 55.7 MB

PREFIX=/Users/guta/Library/r-miniconda-arm64
Unpacking payload ...
Extracting bzip2-1.0.8-h93a5062_5.conda
Extracting c-ares-1.24.0-h93a5062_0.conda
Extracting ca-certificates-2023.11.17-hf0a4a13_0.conda
Extracting icu-73.2-hc8870d7_0.conda
Extracting libcxx-16.0.6-h4653b0c_0.conda
Extracting libev-4.33-h93a5062_2.conda
Extracting libffi-3.4.2-h3422bc3_5.tar.bz2
Extracting libiconv-1.17-h0d3ecfb_2.conda
Extracting libzlib-1.2.13-h53f4e23_5.conda
Extracting lzo-2.10-h642e427_1000.tar.bz2
Extracting ncurses-6.4-h463b476_2.conda
Extracting pybind11-abi-4-hd8ed1ab_3.tar.bz2
Extracting python_abi-3.10-4_cp310.conda
Extracting reproc-14.2.4.post0-h93a5062_1.conda
Extracting tzdata-2023c-h71feb2d_0.conda
Extracting xz-5.2.6-h57fd34a_0.tar.bz2
Extracting fmt-10.1.1-h6aa02a4_1.conda
Extracting libedit-3.1.20191231-hc8eb9b7_2.tar.bz2
Extracting libsolv-0.7.27-h9e231a4_0.conda
Extracting libsqlite-3.44.2-h091b4b1_0.conda
Extracting libxml2-2.12.3-h0d0cfa8_0.conda
Extracting lz4-c-1.9.4-hb7217d7_0.conda
Extracting openssl-3.2.0-h0d3ecfb_1.conda
Extracting readline-8.2-h92ec313_1.conda
Extracting reproc-cpp-14.2.4.post0-h965bd2d_1.conda
Extracting tk-8.6.13-h5083fa2_1.conda
Extracting yaml-cpp-0.8.0-h13dd4ca_0.conda
Extracting zstd-1.5.5-h4f39d0f_0.conda
Extracting krb5-1.21.2-h92f50d5_0.conda
Extracting libarchive-3.7.2-hcacb583_1.conda
Extracting libnghttp2-1.58.0-ha4dd798_1.conda
Extracting libssh2-1.11.0-h7a5bd25_0.conda
Extracting python-3.10.13-h2469fbe_0_cpython.conda
Extracting archspec-0.2.2-pyhd8ed1ab_0.conda
Extracting boltons-23.1.1-pyhd8ed1ab_0.conda
Extracting brotli-python-1.1.0-py310h1253130_1.conda
Extracting certifi-2023.11.17-pyhd8ed1ab_0.conda
Extracting charset-normalizer-3.3.2-pyhd8ed1ab_0.conda
Extracting colorama-0.4.6-pyhd8ed1ab_0.tar.bz2
Extracting distro-1.8.0-pyhd8ed1ab_0.conda
Extracting idna-3.6-pyhd8ed1ab_0.conda
Extracting jsonpointer-2.4-py310hbe9552e_3.conda
Extracting libcurl-8.5.0-h2d989ff_0.conda
Extracting menuinst-2.0.1-py310hbe9552e_0.conda
Extracting packaging-23.2-pyhd8ed1ab_0.conda
Extracting platformdirs-4.1.0-pyhd8ed1ab_0.conda
Extracting pluggy-1.3.0-pyhd8ed1ab_0.conda
Extracting pycosat-0.6.6-py310h2aa6e3c_0.conda
Extracting pycparser-2.21-pyhd8ed1ab_0.tar.bz2
Extracting pysocks-1.7.1-pyha2e5f31_6.tar.bz2
Extracting ruamel.yaml.clib-0.2.7-py310h2aa6e3c_2.conda
Extracting setuptools-68.2.2-pyhd8ed1ab_0.conda
Extracting truststore-0.8.0-pyhd8ed1ab_0.conda
Extracting wheel-0.42.0-pyhd8ed1ab_0.conda
Extracting cffi-1.16.0-py310hdcd7c05_0.conda
Extracting jsonpatch-1.33-pyhd8ed1ab_0.conda
Extracting libmamba-1.5.5-h0a6dc31_0.conda
Extracting pip-23.3.2-pyhd8ed1ab_0.conda
Extracting ruamel.yaml-0.18.5-py310hd125d64_0.conda
Extracting tqdm-4.66.1-pyhd8ed1ab_0.conda
Extracting urllib3-2.1.0-pyhd8ed1ab_0.conda
Extracting libmambapy-1.5.5-py310h3812fd7_0.conda
Extracting requests-2.31.0-pyhd8ed1ab_0.conda
Extracting zstandard-0.22.0-py310h6289e41_0.conda
Extracting conda-package-streaming-0.9.0-pyhd8ed1ab_0.conda
Extracting conda-package-handling-2.2.0-pyh38be061_0.conda
Extracting conda-libmamba-solver-23.12.0-pyhd8ed1ab_0.conda
Extracting conda-23.11.0-py310hbe9552e_1.conda
Extracting mamba-1.5.5-py310ha5d4528_0.conda

Installing base environment...

                                           __
          __  ______ ___  ____ _____ ___  / /_  ____ _
         / / / / __ `__ \/ __ `/ __ `__ \/ __ \/ __ `/
        / /_/ / / / / / / /_/ / / / / / / /_/ / /_/ /
       / .___/_/ /_/ /_/\__,_/_/ /_/ /_/_.___/\__,_/
      /_/

Transaction

  Prefix: /Users/guta/Library/r-miniconda-arm64

  Updating specs:

   - conda-forge/osx-arm64::bzip2==1.0.8=h93a5062_5[md5=1bbc659ca658bfd49a481b5ef7a0f40f]
   - conda-forge/osx-arm64::c-ares==1.24.0=h93a5062_0[md5=10cffc463301ca93deba3242812f8db9]
   - conda-forge/osx-arm64::ca-certificates==2023.11.17=hf0a4a13_0[md5=c01da7c77cfcba2107174e25c1d47384]
   - conda-forge/osx-arm64::icu==73.2=hc8870d7_0[md5=8521bd47c0e11c5902535bb1a17c565f]
   - conda-forge/osx-arm64::libcxx==16.0.6=h4653b0c_0[md5=9d7d724faf0413bf1dbc5a85935700c8]
   - conda-forge/osx-arm64::libev==4.33=h93a5062_2[md5=36d33e440c31857372a72137f78bacf5]
   - conda-forge/osx-arm64::libffi==3.4.2=h3422bc3_5[md5=086914b672be056eb70fd4285b6783b6]
   - conda-forge/osx-arm64::libiconv==1.17=h0d3ecfb_2[md5=69bda57310071cf6d2b86caf11573d2d]
   - conda-forge/osx-arm64::libzlib==1.2.13=h53f4e23_5[md5=1a47f5236db2e06a320ffa0392f81bd8]
   - conda-forge/osx-arm64::lzo==2.10=h642e427_1000[md5=ddab5f96f5573a9bd5e24f9994fd6ec9]
   - conda-forge/osx-arm64::ncurses==6.4=h463b476_2[md5=52b6f254a7b9663e854f44b6570ed982]
   - conda-forge/noarch::pybind11-abi==4=hd8ed1ab_3[md5=878f923dd6acc8aeb47a75da6c4098be]
   - conda-forge/osx-arm64::python_abi==3.10=4_cp310[md5=1a3d9c6bb5f0b1b22d9e9296c127e8c7]
   - conda-forge/osx-arm64::reproc==14.2.4.post0=h93a5062_1[md5=ef7ae6d7bb50c8c735551d825e1ea287]
   - conda-forge/noarch::tzdata==2023c=h71feb2d_0[md5=939e3e74d8be4dac89ce83b20de2492a]
   - conda-forge/osx-arm64::xz==5.2.6=h57fd34a_0[md5=39c6b54e94014701dd157f4f576ed211]
   - conda-forge/osx-arm64::fmt==10.1.1=h6aa02a4_1[md5=5b0d29200e83c7ec75342d543349e9aa]
   - conda-forge/osx-arm64::libedit==3.1.20191231=hc8eb9b7_2[md5=30e4362988a2623e9eb34337b83e01f9]
   - conda-forge/osx-arm64::libsolv==0.7.27=h9e231a4_0[md5=f5568a2094eed1fc5742dc6d4b91e222]
   - conda-forge/osx-arm64::libsqlite==3.44.2=h091b4b1_0[md5=d7e1af696cfadec251a0abdd7b79ed77]
   - conda-forge/osx-arm64::libxml2==2.12.3=h0d0cfa8_0[md5=84e330ed40b5bf8e95a65529ccb94a14]
   - conda-forge/osx-arm64::lz4-c==1.9.4=hb7217d7_0[md5=45505bec548634f7d05e02fb25262cb9]
   - conda-forge/osx-arm64::openssl==3.2.0=h0d3ecfb_1[md5=47d16d26100f19ca495882882b7bc93b]
   - conda-forge/osx-arm64::readline==8.2=h92ec313_1[md5=8cbb776a2f641b943d413b3e19df71f4]
   - conda-forge/osx-arm64::reproc-cpp==14.2.4.post0=h965bd2d_1[md5=f81d00496e13ee828f84b3ef17e41346]
   - conda-forge/osx-arm64::tk==8.6.13=h5083fa2_1[md5=b50a57ba89c32b62428b71a875291c9b]
   - conda-forge/osx-arm64::yaml-cpp==0.8.0=h13dd4ca_0[md5=e783a232972a5c7dca549111e63a78b2]
   - conda-forge/osx-arm64::zstd==1.5.5=h4f39d0f_0[md5=5b212cfb7f9d71d603ad891879dc7933]
   - conda-forge/osx-arm64::krb5==1.21.2=h92f50d5_0[md5=92f1cff174a538e0722bf2efb16fc0b2]
   - conda-forge/osx-arm64::libarchive==3.7.2=hcacb583_1[md5=1c8c447ce71bf5f769674b621142a73a]
   - conda-forge/osx-arm64::libnghttp2==1.58.0=ha4dd798_1[md5=1813e066bfcef82de579a0be8a766df4]
   - conda-forge/osx-arm64::libssh2==1.11.0=h7a5bd25_0[md5=029f7dc931a3b626b94823bc77830b01]
   - conda-forge/osx-arm64::python==3.10.13=h2469fbe_0_cpython[md5=c962b55e55a14d30f61fe11b84c2b319]
   - conda-forge/noarch::archspec==0.2.2=pyhd8ed1ab_0[md5=0dc2fce00a160271714647c019e3a8a8]
   - conda-forge/noarch::boltons==23.1.1=pyhd8ed1ab_0[md5=56febe65315cc388a5d20adf2b39a74d]
   - conda-forge/osx-arm64::brotli-python==1.1.0=py310h1253130_1[md5=26fab7f65a80fff9f402ec3b7860b88a]
   - conda-forge/noarch::certifi==2023.11.17=pyhd8ed1ab_0[md5=2011bcf45376341dd1d690263fdbc789]
   - conda-forge/noarch::charset-normalizer==3.3.2=pyhd8ed1ab_0[md5=7f4a9e3fcff3f6356ae99244a014da6a]
   - conda-forge/noarch::colorama==0.4.6=pyhd8ed1ab_0[md5=3faab06a954c2a04039983f2c4a50d99]
   - conda-forge/noarch::distro==1.8.0=pyhd8ed1ab_0[md5=67999c5465064480fa8016d00ac768f6]
   - conda-forge/noarch::idna==3.6=pyhd8ed1ab_0[md5=1a76f09108576397c41c0b0c5bd84134]
   - conda-forge/osx-arm64::jsonpointer==2.4=py310hbe9552e_3[md5=7e521c322debe4fb1ac5fea63307a724]
   - conda-forge/osx-arm64::libcurl==8.5.0=h2d989ff_0[md5=f1211ed00947a84e15a964a8f459f620]
   - conda-forge/osx-arm64::menuinst==2.0.1=py310hbe9552e_0[md5=47eee527da695d7041842c7e8a29049c]
   - conda-forge/noarch::packaging==23.2=pyhd8ed1ab_0[md5=79002079284aa895f883c6b7f3f88fd6]
   - conda-forge/noarch::platformdirs==4.1.0=pyhd8ed1ab_0[md5=45a5065664da0d1dfa8f8cd2eaf05ab9]
   - conda-forge/noarch::pluggy==1.3.0=pyhd8ed1ab_0[md5=2390bd10bed1f3fdc7a537fb5a447d8d]
   - conda-forge/osx-arm64::pycosat==0.6.6=py310h2aa6e3c_0[md5=3a048bfd19ef0f4e1d6efd3f821c3988]
   - conda-forge/noarch::pycparser==2.21=pyhd8ed1ab_0[md5=076becd9e05608f8dc72757d5f3a91ff]
   - conda-forge/noarch::pysocks==1.7.1=pyha2e5f31_6[md5=2a7de29fb590ca14b5243c4c812c8025]
   - conda-forge/osx-arm64::ruamel.yaml.clib==0.2.7=py310h2aa6e3c_2[md5=856ce2f288064775aa652ad9da9acbdc]
   - conda-forge/noarch::setuptools==68.2.2=pyhd8ed1ab_0[md5=fc2166155db840c634a1291a5c35a709]
   - conda-forge/noarch::truststore==0.8.0=pyhd8ed1ab_0[md5=08316d001eca8854392cf2837828ea11]
   - conda-forge/noarch::wheel==0.42.0=pyhd8ed1ab_0[md5=1cdea58981c5cbc17b51973bcaddcea7]
   - conda-forge/osx-arm64::cffi==1.16.0=py310hdcd7c05_0[md5=8855823d908004e4d3b4fd4218795ad2]
   - conda-forge/noarch::jsonpatch==1.33=pyhd8ed1ab_0[md5=bfdb7c5c6ad1077c82a69a8642c87aff]
   - conda-forge/osx-arm64::libmamba==1.5.5=h0a6dc31_0[md5=4c006577c370454a5dbe2802f49a29f4]
   - conda-forge/noarch::pip==23.3.2=pyhd8ed1ab_0[md5=8591c748f98dcc02253003533bc2e4b1]
   - conda-forge/osx-arm64::ruamel.yaml==0.18.5=py310hd125d64_0[md5=f79029aa82ac60f514bd64b603ada0e2]
   - conda-forge/noarch::tqdm==4.66.1=pyhd8ed1ab_0[md5=03c97908b976498dcae97eb4e4f3149c]
   - conda-forge/noarch::urllib3==2.1.0=pyhd8ed1ab_0[md5=f8ced8ee63830dec7ecc1be048d1470a]
   - conda-forge/osx-arm64::libmambapy==1.5.5=py310h3812fd7_0[md5=4ec52e830893edae3a13e3b48477732c]
   - conda-forge/noarch::requests==2.31.0=pyhd8ed1ab_0[md5=a30144e4156cdbb236f99ebb49828f8b]
   - conda-forge/osx-arm64::zstandard==0.22.0=py310h6289e41_0[md5=f09fc5240964cceff0bbb2d68dbb6a5d]
   - conda-forge/noarch::conda-package-streaming==0.9.0=pyhd8ed1ab_0[md5=38253361efb303deead3eab39ae9269b]
   - conda-forge/noarch::conda-package-handling==2.2.0=pyh38be061_0[md5=8a3ae7f6318376aa08ea753367bb7dd6]
   - conda-forge/noarch::conda-libmamba-solver==23.12.0=pyhd8ed1ab_0[md5=e877d5150e73a0844ea2939be110c3b1]
   - conda-forge/osx-arm64::conda==23.11.0=py310hbe9552e_1[md5=208a4dfa118d9824f2b2ea7095637abd]
   - conda-forge/osx-arm64::mamba==1.5.5=py310ha5d4528_0[md5=2e7acd2274a047dfe55d6b1758e3310c]

  Package                         Version  Build               Channel           Size
───────────────────────────────────────────────────────────────────────────────────────
  Install:
───────────────────────────────────────────────────────────────────────────────────────

  + archspec                        0.2.2  pyhd8ed1ab_0        conda-forge     Cached
  + boltons                        23.1.1  pyhd8ed1ab_0        conda-forge     Cached
  + brotli-python                   1.1.0  py310h1253130_1     conda-forge     Cached
  + bzip2                           1.0.8  h93a5062_5          conda-forge     Cached
  + c-ares                         1.24.0  h93a5062_0          conda-forge     Cached
  + ca-certificates            2023.11.17  hf0a4a13_0          conda-forge     Cached
  + certifi                    2023.11.17  pyhd8ed1ab_0        conda-forge     Cached
  + cffi                           1.16.0  py310hdcd7c05_0     conda-forge     Cached
  + charset-normalizer              3.3.2  pyhd8ed1ab_0        conda-forge     Cached
  + colorama                        0.4.6  pyhd8ed1ab_0        conda-forge     Cached
  + conda                         23.11.0  py310hbe9552e_1     conda-forge     Cached
  + conda-libmamba-solver         23.12.0  pyhd8ed1ab_0        conda-forge     Cached
  + conda-package-handling          2.2.0  pyh38be061_0        conda-forge     Cached
  + conda-package-streaming         0.9.0  pyhd8ed1ab_0        conda-forge     Cached
  + distro                          1.8.0  pyhd8ed1ab_0        conda-forge     Cached
  + fmt                            10.1.1  h6aa02a4_1          conda-forge     Cached
  + icu                              73.2  hc8870d7_0          conda-forge     Cached
  + idna                              3.6  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpatch                        1.33  pyhd8ed1ab_0        conda-forge     Cached
  + jsonpointer                       2.4  py310hbe9552e_3     conda-forge     Cached
  + krb5                           1.21.2  h92f50d5_0          conda-forge     Cached
  + libarchive                      3.7.2  hcacb583_1          conda-forge     Cached
  + libcurl                         8.5.0  h2d989ff_0          conda-forge     Cached
  + libcxx                         16.0.6  h4653b0c_0          conda-forge     Cached
  + libedit                  3.1.20191231  hc8eb9b7_2          conda-forge     Cached
  + libev                            4.33  h93a5062_2          conda-forge     Cached
  + libffi                          3.4.2  h3422bc3_5          conda-forge     Cached
  + libiconv                         1.17  h0d3ecfb_2          conda-forge     Cached
  + libmamba                        1.5.5  h0a6dc31_0          conda-forge     Cached
  + libmambapy                      1.5.5  py310h3812fd7_0     conda-forge     Cached
  + libnghttp2                     1.58.0  ha4dd798_1          conda-forge     Cached
  + libsolv                        0.7.27  h9e231a4_0          conda-forge     Cached
  + libsqlite                      3.44.2  h091b4b1_0          conda-forge     Cached
  + libssh2                        1.11.0  h7a5bd25_0          conda-forge     Cached
  + libxml2                        2.12.3  h0d0cfa8_0          conda-forge     Cached
  + libzlib                        1.2.13  h53f4e23_5          conda-forge     Cached
  + lz4-c                           1.9.4  hb7217d7_0          conda-forge     Cached
  + lzo                              2.10  h642e427_1000       conda-forge     Cached
  + mamba                           1.5.5  py310ha5d4528_0     conda-forge     Cached
  + menuinst                        2.0.1  py310hbe9552e_0     conda-forge     Cached
  + ncurses                           6.4  h463b476_2          conda-forge     Cached
  + openssl                         3.2.0  h0d3ecfb_1          conda-forge     Cached
  + packaging                        23.2  pyhd8ed1ab_0        conda-forge     Cached
  + pip                            23.3.2  pyhd8ed1ab_0        conda-forge     Cached
  + platformdirs                    4.1.0  pyhd8ed1ab_0        conda-forge     Cached
  + pluggy                          1.3.0  pyhd8ed1ab_0        conda-forge     Cached
  + pybind11-abi                        4  hd8ed1ab_3          conda-forge     Cached
  + pycosat                         0.6.6  py310h2aa6e3c_0     conda-forge     Cached
  + pycparser                        2.21  pyhd8ed1ab_0        conda-forge     Cached
  + pysocks                         1.7.1  pyha2e5f31_6        conda-forge     Cached
  + python                        3.10.13  h2469fbe_0_cpython  conda-forge     Cached
  + python_abi                       3.10  4_cp310             conda-forge     Cached
  + readline                          8.2  h92ec313_1          conda-forge     Cached
  + reproc                   14.2.4.post0  h93a5062_1          conda-forge     Cached
  + reproc-cpp               14.2.4.post0  h965bd2d_1          conda-forge     Cached
  + requests                       2.31.0  pyhd8ed1ab_0        conda-forge     Cached
  + ruamel.yaml                    0.18.5  py310hd125d64_0     conda-forge     Cached
  + ruamel.yaml.clib                0.2.7  py310h2aa6e3c_2     conda-forge     Cached
  + setuptools                     68.2.2  pyhd8ed1ab_0        conda-forge     Cached
  + tk                             8.6.13  h5083fa2_1          conda-forge     Cached
  + tqdm                           4.66.1  pyhd8ed1ab_0        conda-forge     Cached
  + truststore                      0.8.0  pyhd8ed1ab_0        conda-forge     Cached
  + tzdata                          2023c  h71feb2d_0          conda-forge     Cached
  + urllib3                         2.1.0  pyhd8ed1ab_0        conda-forge     Cached
  + wheel                          0.42.0  pyhd8ed1ab_0        conda-forge     Cached
  + xz                              5.2.6  h57fd34a_0          conda-forge     Cached
  + yaml-cpp                        0.8.0  h13dd4ca_0          conda-forge     Cached
  + zstandard                      0.22.0  py310h6289e41_0     conda-forge     Cached
  + zstd                            1.5.5  h4f39d0f_0          conda-forge     Cached

  Summary:

  Install: 69 packages

  Total download: 0 B

───────────────────────────────────────────────────────────────────────────────────────

Transaction starting
Linking bzip2-1.0.8-h93a5062_5
Linking c-ares-1.24.0-h93a5062_0
Linking ca-certificates-2023.11.17-hf0a4a13_0
Linking icu-73.2-hc8870d7_0
Linking libcxx-16.0.6-h4653b0c_0
Linking libev-4.33-h93a5062_2
Linking libffi-3.4.2-h3422bc3_5
Linking libiconv-1.17-h0d3ecfb_2
Linking libzlib-1.2.13-h53f4e23_5
Linking lzo-2.10-h642e427_1000
Linking ncurses-6.4-h463b476_2
Linking pybind11-abi-4-hd8ed1ab_3
Linking python_abi-3.10-4_cp310
Linking reproc-14.2.4.post0-h93a5062_1
Linking tzdata-2023c-h71feb2d_0
Linking xz-5.2.6-h57fd34a_0
Linking fmt-10.1.1-h6aa02a4_1
Linking libedit-3.1.20191231-hc8eb9b7_2
Linking libsolv-0.7.27-h9e231a4_0
Linking libsqlite-3.44.2-h091b4b1_0
Linking libxml2-2.12.3-h0d0cfa8_0
Linking lz4-c-1.9.4-hb7217d7_0
Linking openssl-3.2.0-h0d3ecfb_1
Linking readline-8.2-h92ec313_1
Linking reproc-cpp-14.2.4.post0-h965bd2d_1
Linking tk-8.6.13-h5083fa2_1
Linking yaml-cpp-0.8.0-h13dd4ca_0
Linking zstd-1.5.5-h4f39d0f_0
Linking krb5-1.21.2-h92f50d5_0
Linking libarchive-3.7.2-hcacb583_1
Linking libnghttp2-1.58.0-ha4dd798_1
Linking libssh2-1.11.0-h7a5bd25_0
Linking python-3.10.13-h2469fbe_0_cpython
Linking archspec-0.2.2-pyhd8ed1ab_0
Linking boltons-23.1.1-pyhd8ed1ab_0
Linking brotli-python-1.1.0-py310h1253130_1
Linking certifi-2023.11.17-pyhd8ed1ab_0
Linking charset-normalizer-3.3.2-pyhd8ed1ab_0
Linking colorama-0.4.6-pyhd8ed1ab_0
Linking distro-1.8.0-pyhd8ed1ab_0
Linking idna-3.6-pyhd8ed1ab_0
Linking jsonpointer-2.4-py310hbe9552e_3
Linking libcurl-8.5.0-h2d989ff_0
Linking menuinst-2.0.1-py310hbe9552e_0
Linking packaging-23.2-pyhd8ed1ab_0
Linking platformdirs-4.1.0-pyhd8ed1ab_0
Linking pluggy-1.3.0-pyhd8ed1ab_0
Linking pycosat-0.6.6-py310h2aa6e3c_0
Linking pycparser-2.21-pyhd8ed1ab_0
Linking pysocks-1.7.1-pyha2e5f31_6
Linking ruamel.yaml.clib-0.2.7-py310h2aa6e3c_2
Linking setuptools-68.2.2-pyhd8ed1ab_0
Linking truststore-0.8.0-pyhd8ed1ab_0
Linking wheel-0.42.0-pyhd8ed1ab_0
Linking cffi-1.16.0-py310hdcd7c05_0
Linking jsonpatch-1.33-pyhd8ed1ab_0
Linking libmamba-1.5.5-h0a6dc31_0
Linking pip-23.3.2-pyhd8ed1ab_0
Linking ruamel.yaml-0.18.5-py310hd125d64_0
Linking tqdm-4.66.1-pyhd8ed1ab_0
Linking urllib3-2.1.0-pyhd8ed1ab_0
Linking libmambapy-1.5.5-py310h3812fd7_0
Linking requests-2.31.0-pyhd8ed1ab_0
Linking zstandard-0.22.0-py310h6289e41_0
Linking conda-package-streaming-0.9.0-pyhd8ed1ab_0
Linking conda-package-handling-2.2.0-pyh38be061_0
Linking conda-libmamba-solver-23.12.0-pyhd8ed1ab_0
Linking conda-23.11.0-py310hbe9552e_1
Linking mamba-1.5.5-py310ha5d4528_0
Transaction finished
installation finished.
+ /Users/guta/Library/r-miniconda-arm64/bin/conda update --yes --name base conda
Channels:
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

==> WARNING: A newer version of conda exists. <==
    current version: 23.11.0
    latest version: 24.1.2

Please update conda by running

    $ conda update -n base -c conda-forge conda

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64

  added / updated specs:
    - conda

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    ca-certificates-2024.2.2   |       hf0a4a13_0         152 KB  conda-forge
    certifi-2024.2.2           |     pyhd8ed1ab_0         157 KB  conda-forge
    openssl-3.2.1              |       h0d3ecfb_0         2.7 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         3.0 MB

The following packages will be UPDATED:

  ca-certificates                     2023.11.17-hf0a4a13_0 --> 2024.2.2-hf0a4a13_0 
  certifi                           2023.11.17-pyhd8ed1ab_0 --> 2024.2.2-pyhd8ed1ab_0 
  openssl                                  3.2.0-h0d3ecfb_1 --> 3.2.1-h0d3ecfb_0 

Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'create' '--yes' '--name' 'r-reticulate' 'python=3.9' 'numpy' '--quiet' '-c' 'conda-forge'
Channels:
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/r-reticulate

  added / updated specs:
    - numpy
    - python=3.9

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libblas-3.9.0              |21_osxarm64_openblas          15 KB  conda-forge
    libcblas-3.9.0             |21_osxarm64_openblas          14 KB  conda-forge
    libgfortran-5.0.0          |13_2_0_hd922786_3         108 KB  conda-forge
    libgfortran5-13.2.0        |       hf226fd6_3         974 KB  conda-forge
    liblapack-3.9.0            |21_osxarm64_openblas          14 KB  conda-forge
    libopenblas-0.3.26         |openmp_h6c19121_0         2.8 MB  conda-forge
    libsqlite-3.45.1           |       h091b4b1_0         805 KB  conda-forge
    llvm-openmp-17.0.6         |       hcd81f8e_0         268 KB  conda-forge
    numpy-1.26.4               |   py39h7aa2656_0         5.2 MB  conda-forge
    pip-24.0                   |     pyhd8ed1ab_0         1.3 MB  conda-forge
    python-3.9.18              |hd7ebdb9_1_cpython        11.3 MB  conda-forge
    python_abi-3.9             |           4_cp39           6 KB  conda-forge
    setuptools-69.1.1          |     pyhd8ed1ab_0         459 KB  conda-forge
    tzdata-2024a               |       h0c530f3_0         117 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        23.3 MB

The following NEW packages will be INSTALLED:

  bzip2              conda-forge/osx-arm64::bzip2-1.0.8-h93a5062_5 
  ca-certificates    conda-forge/osx-arm64::ca-certificates-2024.2.2-hf0a4a13_0 
  libblas            conda-forge/osx-arm64::libblas-3.9.0-21_osxarm64_openblas 
  libcblas           conda-forge/osx-arm64::libcblas-3.9.0-21_osxarm64_openblas 
  libcxx             conda-forge/osx-arm64::libcxx-16.0.6-h4653b0c_0 
  libffi             conda-forge/osx-arm64::libffi-3.4.2-h3422bc3_5 
  libgfortran        conda-forge/osx-arm64::libgfortran-5.0.0-13_2_0_hd922786_3 
  libgfortran5       conda-forge/osx-arm64::libgfortran5-13.2.0-hf226fd6_3 
  liblapack          conda-forge/osx-arm64::liblapack-3.9.0-21_osxarm64_openblas 
  libopenblas        conda-forge/osx-arm64::libopenblas-0.3.26-openmp_h6c19121_0 
  libsqlite          conda-forge/osx-arm64::libsqlite-3.45.1-h091b4b1_0 
  libzlib            conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5 
  llvm-openmp        conda-forge/osx-arm64::llvm-openmp-17.0.6-hcd81f8e_0 
  ncurses            conda-forge/osx-arm64::ncurses-6.4-h463b476_2 
  numpy              conda-forge/osx-arm64::numpy-1.26.4-py39h7aa2656_0 
  openssl            conda-forge/osx-arm64::openssl-3.2.1-h0d3ecfb_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  python             conda-forge/osx-arm64::python-3.9.18-hd7ebdb9_1_cpython 
  python_abi         conda-forge/osx-arm64::python_abi-3.9-4_cp39 
  readline           conda-forge/osx-arm64::readline-8.2-h92ec313_1 
  setuptools         conda-forge/noarch::setuptools-69.1.1-pyhd8ed1ab_0 
  tk                 conda-forge/osx-arm64::tk-8.6.13-h5083fa2_1 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0 
  xz                 conda-forge/osx-arm64::xz-5.2.6-h57fd34a_0 

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
* Miniconda has been successfully installed at "~/Library/r-miniconda-arm64".
+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'create' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' 'python=3.12' '--quiet' '-c' 'conda-forge'
Channels:
 - conda-forge
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

  added / updated specs:
    - python=3.12

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libexpat-2.6.1             |       hebf3989_0          62 KB  conda-forge
    python-3.12.2              |hdf0ec26_0_cpython        12.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        12.5 MB

The following NEW packages will be INSTALLED:

  bzip2              conda-forge/osx-arm64::bzip2-1.0.8-h93a5062_5 
  ca-certificates    conda-forge/osx-arm64::ca-certificates-2024.2.2-hf0a4a13_0 
  libexpat           conda-forge/osx-arm64::libexpat-2.6.1-hebf3989_0 
  libffi             conda-forge/osx-arm64::libffi-3.4.2-h3422bc3_5 
  libsqlite          conda-forge/osx-arm64::libsqlite-3.45.1-h091b4b1_0 
  libzlib            conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5 
  ncurses            conda-forge/osx-arm64::ncurses-6.4-h463b476_2 
  openssl            conda-forge/osx-arm64::openssl-3.2.1-h0d3ecfb_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  python             conda-forge/osx-arm64::python-3.12.2-hdf0ec26_0_cpython 
  readline           conda-forge/osx-arm64::readline-8.2-h92ec313_1 
  setuptools         conda-forge/noarch::setuptools-69.1.1-pyhd8ed1ab_0 
  tk                 conda-forge/osx-arm64::tk-8.6.13-h5083fa2_1 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0 
  xz                 conda-forge/osx-arm64::xz-5.2.6-h57fd34a_0 

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ . /Users/guta/Library/r-miniconda-arm64/bin/activate
+ conda activate 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2'
+ '/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python' -m pip install --upgrade --no-user 'msprime==1.3.1' 'tskit==0.5.6' 'pyslim==1.0.4'
Collecting msprime==1.3.1
  Using cached msprime-1.3.1-cp312-cp312-macosx_11_0_arm64.whl
Collecting tskit==0.5.6
  Using cached tskit-0.5.6.tar.gz (437 kB)
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Collecting pyslim==1.0.4
  Using cached pyslim-1.0.4-py3-none-any.whl.metadata (1.3 kB)
Collecting numpy (from msprime==1.3.1)
  Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl.metadata (61 kB)
Collecting newick>=1.3.0 (from msprime==1.3.1)
  Using cached newick-1.9.0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting demes>=0.2 (from msprime==1.3.1)
  Using cached demes-0.2.3-py3-none-any.whl.metadata (1.9 kB)
Collecting jsonschema>=3.0.0 (from tskit==0.5.6)
  Using cached jsonschema-4.21.1-py3-none-any.whl.metadata (7.8 kB)
Collecting svgwrite>=1.1.10 (from tskit==0.5.6)
  Using cached svgwrite-1.4.3-py3-none-any.whl.metadata (8.8 kB)
Collecting attrs>=20.3.0 (from demes>=0.2->msprime==1.3.1)
  Using cached attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB)
Collecting ruamel.yaml>=0.15.78 (from demes>=0.2->msprime==1.3.1)
  Using cached ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0.0->tskit==0.5.6)
  Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)
Collecting referencing>=0.28.4 (from jsonschema>=3.0.0->tskit==0.5.6)
  Using cached referencing-0.33.0-py3-none-any.whl.metadata (2.7 kB)
Collecting rpds-py>=0.7.1 (from jsonschema>=3.0.0->tskit==0.5.6)
  Using cached rpds_py-0.18.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (4.1 kB)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml>=0.15.78->demes>=0.2->msprime==1.3.1)
  Using cached ruamel.yaml.clib-0.2.8-cp312-cp312-macosx_13_0_arm64.whl.metadata (2.2 kB)
Using cached pyslim-1.0.4-py3-none-any.whl (65 kB)
Using cached demes-0.2.3-py3-none-any.whl (40 kB)
Using cached jsonschema-4.21.1-py3-none-any.whl (85 kB)
Using cached newick-1.9.0-py2.py3-none-any.whl (15 kB)
Using cached numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl (13.7 MB)
Using cached svgwrite-1.4.3-py3-none-any.whl (67 kB)
Using cached attrs-23.2.0-py3-none-any.whl (60 kB)
Using cached jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)
Using cached referencing-0.33.0-py3-none-any.whl (26 kB)
Using cached rpds_py-0.18.0-cp312-cp312-macosx_11_0_arm64.whl (332 kB)
Using cached ruamel.yaml-0.18.6-py3-none-any.whl (117 kB)
Using cached ruamel.yaml.clib-0.2.8-cp312-cp312-macosx_13_0_arm64.whl (135 kB)
Building wheels for collected packages: tskit
  Building wheel for tskit (setup.py): started
  Building wheel for tskit (setup.py): finished with status 'error'
  error: subprocess-exited-with-error

  Γ— python setup.py bdist_wheel did not run successfully.
  β”‚ exit code: 1
  ╰─> [48 lines of output]
      /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/setup.py", line 66, in <module>
          setup(
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 102, in setup
          _install_setup_requires(attrs)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 80, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/dist.py", line 636, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/installer.py", line 38, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 813, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 849, in _resolve_dist
          dist = best[req.key] = env.best_match(
                                 ^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1119, in best_match
          return self.obtain(req, installer)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1130, in obtain
          return installer(requirement) if installer else None
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/installer.py", line 106, in _fetch_build_egg_no_warn
          wheel.install_as_egg(dist_location)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 120, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 128, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 173, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/.eggs/numpy-1.26.4-py3.12-macosx-11.0-arm64.egg/numpy-1.26.4.dist-info' -> '/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/.eggs/numpy-1.26.4-py3.12-macosx-11.0-arm64.egg/EGG-INFO'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for tskit
  Running setup.py clean for tskit
  error: subprocess-exited-with-error

  Γ— python setup.py clean did not run successfully.
  β”‚ exit code: 1
  ╰─> [48 lines of output]
      /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
      !!

              ********************************************************************************
              Requirements should be satisfied by a PEP 517 installer.
              If you are using pip, you can try `pip install --use-pep517`.
              ********************************************************************************

      !!
        dist.fetch_build_eggs(dist.setup_requires)
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/setup.py", line 66, in <module>
          setup(
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 102, in setup
          _install_setup_requires(attrs)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires
          _fetch_build_eggs(dist)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/__init__.py", line 80, in _fetch_build_eggs
          dist.fetch_build_eggs(dist.setup_requires)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/dist.py", line 636, in fetch_build_eggs
          return _fetch_build_eggs(self, requires)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/installer.py", line 38, in _fetch_build_eggs
          resolved_dists = pkg_resources.working_set.resolve(
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 813, in resolve
          dist = self._resolve_dist(
                 ^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 849, in _resolve_dist
          dist = best[req.key] = env.best_match(
                                 ^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1119, in best_match
          return self.obtain(req, installer)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/pkg_resources/__init__.py", line 1130, in obtain
          return installer(requirement) if installer else None
                 ^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/installer.py", line 106, in _fetch_build_egg_no_warn
          wheel.install_as_egg(dist_location)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 120, in install_as_egg
          self._install_as_egg(destination_eggdir, zf)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 128, in _install_as_egg
          self._convert_metadata(zf, destination_eggdir, dist_info, egg_info)
        File "/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages/setuptools/wheel.py", line 173, in _convert_metadata
          os.rename(dist_info, egg_info)
      OSError: [Errno 66] Directory not empty: '/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/.eggs/numpy-1.26.4-py3.12-macosx-11.0-arm64.egg/numpy-1.26.4.dist-info' -> '/private/var/folders/xk/nlffy20d159_rc60j22zw_vh0000gn/T/pip-install-kqzxa8cv/tskit_f3d26ecc5c574bf99d7cbf9529627771/.eggs/numpy-1.26.4-py3.12-macosx-11.0-arm64.egg/EGG-INFO'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed cleaning build dir for tskit
Failed to build tskit
ERROR: Could not build wheels for tskit, which is required to install pyproject.toml-based projects
Error: Error installing package(s): "'msprime==1.3.1'", "'tskit==0.5.6'", "'pyslim==1.0.4'"
bodkan commented 7 months ago

Haha, oh man, not another Python/conda problem! 🀣

More seriously though - hello, Gustavo! Thanks for checking out slendr and for reporting back!

First β€” this is going to sound a bit strange but can you try (in a freshly restarted R session) to type these, one by one, separately one after another, and report the entire output you get from each command? Thank you.

  1. library(slendr)

  2. init_env()

  3. check_env()

gsilvaarias commented 7 months ago

Hi, thanks for the reply. Here the output of :

  1. > library(slendr)
The 'slim' binary could not be found in your $PATH. Most of
the functionality of slendr will work without any issues but
you will not be able to simulate data with the `slim()` function.

If you want to run SLiM simulations, make sure to modify the $PATH
variable so that it points to the directory containing the slim
command-line program. One easy way to do this is to add this:

PATH="path/to/directory/with/slim/binary"

to your ~/.Renviron file.

Alternatively, use the `slim_path` argument of the `slim()` function.
--------------------
In order to use spatial features of slendr, packages 'sf', 'stars',
and 'rnaturalearth' are required but not all are present.

You can install all of them with
  `install.packages(c("sf", "stars", "rnaturalearth"))`.
--------------------
  1. init_env()
Error in py_run_file_impl(file, local, convert) : 
  ModuleNotFoundError: No module named 'numpy'
Run `reticulate::py_last_error()` for details.
  1. check_env()
Summary of the currently active Python environment:

Python binary: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python 
Python version: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] 

slendr requirements:
 - tskit: MISSING ❌ 
 - msprime: MISSING ❌ 
 - pyslim: MISSING ❌ 
 - tspop: MISSING ❌ 

Note that due to the technical limitations of embedded Python, if you
want to switch to another Python environment you will need to restart
your R session first.
bodkan commented 7 months ago

Yikes. Yeah, that’s a Python installation issue. As in, even if you were to run the installation of tskit, msprime, et al. in a plain shell terminal for Python only (which is actually exactly what happens when you peek into the setup_env() log that you helpfully posted in full), it would fail as well.

I am currently sort of on sick leave without access to my computer but as soon as I have access to it, I will dig in.

It has happened in the past that either tskit or msprime failed to build, particularly on M Macs, but given that stuff worked very recently on my M1 Mac, I would assume M2 should also be OK.

I will give you an update hopefully soon.

In the meantime, you could try this:

  1. clear_env(all = TRUE)

followed by (in a fresh R session):

  1. setup_env(pip = FALSE)

Switching off pip forces setup_env() to install slendr Python dependencies using conda which has been unfortunately broken on M Macs for tskit / msprime for a long time, so this is unlikely to help here. (I actually added the pip= option precisely to workaround conda being broken on those systems with pip working basically always.)

That said, it’s worth trying because as I said, I run M1 and you have M2 Mac, so perhaps the situation for M2 setups is different and the pip workaround isn’t need edge anymore.

In any case, dealing with Python installation is a traditional nightmare but I can confidently say that I got slendr running pretty much on any machine and setup ever, so don’t despair. :)

gsilvaarias commented 7 months ago

Hello. Thank you for your advice and the enormous effort to keep slendr running for everyone.

I tried to generate the new environment as you indicated, but as you expected, it didn't work. You can see below the outputs after executing these last two steps.

If I manage to create an environment that includes the needed packages/versions (Python-3.12, msprime-1.3.1, tskit-0.5.6, pyslim-1.0.4, and tspop-0.0.2), is it possible to run the setup_env() by pointing to my custom environment?

Best, Gustavo

> clear_env(all = TRUE)
The following slendr-looking Python environments have been identified:

 - [#1] Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

You will be asked for confirmation before any of them are deleted.
To remove all of them at once, you can call `clear_env(force = TRUE, all = TRUE)`.

Do you want to delete Python environment [#1]? (Hit ESC to cancel.)

/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/ 

1: No
2: Yes

Selection: 2
+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'remove' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' '--all'

Remove all packages in environment /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2:

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

The following packages will be REMOVED:

  bzip2-1.0.8-h93a5062_5
  ca-certificates-2024.2.2-hf0a4a13_0
  libexpat-2.6.1-hebf3989_0
  libffi-3.4.2-h3422bc3_5
  libsqlite-3.45.1-h091b4b1_0
  libzlib-1.2.13-h53f4e23_5
  ncurses-6.4-h463b476_2
  openssl-3.2.1-h0d3ecfb_0
  pip-24.0-pyhd8ed1ab_0
  python-3.12.2-hdf0ec26_0_cpython
  readline-8.2-h92ec313_1
  setuptools-69.1.1-pyhd8ed1ab_0
  tk-8.6.13-h5083fa2_1
  tzdata-2024a-h0c530f3_0
  wheel-0.42.0-pyhd8ed1ab_0
  xz-5.2.6-h57fd34a_0

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
slendr environment 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' has been sucessfully removed.

... and after starting a new fresh R session and loading slendr,

> setup_env(pip = FALSE)
This function will install a completely isolated Miniconda Python distribution
just for slendr and create an environment with all required Python modules.

Everything will be installed into a completely separate location into an
isolated environment in an R library directory. This won't affect your other
Python installations at all. You can always wipe out the automatically created
environment by running clear_env().

Do you wish to proceed with the automated Python environment setup? 

1: No
2: Yes

Selection: 2
=======================================================================
Installing slendr's Python environment. Please wait until
the installation procedure finishes. Do NOT interrupt the
process while the installation is still running.
======================================================================

+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'create' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' 'python=3.12' '--quiet' '-c' 'conda-forge'
Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

  added / updated specs:
    - python=3.12

The following NEW packages will be INSTALLED:

  bzip2              conda-forge/osx-arm64::bzip2-1.0.8-h93a5062_5 
  ca-certificates    conda-forge/osx-arm64::ca-certificates-2024.2.2-hf0a4a13_0 
  libexpat           conda-forge/osx-arm64::libexpat-2.6.1-hebf3989_0 
  libffi             conda-forge/osx-arm64::libffi-3.4.2-h3422bc3_5 
  libsqlite          conda-forge/osx-arm64::libsqlite-3.45.1-h091b4b1_0 
  libzlib            conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5 
  ncurses            conda-forge/osx-arm64::ncurses-6.4-h463b476_2 
  openssl            conda-forge/osx-arm64::openssl-3.2.1-h0d3ecfb_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  python             conda-forge/osx-arm64::python-3.12.2-hdf0ec26_0_cpython 
  readline           conda-forge/osx-arm64::readline-8.2-h92ec313_1 
  setuptools         conda-forge/noarch::setuptools-69.1.1-pyhd8ed1ab_0 
  tk                 conda-forge/osx-arm64::tk-8.6.13-h5083fa2_1 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0 
  xz                 conda-forge/osx-arm64::xz-5.2.6-h57fd34a_0 

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'install' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' '-c' 'conda-forge' 'msprime==1.3.1' 'tskit==0.5.6' 'pyslim==1.0.4'
Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides kastore needed by pyslim-1.0.4-pyhd8ed1ab_0

Could not solve for environment specs
The following package could not be installed
└─ pyslim 1.0.4  is not installable because it requires
   └─ kastore, which does not exist (perhaps a missing channel).

Error: one or more Python packages failed to install [error code 1]
bodkan commented 7 months ago

Thanks again for the detailed report.

I can think of three things to try to fix this, but to do that I would need access to my machine… I can only do that once I recover from this virus. πŸ€•

I will be back later this week.

To your question β€” there is a way to do the Python setup outside slendr and link the environment afterwards but this would also require a bit of slendr hacking in the background I think. Plus, as I said, the error that you got happened by running this command in your first report:

/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python -m pip install --upgrade --no-user 'msprime==1.3.1' 'tskit==0.5.6' 'pyslim==1.0.4'

Note that this happened outside R anyway (on a normal shell in the background) so I suspect the same Python issue would happen regardless.

I have also someone with an M2 Mac in the office so I’ll be also able to do better testing there. Worst case, will ask one if the tskit/msprime/pyslim folks for help.

Stay tuned and thanks for your patience.

bodkan commented 7 months ago

OK, so curiously, even on my Mac I get errors stating that pyslim cannot be installed via conda because kastore isn't available, same situation as you have. I suspect it's because the kastore/pyslim modules aren't properly built for every platform (Windows / Linux / Mac), and the Mac version is somehow missing? Sadly, I don't know anything about Python packaging, so I have no means of verifying this. In any case, this is not slendr's problem so it's more productive to try to work with what we have.

Given how frequently Python installations fail under various circumstances, I have now changed the setup_env() internal logic to behave like this:

@gsilvaarias could you test the new update but running this again in a fresh R session, one command at a time, and post the outputs of the commands # 3, 4, 5?

  1. devtools::install_github("bodkan/slendr")
  2. library(slendr)
  3. clear_env(all = TRUE) to remove whatever remains of slendr Python environments are on your system.
  4. setup_env() -- this will pull msprime and tskit from conda (equivalent of pip = FALSE above) but pyslim and tspop using pip
  5. init_env()
  6. check_env()
gsilvaarias commented 7 months ago

Hi, it is working now. Many thanks!

> setup_env()
This function will install a completely isolated Miniconda Python distribution
just for slendr and create an environment with all required Python modules.

Everything will be installed into a completely separate location into an
isolated environment in an R library directory. This won't affect your other
Python installations at all. You can always wipe out the automatically created
environment by running clear_env().

Do you wish to proceed with the automated Python environment setup? 

1: No
2: Yes

Selection: 2
=======================================================================
Installing slendr's Python environment. Please wait until
the installation procedure finishes. Do NOT interrupt the
process while the installation is still running.
======================================================================

+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'create' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' 'python=3.12' '--quiet' '-c' 'conda-forge'
Retrieving notices: ...working... done
Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

  added / updated specs:
    - python=3.12

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libsqlite-3.45.2           |       h091b4b1_0         806 KB  conda-forge
    setuptools-69.2.0          |     pyhd8ed1ab_0         460 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         1.2 MB

The following NEW packages will be INSTALLED:

  bzip2              conda-forge/osx-arm64::bzip2-1.0.8-h93a5062_5 
  ca-certificates    conda-forge/osx-arm64::ca-certificates-2024.2.2-hf0a4a13_0 
  libexpat           conda-forge/osx-arm64::libexpat-2.6.1-hebf3989_0 
  libffi             conda-forge/osx-arm64::libffi-3.4.2-h3422bc3_5 
  libsqlite          conda-forge/osx-arm64::libsqlite-3.45.2-h091b4b1_0 
  libzlib            conda-forge/osx-arm64::libzlib-1.2.13-h53f4e23_5 
  ncurses            conda-forge/osx-arm64::ncurses-6.4-h463b476_2 
  openssl            conda-forge/osx-arm64::openssl-3.2.1-h0d3ecfb_0 
  pip                conda-forge/noarch::pip-24.0-pyhd8ed1ab_0 
  python             conda-forge/osx-arm64::python-3.12.2-hdf0ec26_0_cpython 
  readline           conda-forge/osx-arm64::readline-8.2-h92ec313_1 
  setuptools         conda-forge/noarch::setuptools-69.2.0-pyhd8ed1ab_0 
  tk                 conda-forge/osx-arm64::tk-8.6.13-h5083fa2_1 
  tzdata             conda-forge/noarch::tzdata-2024a-h0c530f3_0 
  wheel              conda-forge/noarch::wheel-0.42.0-pyhd8ed1ab_0 
  xz                 conda-forge/osx-arm64::xz-5.2.6-h57fd34a_0 

Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ /Users/guta/Library/r-miniconda-arm64/bin/conda 'install' '--yes' '--name' 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2' '-c' 'conda-forge' 'msprime==1.3.1' 'tskit==0.5.6'
Channels:
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... done

==> WARNING: A newer version of conda exists. <==
    current version: 23.11.0
    latest version: 24.1.2

Please update conda by running

    $ conda update -n base -c conda-forge conda

## Package Plan ##

  environment location: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2

  added / updated specs:
    - msprime==1.3.1
    - tskit==0.5.6

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    attrs-23.2.0               |     pyh71513ae_0          53 KB  conda-forge
    demes-0.2.3                |     pyhd8ed1ab_0          40 KB  conda-forge
    gsl-2.7                    |       h6e638da_0         2.6 MB  conda-forge
    importlib_resources-6.3.0  |     pyhd8ed1ab_0          30 KB  conda-forge
    jsonschema-4.21.1          |     pyhd8ed1ab_0          71 KB  conda-forge
    jsonschema-specifications-2023.12.1|     pyhd8ed1ab_0          16 KB  conda-forge
    msprime-1.3.1              |  py312h0767fef_0         410 KB  conda-forge
    numpy-1.26.4               |  py312h8442bc7_0         5.8 MB  conda-forge
    pkgutil-resolve-name-1.3.10|     pyhd8ed1ab_1          11 KB  conda-forge
    pyparsing-3.1.2            |     pyhd8ed1ab_0          87 KB  conda-forge
    python_abi-3.12            |          4_cp312           6 KB  conda-forge
    referencing-0.33.0         |     pyhd8ed1ab_0          38 KB  conda-forge
    rpds-py-0.18.0             |  py312h77200ec_0         288 KB  conda-forge
    ruamel.yaml-0.18.6         |  py312he37b823_0         262 KB  conda-forge
    ruamel.yaml.clib-0.2.8     |  py312he37b823_0         109 KB  conda-forge
    svgwrite-1.4.3             |     pyhd8ed1ab_0          52 KB  conda-forge
    tskit-0.5.6                |  py312hf635c46_0         536 KB  conda-forge
    zipp-3.17.0                |     pyhd8ed1ab_0          19 KB  conda-forge
    ------------------------------------------------------------
                                           Total:        10.4 MB

The following NEW packages will be INSTALLED:

  attrs              conda-forge/noarch::attrs-23.2.0-pyh71513ae_0 
  demes              conda-forge/noarch::demes-0.2.3-pyhd8ed1ab_0 
  gsl                conda-forge/osx-arm64::gsl-2.7-h6e638da_0 
  importlib_resourc~ conda-forge/noarch::importlib_resources-6.3.0-pyhd8ed1ab_0 
  jsonschema         conda-forge/noarch::jsonschema-4.21.1-pyhd8ed1ab_0 
  jsonschema-specif~ conda-forge/noarch::jsonschema-specifications-2023.12.1-pyhd8ed1ab_0 
  libblas            conda-forge/osx-arm64::libblas-3.9.0-21_osxarm64_openblas 
  libcblas           conda-forge/osx-arm64::libcblas-3.9.0-21_osxarm64_openblas 
  libcxx             conda-forge/osx-arm64::libcxx-16.0.6-h4653b0c_0 
  libgfortran        conda-forge/osx-arm64::libgfortran-5.0.0-13_2_0_hd922786_3 
  libgfortran5       conda-forge/osx-arm64::libgfortran5-13.2.0-hf226fd6_3 
  liblapack          conda-forge/osx-arm64::liblapack-3.9.0-21_osxarm64_openblas 
  libopenblas        conda-forge/osx-arm64::libopenblas-0.3.26-openmp_h6c19121_0 
  llvm-openmp        conda-forge/osx-arm64::llvm-openmp-17.0.6-hcd81f8e_0 
  msprime            conda-forge/osx-arm64::msprime-1.3.1-py312h0767fef_0 
  numpy              conda-forge/osx-arm64::numpy-1.26.4-py312h8442bc7_0 
  pkgutil-resolve-n~ conda-forge/noarch::pkgutil-resolve-name-1.3.10-pyhd8ed1ab_1 
  pyparsing          conda-forge/noarch::pyparsing-3.1.2-pyhd8ed1ab_0 
  python_abi         conda-forge/osx-arm64::python_abi-3.12-4_cp312 
  referencing        conda-forge/noarch::referencing-0.33.0-pyhd8ed1ab_0 
  rpds-py            conda-forge/osx-arm64::rpds-py-0.18.0-py312h77200ec_0 
  ruamel.yaml        conda-forge/osx-arm64::ruamel.yaml-0.18.6-py312he37b823_0 
  ruamel.yaml.clib   conda-forge/osx-arm64::ruamel.yaml.clib-0.2.8-py312he37b823_0 
  svgwrite           conda-forge/noarch::svgwrite-1.4.3-pyhd8ed1ab_0 
  tskit              conda-forge/osx-arm64::tskit-0.5.6-py312hf635c46_0 
  zipp               conda-forge/noarch::zipp-3.17.0-pyhd8ed1ab_0 

Downloading and Extracting Packages: ...working... done
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
+ . /Users/guta/Library/r-miniconda-arm64/bin/activate
+ conda activate 'Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2'
+ '/Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python' -m pip install --upgrade --no-user 'pyslim==1.0.4' 'tspop==0.0.2' pyarrow
Collecting pyslim==1.0.4
  Using cached pyslim-1.0.4-py3-none-any.whl.metadata (1.3 kB)
Collecting tspop==0.0.2
  Downloading tspop-0.0.2-py3-none-any.whl.metadata (1.1 kB)
Collecting pyarrow
  Downloading pyarrow-15.0.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (3.0 kB)
Requirement already satisfied: msprime>=1.0.1 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from pyslim==1.0.4) (1.3.1)
Requirement already satisfied: numpy in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from pyslim==1.0.4) (1.26.4)
Requirement already satisfied: tskit in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from pyslim==1.0.4) (0.5.6)
Collecting pandas>=1.2.0 (from tspop==0.0.2)
  Downloading pandas-2.2.1-cp312-cp312-macosx_11_0_arm64.whl.metadata (19 kB)
Collecting matplotlib>=3.4.0 (from tspop==0.0.2)
  Downloading matplotlib-3.8.3-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting contourpy>=1.0.1 (from matplotlib>=3.4.0->tspop==0.0.2)
  Downloading contourpy-1.2.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (5.8 kB)
Collecting cycler>=0.10 (from matplotlib>=3.4.0->tspop==0.0.2)
  Downloading cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB)
Collecting fonttools>=4.22.0 (from matplotlib>=3.4.0->tspop==0.0.2)
  Downloading fonttools-4.49.0-cp312-cp312-macosx_10_9_universal2.whl.metadata (159 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.1/159.1 kB 3.6 MB/s eta 0:00:00
Collecting kiwisolver>=1.3.1 (from matplotlib>=3.4.0->tspop==0.0.2)
  Downloading kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl.metadata (6.4 kB)
Collecting packaging>=20.0 (from matplotlib>=3.4.0->tspop==0.0.2)
  Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pillow>=8 (from matplotlib>=3.4.0->tspop==0.0.2)
  Downloading pillow-10.2.0-cp312-cp312-macosx_11_0_arm64.whl.metadata (9.7 kB)
Requirement already satisfied: pyparsing>=2.3.1 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from matplotlib>=3.4.0->tspop==0.0.2) (3.1.2)
Collecting python-dateutil>=2.7 (from matplotlib>=3.4.0->tspop==0.0.2)
  Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB)
Collecting newick>=1.3.0 (from msprime>=1.0.1->pyslim==1.0.4)
  Using cached newick-1.9.0-py2.py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: demes>=0.2 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from msprime>=1.0.1->pyslim==1.0.4) (0.2.3)
Collecting pytz>=2020.1 (from pandas>=1.2.0->tspop==0.0.2)
  Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB)
Collecting tzdata>=2022.7 (from pandas>=1.2.0->tspop==0.0.2)
  Downloading tzdata-2024.1-py2.py3-none-any.whl.metadata (1.4 kB)
Requirement already satisfied: jsonschema>=3.0.0 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from tskit->pyslim==1.0.4) (4.21.1)
Requirement already satisfied: svgwrite>=1.1.10 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from tskit->pyslim==1.0.4) (1.4.3)
Requirement already satisfied: attrs>=20.3.0 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from demes>=0.2->msprime>=1.0.1->pyslim==1.0.4) (23.2.0)
Requirement already satisfied: ruamel.yaml>=0.15.78 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from demes>=0.2->msprime>=1.0.1->pyslim==1.0.4) (0.18.6)
Requirement already satisfied: jsonschema-specifications>=2023.03.6 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from jsonschema>=3.0.0->tskit->pyslim==1.0.4) (2023.12.1)
Requirement already satisfied: referencing>=0.28.4 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from jsonschema>=3.0.0->tskit->pyslim==1.0.4) (0.33.0)
Requirement already satisfied: rpds-py>=0.7.1 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from jsonschema>=3.0.0->tskit->pyslim==1.0.4) (0.18.0)
Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib>=3.4.0->tspop==0.0.2)
  Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: ruamel.yaml.clib>=0.2.7 in ./Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/lib/python3.12/site-packages (from ruamel.yaml>=0.15.78->demes>=0.2->msprime>=1.0.1->pyslim==1.0.4) (0.2.8)
Using cached pyslim-1.0.4-py3-none-any.whl (65 kB)
Downloading tspop-0.0.2-py3-none-any.whl (6.7 kB)
Downloading pyarrow-15.0.1-cp312-cp312-macosx_11_0_arm64.whl (24.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 24.2/24.2 MB 24.4 MB/s eta 0:00:00
Downloading matplotlib-3.8.3-cp312-cp312-macosx_11_0_arm64.whl (7.5 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.5/7.5 MB 54.3 MB/s eta 0:00:00
Downloading pandas-2.2.1-cp312-cp312-macosx_11_0_arm64.whl (11.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.3/11.3 MB 57.7 MB/s eta 0:00:00
Downloading contourpy-1.2.0-cp312-cp312-macosx_11_0_arm64.whl (242 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.6/242.6 kB 33.9 MB/s eta 0:00:00
Downloading cycler-0.12.1-py3-none-any.whl (8.3 kB)
Downloading fonttools-4.49.0-cp312-cp312-macosx_10_9_universal2.whl (2.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 55.7 MB/s eta 0:00:00
Downloading kiwisolver-1.4.5-cp312-cp312-macosx_11_0_arm64.whl (64 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.0/65.0 kB 12.4 MB/s eta 0:00:00
Using cached newick-1.9.0-py2.py3-none-any.whl (15 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Downloading pillow-10.2.0-cp312-cp312-macosx_11_0_arm64.whl (3.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.3/3.3 MB 52.8 MB/s eta 0:00:00
Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB)
Downloading pytz-2024.1-py2.py3-none-any.whl (505 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 505.5/505.5 kB 43.9 MB/s eta 0:00:00
Downloading tzdata-2024.1-py2.py3-none-any.whl (345 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 345.4/345.4 kB 42.3 MB/s eta 0:00:00
Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: pytz, tzdata, six, pyarrow, pillow, packaging, newick, kiwisolver, fonttools, cycler, contourpy, python-dateutil, pandas, matplotlib, tspop, pyslim
Successfully installed contourpy-1.2.0 cycler-0.12.1 fonttools-4.49.0 kiwisolver-1.4.5 matplotlib-3.8.3 newick-1.9.0 packaging-24.0 pandas-2.2.1 pillow-10.2.0 pyarrow-15.0.1 pyslim-1.0.4 python-dateutil-2.9.0.post0 pytz-2024.1 six-1.16.0 tspop-0.0.2 tzdata-2024.1
======================================================================
Python environment for slendr has been successfuly created, and the R
interface to msprime, tskit, and pyslim modules has been activated.

In future sessions, activate this environment by calling init_env().
=======================================================================
> init_env()
The interface to all required Python modules has been activated.
> check_env()
Summary of the currently active Python environment:

Python binary: /Users/guta/Library/r-miniconda-arm64/envs/Python-3.12_msprime-1.3.1_tskit-0.5.6_pyslim-1.0.4_tspop-0.0.2/bin/python 
Python version: 3.12.2 | packaged by conda-forge | (main, Feb 16 2024, 20:54:21) [Clang 16.0.6 ] 

slendr requirements:
 - tskit: version 0.5.6 βœ“ 
 - msprime: version 1.3.1 βœ“ 
 - pyslim: version 1.0.4 βœ“ 
 - tspop: present βœ“ 
bodkan commented 7 months ago

Beautiful! Thank you so much for these detailed log outputs. This made developing a more robust way to deal with various conda / pip issues much easier.

I will make a new release soon so that others may also benefit from this.