conda-forge / pyarrow-feedstock

A conda-smithy repository for pyarrow.
BSD 3-Clause "New" or "Revised" License
6 stars 26 forks source link

install fails #71

Closed Monduiz closed 5 years ago

Monduiz commented 5 years ago

Issue:

When installing pyarrow there is a verification failed error:

Preparing transaction: done
Verifying transaction: failed

RemoveError: 'requests' is a dependency of conda and cannot be removed from
conda's operating environment.
RemoveError: 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.


Environment (conda list):

``` $ conda list # Name Version Build Channel _tflow_select 2.1.0 gpu anaconda absl-py 0.7.0 py36_1000 conda-forge anaconda custom py36hbbc8b67_0 astor 0.7.1 py_0 conda-forge attrs 18.2.0 py_0 conda-forge backcall 0.1.0 py_0 conda-forge binutils_impl_linux-64 2.31.1 h6176602_1 conda-forge binutils_linux-64 2.31.1 h6176602_3 conda-forge blas 1.0 mkl bleach 3.1.0 py_0 conda-forge c-ares 1.15.0 h14c3975_1001 conda-forge ca-certificates 2018.11.29 ha4d7672_0 conda-forge certifi 2018.11.29 py36_1000 conda-forge cudatoolkit 9.2 0 anaconda cudnn 7.2.1 cuda9.2_0 anaconda cupti 9.2.148 0 anaconda decorator 4.3.2 py_0 conda-forge entrypoints 0.3 py36_1000 conda-forge gast 0.2.1.post0 py_0 conda-forge gcc_impl_linux-64 7.3.0 habb00fd_1 conda-forge gcc_linux-64 7.3.0 h553295d_3 conda-forge grpcio 1.16.1 py36hf8bcb03_1 gxx_impl_linux-64 7.3.0 hdf63c60_1 conda-forge gxx_linux-64 7.3.0 h553295d_3 conda-forge h5py 2.9.0 nompi_py36hf008753_1102 conda-forge hdf5 1.10.4 nompi_h11e915b_1105 conda-forge intel-openmp 2019.1 144 ipykernel 5.1.0 py36h24bf2e0_1002 conda-forge ipython 7.2.0 py36h24bf2e0_1000 conda-forge ipython_genutils 0.2.0 py_1 conda-forge jedi 0.13.2 py36_1000 conda-forge jinja2 2.10 py_1 conda-forge jsonschema 3.0.0a3 py36_1000 conda-forge jupyter_client 5.2.4 py_1 conda-forge jupyter_core 4.4.0 py_0 conda-forge jupyterlab 0.35.4 py36_0 conda-forge jupyterlab_server 0.2.0 py_0 conda-forge keras 2.2.4 0 anaconda keras-applications 1.0.6 py36_0 anaconda keras-base 2.2.4 py36_0 anaconda keras-preprocessing 1.0.5 py36_0 anaconda libedit 3.1.20181209 hc058e9b_0 libffi 3.2.1 hd88cf55_4 libgcc-ng 8.2.0 hdf63c60_1 libgfortran-ng 7.2.0 hdf63c60_3 conda-forge libgpuarray 0.7.6 h14c3975_1003 conda-forge libprotobuf 3.6.1 hdbcaa40_1000 conda-forge libsodium 1.0.16 h14c3975_1001 conda-forge libstdcxx-ng 8.2.0 hdf63c60_1 mako 1.0.7 py_1 conda-forge markdown 2.6.11 py_0 conda-forge markupsafe 1.1.0 py36h14c3975_1000 conda-forge mistune 0.8.4 py36h14c3975_1000 conda-forge mkl 2019.1 144 mkl_fft 1.0.10 py36h14c3975_1 conda-forge mkl_random 1.0.2 py36h637b7d7_2 conda-forge nbconvert 5.3.1 py_1 conda-forge nbformat 4.4.0 py_1 conda-forge ncurses 6.1 he6710b0_1 notebook 5.7.4 py36_1000 conda-forge numpy 1.15.4 py36h7e9f1db_0 numpy-base 1.15.4 py36hde5b4d6_0 openssl 1.1.1a h14c3975_1000 conda-forge pandoc 2.6 1 conda-forge pandocfilters 1.4.2 py_1 conda-forge parso 0.3.4 py_0 conda-forge pexpect 4.6.0 py36_1000 conda-forge pickleshare 0.7.5 py36_1000 conda-forge pip 19.0.1 py36_0 prometheus_client 0.5.0 py_0 conda-forge prompt_toolkit 2.0.8 py_0 conda-forge protobuf 3.6.1 py36hf484d3e_1001 conda-forge ptyprocess 0.6.0 py36_1000 conda-forge pygments 2.3.1 py_0 conda-forge pygpu 0.7.6 py36h3010b51_1000 conda-forge pyrsistent 0.14.10 py36h14c3975_0 conda-forge python 3.6.8 h0371630_0 python-dateutil 2.8.0 py_0 conda-forge pyyaml 3.13 py36h14c3975_1001 conda-forge pyzmq 17.1.2 py36h6afc9c9_1001 conda-forge readline 7.0 h7b6447c_5 scipy 1.2.0 py36h7c811a0_0 send2trash 1.5.0 py_0 conda-forge setuptools 40.7.3 py36_0 six 1.12.0 py36_1000 conda-forge sqlite 3.26.0 h7b6447c_0 tensorboard 1.12.2 py36he6710b0_0 anaconda tensorflow 1.12.0 gpu_py36he74679b_0 anaconda tensorflow-base 1.12.0 gpu_py36had579c0_0 anaconda tensorflow-gpu 1.12.0 h0d30ee6_0 anaconda termcolor 1.1.0 py_2 conda-forge terminado 0.8.1 py36_1001 conda-forge testpath 0.4.2 py36_1000 conda-forge theano 1.0.4 py36hf484d3e_1000 conda-forge tk 8.6.8 hbc83047_0 tornado 5.1.1 py36h14c3975_1000 conda-forge traitlets 4.3.2 py36_1000 conda-forge wcwidth 0.1.7 py_1 conda-forge webencodings 0.5.1 py_1 conda-forge werkzeug 0.14.1 py_0 conda-forge wheel 0.32.3 py36_0 xz 5.2.4 h14c3975_4 yaml 0.1.7 h14c3975_1001 conda-forge zeromq 4.2.5 hf484d3e_1006 conda-forge zlib 1.2.11 h7b6447c_3 ```


Details about conda and system ( conda info ):

Not sure why conda info says python 2.7, the python version for my env is 3.6.8 ``` $ conda info active environment : ds active env location : /data/anaconda/envs/ds shell level : 2 user config file : /home/peterquill/.condarc populated config files : conda version : 4.6.3 conda-build version : 3.10.5 python version : 2.7.15.final.0 base environment : /data/anaconda (writable) channel URLs : https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/linux-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /data/anaconda/pkgs /home/peterquill/.conda/pkgs envs directories : /data/anaconda/envs /home/peterquill/.conda/envs platform : linux-64 user-agent : conda/4.6.3 requests/2.9.1 CPython/2.7.15 Linux/4.15.0-1037-azure ubuntu/16.04.5 glibc/2.23 UID:GID : 1003:1003 netrc file : None offline mode : False ```
wesm commented 5 years ago

Are you trying to install in the root environment?

Monduiz commented 5 years ago

No, I am installing in my conda env but im starting to suspect its something related to anaconda.

Monduiz commented 5 years ago

I updated conda, updated anaconda and loaded back into my environment. It worked. It was something with base anaconda being too old even if my environment was recent! Ignore the basics of troubleshooting at your peril!