Open BillyChen123 opened 1 year ago
FYI, the conda install command fails for me, for an unrelated reason:
R> reticulate::conda_install(envname = 'greta-env', packages = c('numpy==1.16.4', 'tensorflow-probability==0.7.0', 'tensorflow==1.14.0'))
+ '/home/tomasz/.local/share/r-miniconda/bin/conda' 'create' '--yes' '--name' 'greta-env' 'python' '--quiet' '-c' 'conda-forge'
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: /home/tomasz/.local/share/r-miniconda/envs/greta-env
added / updated specs:
- python
The following packages will be downloaded:
package | build
---------------------------|-----------------
ld_impl_linux-64-2.39 | hc81fddc_0 759 KB conda-forge
libgcc-ng-12.2.0 | h65d4601_18 936 KB conda-forge
libgomp-12.2.0 | h65d4601_18 455 KB conda-forge
pip-22.3 | pyhd8ed1ab_0 1.5 MB conda-forge
python-3.10.6 |ha86cf86_0_cpython 29.0 MB conda-forge
setuptools-65.5.0 | pyhd8ed1ab_0 768 KB conda-forge
tzdata-2022e | h191b570_0 118 KB conda-forge
------------------------------------------------------------
Total: 33.4 MB
The following NEW packages will be INSTALLED:
_libgcc_mutex conda-forge/linux-64::_libgcc_mutex-0.1-conda_forge None
_openmp_mutex conda-forge/linux-64::_openmp_mutex-4.5-2_gnu None
bzip2 conda-forge/linux-64::bzip2-1.0.8-h7f98852_4 None
ca-certificates conda-forge/linux-64::ca-certificates-2022.9.24-ha878542_0 None
ld_impl_linux-64 conda-forge/linux-64::ld_impl_linux-64-2.39-hc81fddc_0 None
libffi conda-forge/linux-64::libffi-3.4.2-h7f98852_5 None
libgcc-ng conda-forge/linux-64::libgcc-ng-12.2.0-h65d4601_18 None
libgomp conda-forge/linux-64::libgomp-12.2.0-h65d4601_18 None
libnsl conda-forge/linux-64::libnsl-2.0.0-h7f98852_0 None
libsqlite conda-forge/linux-64::libsqlite-3.39.4-h753d276_0 None
libuuid conda-forge/linux-64::libuuid-2.32.1-h7f98852_1000 None
libzlib conda-forge/linux-64::libzlib-1.2.13-h166bdaf_4 None
ncurses conda-forge/linux-64::ncurses-6.3-h27087fc_1 None
openssl conda-forge/linux-64::openssl-3.0.5-h166bdaf_2 None
pip conda-forge/noarch::pip-22.3-pyhd8ed1ab_0 None
python conda-forge/linux-64::python-3.10.6-ha86cf86_0_cpython None
readline conda-forge/linux-64::readline-8.1.2-h0f457ee_0 None
setuptools conda-forge/noarch::setuptools-65.5.0-pyhd8ed1ab_0 None
tk conda-forge/linux-64::tk-8.6.12-h27826a3_0 None
tzdata conda-forge/noarch::tzdata-2022e-h191b570_0 None
wheel conda-forge/noarch::wheel-0.37.1-pyhd8ed1ab_0 None
xz conda-forge/linux-64::xz-5.2.6-h166bdaf_0 None
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Retrieving notices: ...working... done
+ '/home/tomasz/.local/share/r-miniconda/bin/conda' 'install' '--yes' '--name' 'greta-env' '-c' 'conda-forge' 'numpy==1.16.4' 'tensorflow-probability==0.7.0' 'tensorflow==1.14.0'
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- numpy==1.16.4 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
- tensorflow==1.14.0 -> python[version='2.7.*|3.6.*|3.7.*']
- tensorflow==1.14.0 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|>=3.8,<3.9.0a0']
Your python: python=3.10
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
The following specifications were found to be incompatible with each other:
Output in format: Requested package -> Available versions
Package mkl conflicts for:
numpy==1.16.4 -> libblas[version='>=3.8.0,<4.0a0'] -> mkl[version='2019.1.*|>=2019.0,<2020.0a0|>=2020.0,<2021.0a0|>=2020.4,<2021.0a0|>=2021.2.0,<2022.0a0|>=2021.3.0,<2022.0a0|>=2021.4.0,<2022.0a0|>=2022.0.1,<2023.0a0|>=2022.1.0,<2023.0a0|>=2020.2,<2021.0a0|>=2019.4,<2020.0a0|>=2019.3,<2020.0a0|>=2019.1,<2020.0a0|>=2019.4,<2021.0a0|>=2019.1,<2021.0a0|>=2018.0.3,<2019.0a0|>=2020.1,<2021.0a0']
numpy==1.16.4 -> mkl[version='>=2019.3,<2021.0a0']
Package liblapack conflicts for:
numpy==1.16.4 -> liblapack[version='>=3.8.0,<4.0.0a0']
numpy==1.16.4 -> blas=[build=openblas] -> liblapack[version='3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.9.0|3.9.0|3.9.0|3.9.0',build='5_openblas|7_openblas|12_openblas|16_openblas|5_openblas|6_openblas|7_openblas|10_openblas|11_linux64_openblas|16_linux64_openblas|15_linux64_openblas|14_linux64_openblas|13_linux64_openblas|12_linux64_openblas|9_openblas|8_openblas|17_openblas|15_openblas|14_openblas|13_openblas|11_openblas|10_openblas|9_openblas|8_openblas|6_openblas|4_openblas|3_openblas|2_openblas|0_openblas']
Package tzdata conflicts for:
tensorflow-probability==0.7.0 -> python -> tzdata
python=3.10 -> tzdata
Package _libgcc_mutex conflicts for:
python=3.10 -> libgcc-ng[version='>=12'] -> _libgcc_mutex[version='*|0.1',build='main|main|conda_forge']
numpy==1.16.4 -> libgcc-ng[version='>=7.3.0'] -> _libgcc_mutex[version='*|0.1|0.1',build='main|main|conda_forge']
tensorflow==1.14.0 -> libgcc-ng[version='>=5.4.0'] -> _libgcc_mutex[version='*|0.1|0.1',build='main|main|conda_forge']
Package libopenblas conflicts for:
numpy==1.16.4 -> libblas[version='>=3.8.0,<4.0a0'] -> libopenblas[version='>=0.3.10,<0.3.11.0a0|>=0.3.12,<0.3.13.0a0|>=0.3.15,<0.3.16.0a0|>=0.3.17,<0.3.18.0a0|>=0.3.18,<0.3.19.0a0|>=0.3.20,<0.3.21.0a0|>=0.3.21,<0.3.22.0a0|>=0.3.21,<1.0a0|>=0.3.20,<1.0a0|>=0.3.18,<1.0a0|>=0.3.17,<1.0a0|>=0.3.15,<1.0a0|>=0.3.12,<1.0a0|>=0.3.10,<1.0a0|>=0.3.9,<0.3.10.0a0|>=0.3.9,<1.0a0|>=0.3.8,<0.3.9.0a0|>=0.3.8,<1.0a0|>=0.3.7,<0.3.8.0a0|>=0.3.7,<1.0a0|>=0.3.6,<0.3.7.0a0|>=0.3.6,<1.0a0']
numpy==1.16.4 -> libopenblas[version='>=0.3.3,<1.0a0']
Package libblas conflicts for:
numpy==1.16.4 -> libcblas[version='>=3.8.0,<4.0a0'] -> libblas[version='3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0.*|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0|3.9.0.*',build='4_blis|6_openblas|7_openblas|8_blis|9_blis|9_mkl|10_openblas|10_mkl|11_blis|11_mkl|13_mkl|13_openblas|13_blis|14_mkl|16_openblas|16_blis|16_mkl|18_mkl|0_blis|1_openblas|2_openblas|2_blis|3_blis|3_openblas|4_blis|4_mkl|5_blis|5_mkl|6_openblas|7_openblas|7_mkl|8_mkl|9_blis|10_mkl|11_linux64_blis|11_linux64_openblas|12_linux64_blis|12_linux64_mkl|13_linux64_blis|14_linux64_blis|14_linux64_openblas|14_linux64_mkl|16_linux64_blis|16_linux64_mkl|16_linux64_openblas|15_linux64_mkl|15_linux64_openblas|15_linux64_blis|13_linux64_mkl|13_linux64_openblas|12_linux64_openblas|11_linux64_mkl|10_openblas|10_blis|9_mkl|9_openblas|8_openblas|8_blis|7_blis|6_mkl|6_blis|5_openblas|4_openblas|1_blis|0_openblas|21_mkl|20_mkl|19_mkl|17_openblas|15_openblas|15_mkl|15_blis|14_blis|14_openblas|12_mkl|12_openblas|12_blis|11_openblas|10_blis|9_openblas|8_mkl|8_openblas|7_mkl|7_blis|6_mkl|6_blis|5_mkl|5_openblas|5_blis|4_mkl|4_openblas']
numpy==1.16.4 -> libblas[version='>=3.8.0,<4.0a0']
Package libcblas conflicts for:
numpy==1.16.4 -> libcblas[version='>=3.8.0,<4.0a0']
numpy==1.16.4 -> blas=[build=openblas] -> libcblas[version='3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.8.0|3.9.0|3.9.0|3.9.0|3.9.0',build='5_openblas|7_openblas|12_openblas|16_openblas|5_openblas|6_openblas|7_openblas|10_openblas|11_linux64_openblas|16_linux64_openblas|15_linux64_openblas|14_linux64_openblas|13_linux64_openblas|12_linux64_openblas|9_openblas|8_openblas|17_openblas|15_openblas|14_openblas|13_openblas|11_openblas|10_openblas|9_openblas|8_openblas|6_openblas|4_openblas|3_openblas|2_openblas|0_openblas']
Package blas conflicts for:
numpy==1.16.4 -> blas[version='*|1.0',build='openblas|mkl']
numpy==1.16.4 -> mkl_random[version='>=1.0.2,<2.0a0'] -> blas=[build=mkl]
Package mkl_random conflicts for:
tensorflow-probability==0.7.0 -> numpy[version='>=1.13.3'] -> mkl_random[version='>=1.0.2,<2.0a0|>=1.2.1,<2.0a0|>=1.0.4,<2.0a0']
numpy==1.16.4 -> mkl_random[version='>=1.0.2,<2.0a0']
Package numpy-base conflicts for:
numpy==1.16.4 -> numpy-base==1.16.4[build='py27h2f8d375_0|py36h2f8d375_0|py37h2f8d375_0|py37hde5b4d6_0|py27hde5b4d6_0|py36hde5b4d6_0']
numpy==1.16.4 -> mkl_fft[version='>=1.0.6,<2.0a0'] -> numpy-base[version='>=1.0.14,<2.0a0|>=1.0.6,<2.0a0|>=1.2.1,<2.0a0|>=1.0.2,<2.0a0|>=1.0.4,<2.0a0']
Package libgfortran-ng conflicts for:
numpy==1.16.4 -> libgfortran-ng[version='>=7,<8.0a0']
numpy==1.16.4 -> libblas[version='>=3.8.0,<4.0a0'] -> libgfortran-ng
Package numpy conflicts for:
tensorflow-probability==0.7.0 -> numpy[version='>=1.13.3']
tensorflow-probability==0.7.0 -> tensorflow-base[version='>=1.14.0'] -> numpy[version='>=1.14.6,<2.0a0|>=1.16.1,<2.0a0|>=1.18.5,<2.0a0|>=1.19.5,<2.0a0|>=1.20.3,<2.0a0|>=1.21.6,<2.0a0|>=1.21.5,<2.0a0|>=1.19.2,<1.20|>=1.19|>=1.23.1,<2.0a0|>=1.22.3,<2.0a0|>=1.20|>=1.16.6,<2.0a0|>=1.16.5,<2.0a0']
tensorflow==1.14.0 -> tensorflow-base==1.14.0=py36hc3e5e64_0 -> numpy[version='>=1.12.0|>=1.16.1,<2.0a0|>=1.14.6,<2.0a0|>=1.16.1']The following specifications were found to be incompatible with your system:
- feature:/linux-64::__cuda==11.7=0
- feature:/linux-64::__glibc==2.31=0
- feature:|@/linux-64::__cuda==11.7=0
- feature:|@/linux-64::__glibc==2.31=0
- numpy==1.16.4 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
- tensorflow-probability==0.7.0 -> tensorflow-base[version='>=1.14.0'] -> __cuda
- tensorflow-probability==0.7.0 -> tensorflow-base[version='>=1.14.0'] -> __glibc[version='>=2.17']
- tensorflow==1.14.0 -> libgcc-ng[version='>=5.4.0'] -> __glibc[version='>=2.17']
Your installed version is: 11.7
Error: one or more Python packages failed to install [error code 1]
Hi tensorflow team, I've been trying to debug installing tensorflow (as described here: https://github.com/greta-dev/greta/issues/565) and it looks like the issue is regarding installing a specific version of tensorflow with code like the following:
reticulate::conda_install(envname = 'greta-env', packages = c('numpy==1.16.4', 'tensorflow-probability==0.7.0', 'tensorflow==1.14.0'))
Then I run the reprex code:
It has an error. This reprex appears to crash R. See standard output and standard error for more details.
Standard output and error