quantopian / qgrid

An interactive grid for sorting, filtering, and editing DataFrames in Jupyter notebooks
Apache License 2.0
3.04k stars 422 forks source link

Permission denied issue #239

Open darribas opened 5 years ago

darribas commented 5 years ago

Environment

jovyan@3096dde704cb:~$ conda list
# packages in environment at /opt/conda:
#
# Name                    Version                   Build  Channel
affine                    2.2.2                    py37_0    defaults
alembic                   0.9.9                      py_0    conda-forge
altair                    2.3.0                 py37_1001    conda-forge
arrow-cpp                 0.11.1           py37h5c3f529_0    defaults
asn1crypto                0.24.0                py37_1003    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     18.2.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bambi                     0.1.1                    pypi_0    pypi
binutils_impl_linux-64    2.31.1               h6176602_1    defaults
binutils_linux-64         2.31.1               h6176602_6    defaults
blas                      1.0                         mkl    defaults
bleach                    3.0.2                      py_1    conda-forge
bokeh                     1.0.4                    py37_0    defaults
boto3                     1.9.82                     py_0    defaults
botocore                  1.12.82                    py_0    defaults
branca                    0.3.1                      py_0    conda-forge
bzip2                     1.0.6                h470a237_2    conda-forge
ca-certificates           2019.1.23                     0    defaults
cairo                     1.14.12              h8948797_3    defaults
cartopy                   0.17.0           py37hbb7e04d_1    defaults
certifi                   2018.11.29               py37_0    defaults
cffi                      1.11.5           py37h5e8e0c9_1    conda-forge
chardet                   3.0.4                 py37_1003    conda-forge
click                     7.0                      py37_0    defaults
click-plugins             1.0.4                    py37_0    defaults
cligj                     0.5.0                    py37_0    defaults
cloudpickle               0.7.0                      py_0    defaults
colorama                  0.4.1                    pypi_0    pypi
colorcet                  1.0.0                    py37_0    defaults
conda                     4.6.3                    py37_0    conda-forge
conda-env                 2.6.0                         1    conda-forge
configurable-http-proxy   3.1.0                   node8_1    conda-forge
contextily                1.0rc1                     py_0    conda-forge
cryptography              2.5              py37h1ba5d50_0    defaults
curl                      7.63.0            hbc83047_1000    defaults
cycler                    0.10.0                   py37_0    defaults
cython                    0.29.4           py37he6710b0_0    defaults
cytoolz                   0.9.0.1          py37h14c3975_1    defaults
dask                      1.1.1                      py_0    defaults
dask-core                 1.1.1                      py_0    defaults
datashader                0.6.9                      py_0    defaults
datashape                 0.5.4                    py37_1    defaults
dbus                      1.13.6               h746ee38_0    defaults
decorator                 4.3.0                      py_0    conda-forge
descartes                 1.1.0                    py37_0    defaults
distributed               1.25.3                   py37_0    defaults
docutils                  0.14                     py37_0    defaults
entrypoints               0.2.3                 py37_1002    conda-forge
expat                     2.2.6                he6710b0_0    defaults
feather-format            0.4.0                   py_1003    conda-forge
fiona                     1.8.4            py37hc38cc03_0    defaults
folium                    0.7.0                      py_0    conda-forge
fontconfig                2.13.0               h9420a91_0    defaults
freetype                  2.9.1                h8a8886c_1    defaults
freexl                    1.0.5                h14c3975_0    defaults
gcc_impl_linux-64         7.3.0                habb00fd_1    defaults
gcc_linux-64              7.3.0                h553295d_6    defaults
gdal                      2.3.3            py37hbb2a789_0    defaults
geographiclib             1.49                       py_0    conda-forge
geopandas                 0.4.0                    py37_1    defaults
geopy                     1.18.1                     py_0    conda-forge
geos                      3.7.1                he6710b0_0    defaults
gflags                    2.2.2                he6710b0_0    defaults
giflib                    5.1.4                h14c3975_1    defaults
gitdb2                    2.0.5                    pypi_0    pypi
gitpython                 2.1.11                   pypi_0    pypi
glib                      2.56.2               hd408876_0    defaults
glog                      0.3.5                hf484d3e_1    defaults
gmp                       6.1.2                hfc679d8_0    conda-forge
gst-plugins-base          1.14.0               hbbd80ab_1    defaults
gstreamer                 1.14.0               hb453b48_1    defaults
gxx_impl_linux-64         7.3.0                hdf63c60_1    defaults
gxx_linux-64              7.3.0                h553295d_6    defaults
h5py                      2.9.0            py37h7918eee_0    defaults
hdbscan                   0.8.19           py37h3010b51_0    conda-forge
hdf4                      4.2.13               h3ca952b_2    defaults
hdf5                      1.10.4               hb1b8bf9_0    defaults
heapdict                  1.0.0                    py37_2    defaults
icu                       58.2                 h9c2bf20_1    defaults
idna                      2.8                   py37_1000    conda-forge
imageio                   2.4.1                    py37_0    defaults
intel-openmp              2019.1                      144    defaults
ipykernel                 5.1.0           py37h24bf2e0_1001    conda-forge
ipyleaflet                0.9.2                 py37_1001    conda-forge
ipython                   7.2.0           py37h24bf2e0_1000    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.4.2                    py37_0    defaults
jedi                      0.13.2                py37_1000    conda-forge
jinja2                    2.10                       py_1    conda-forge
jmespath                  0.9.3                    py37_0    defaults
joblib                    0.12.5                   py37_0    defaults
jpeg                      9b                   h024ee3a_2    defaults
json-c                    0.13.1               h1bed415_0    defaults
jsonschema                3.0.0a3               py37_1000    conda-forge
jupyter_client            5.2.4                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
jupyterhub                0.9.4                 py37_1000    conda-forge
jupyterlab                0.35.4                   py37_0    conda-forge
jupyterlab_server         0.2.0                      py_0    conda-forge
kealib                    1.4.7                hd0c454d_6    defaults
kiwisolver                1.0.1            py37hf484d3e_0    defaults
krb5                      1.16.1               h173b8e3_7    defaults
libboost                  1.67.0               h46d08c1_4    defaults
libcurl                   7.63.0            h20c2e04_1000    defaults
libdap4                   3.19.1               h6ec2957_0    defaults
libedit                   3.1.20170329         haf1bffa_1    conda-forge
libevent                  2.1.8                h1ba5d50_0    defaults
libffi                    3.2.1                hfc679d8_5    conda-forge
libgcc                    7.2.0                h69d50b8_2    conda-forge
libgcc-ng                 7.3.0                hdf63c60_0    conda-forge
libgdal                   2.3.3                h2e7e64b_0    defaults
libgfortran-ng            7.3.0                hdf63c60_0    defaults
libgpuarray               0.7.6                h14c3975_0    defaults
libkml                    1.3.0                h590aaf7_4    defaults
libnetcdf                 4.6.1                h11d0813_2    defaults
libpng                    1.6.36               hbc83047_0    defaults
libpq                     11.1                 h20c2e04_0    defaults
libsodium                 1.0.16               h470a237_1    conda-forge
libspatialindex           1.8.5                h20b78c2_2    defaults
libspatialite             4.3.0a              hb08deb6_19    defaults
libssh2                   1.8.0                         1    conda-forge
libstdcxx-ng              7.3.0                hdf63c60_0    conda-forge
libtiff                   4.0.9                he85c1e1_2    defaults
libuuid                   1.0.3                h1bed415_2    defaults
libxcb                    1.13                 h1bed415_1    defaults
libxml2                   2.9.9                he19cac6_0    defaults
libxslt                   1.1.33               h7d1a2b0_0    defaults
llvmlite                  0.27.0           py37hd408876_0    defaults
locket                    0.2.0                    py37_1    defaults
lxml                      4.3.0            py37hefd8a0e_0    defaults
lz4-c                     1.8.1.2              h14c3975_0    defaults
mako                      1.0.7                      py_1    conda-forge
markupsafe                1.1.0            py37h470a237_0    conda-forge
matplotlib                3.0.2            py37h5429711_0    defaults
mercantile                1.0.4                      py_0    conda-forge
mistune                   0.8.4            py37h470a237_0    conda-forge
mkl                       2019.1                      144    defaults
mkl-service               1.1.2            py37he904b0f_5    defaults
mkl_fft                   1.0.10           py37ha843d7b_0    defaults
mkl_random                1.0.2            py37hd81dba3_0    defaults
mplleaflet                0.0.5                      py_2    conda-forge
msgpack-python            0.6.1            py37hfd86e86_1    defaults
multipledispatch          0.6.0                    py37_0    defaults
munch                     2.3.2                    py37_0    defaults
nbconvert                 5.3.1                      py_1    conda-forge
nbdime                    1.0.4                    pypi_0    pypi
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1                  hfc679d8_2    conda-forge
networkx                  2.2                      py37_1    defaults
nodejs                    8.10.0                        0    conda-forge
notebook                  5.7.2                 py37_1000    conda-forge
numba                     0.42.0           py37h962f231_0    defaults
numpy                     1.15.4           py37h7e9f1db_0    defaults
numpy-base                1.15.4           py37hde5b4d6_0    defaults
olefile                   0.46                     py37_0    defaults
openjpeg                  2.3.0                h05c96fa_1    defaults
openssl                   1.1.1a               h7b6447c_0    defaults
osmnx                     0.9                        py_0    conda-forge
owslib                    0.17.0                   py37_0    defaults
packaging                 19.0                     py37_0    defaults
palettable                3.1.1                      py_0    conda-forge
pamela                    0.3.0                   py_1001    conda-forge
pandas                    0.24.1           py37he6710b0_0    defaults
pandoc                    2.5                           0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
param                     1.8.2                      py_0    defaults
parso                     0.3.1                      py_0    conda-forge
partd                     0.3.9                    py37_0    defaults
patsy                     0.5.1                    py37_0    defaults
pcre                      8.42                 h439df22_0    defaults
pexpect                   4.6.0                 py37_1000    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pillow                    5.4.1            py37h34e0f95_0    defaults
pip                       18.1                  py37_1000    conda-forge
pixman                    0.36.0               h7b6447c_0    defaults
polyline                  1.3.2                    pypi_0    pypi
poppler                   0.65.0               h581218d_1    defaults
poppler-data              0.4.9                         0    defaults
proj4                     5.2.0                he6710b0_1    defaults
prometheus_client         0.5.0                      py_0    conda-forge
prompt_toolkit            2.0.7                      py_0    conda-forge
psutil                    5.5.0            py37h7b6447c_0    defaults
psycopg2                  2.7.6.1          py37h1ba5d50_0    defaults
ptyprocess                0.6.0                 py37_1000    conda-forge
pyarrow                   0.11.1           py37he6710b0_0    defaults
pycosat                   0.6.3            py37h470a237_1    conda-forge
pycparser                 2.19                       py_0    conda-forge
pyct                      0.4.6                    py37_0    defaults
pycurl                    7.43.0.2         py37h1ba5d50_0    defaults
pyepsg                    0.4.0                    py37_0    defaults
pygments                  2.3.1                      py_0    conda-forge
pygpu                     0.7.6            py37h035aef0_0    defaults
pykdtree                  1.3.1            py37hdd07704_2    defaults
pymc3                     3.6                      py37_0    defaults
pyopenssl                 18.0.0                py37_1000    conda-forge
pyparsing                 2.3.1                    py37_0    defaults
pyproj                    1.9.6            py37h14380d9_0    defaults
pyqt                      5.9.2            py37h05f1152_2    defaults
pyrsistent                0.14.8           py37h470a237_0    conda-forge
pysal                     2.0.0                    pypi_0    pypi
pyshp                     2.0.1                    py37_0    defaults
pysocks                   1.6.8                 py37_1002    conda-forge
pystan                    2.18.1.0                 pypi_0    pypi
python                    3.7.2                h0371630_0    defaults
python-dateutil           2.7.5                      py_0    conda-forge
python-editor             1.0.3                      py_0    conda-forge
python-oauth2             1.1.0            py37h28b3542_1    defaults
pytz                      2018.9                   py37_0    defaults
pywavelets                1.0.1            py37hdd07704_0    defaults
pyyaml                    3.13             py37h14c3975_0    defaults
pyzmq                     17.1.2           py37hae99301_1    conda-forge
qt                        5.9.7                h5867ecd_1    defaults
rasterio                  1.0.13           py37hc38cc03_0    defaults
readline                  7.0                  haf1bffa_1    conda-forge
requests                  2.21.0                py37_1000    conda-forge
rtree                     0.8.3                    py37_0    defaults
ruamel_yaml               0.15.71          py37h470a237_0    conda-forge
s3transfer                0.1.13                   py37_0    defaults
scikit-image              0.14.1           py37he6710b0_0    defaults
scikit-learn              0.20.2           py37hd81dba3_0    defaults
scipy                     1.2.0            py37h7c811a0_0    defaults
seaborn                   0.9.0                    py37_0    defaults
send2trash                1.5.0                      py_0    conda-forge
setuptools                40.6.3                   py37_0    conda-forge
shapely                   1.6.4            py37h86c5351_0    defaults
sip                       4.19.8           py37hf484d3e_0    defaults
six                       1.12.0                py37_1000    conda-forge
smmap2                    2.0.5                    pypi_0    pypi
snappy                    1.1.7                hbae5bb6_3    defaults
snuggs                    1.4.2                    py37_0    defaults
sortedcontainers          2.1.0                    py37_0    defaults
sqlalchemy                1.2.15           py37h470a237_0    conda-forge
sqlite                    3.26.0               hb1c47c0_0    conda-forge
statsmodels               0.9.0            py37h035aef0_0    defaults
tblib                     1.3.2                    py37_0    defaults
terminado                 0.8.1                 py37_1001    conda-forge
testpath                  0.4.2                 py37_1000    conda-forge
theano                    1.0.3            py37hfd86e86_0    defaults
thrift-cpp                0.11.0               h02b749d_3    defaults
tini                      0.18.0               h470a237_1    conda-forge
tk                        8.6.9                ha92aebf_0    conda-forge
toolz                     0.9.0                    py37_0    defaults
tornado                   5.1.1            py37h470a237_0    conda-forge
tqdm                      4.29.1                     py_0    defaults
traitlets                 4.3.2                 py37_1000    conda-forge
traittypes                0.2.1                      py_1    conda-forge
tzlocal                   1.5.1                    pypi_0    pypi
urllib3                   1.24.1                py37_1000    conda-forge
vincent                   0.4.4                      py_1    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.32.3                   py37_0    conda-forge
widgetsnbextension        3.4.2                    py37_0    defaults
xarray                    0.10.9                   py37_0    defaults
xerces-c                  3.2.2                h780794e_0    defaults
xlrd                      1.2.0                    py37_0    defaults
xlsxwriter                1.1.2                    py37_0    defaults
xz                        5.2.4                h470a237_1    conda-forge
yaml                      0.1.7                h470a237_1    conda-forge
zeromq                    4.2.5                hfc679d8_6    conda-forge
zict                      0.1.3                    py37_0    defaults
zlib                      1.2.11               h470a237_3    conda-forge
zstd                      1.3.3                h84994c4_0    defaults
jovyan@3096dde704cb:~$
jovyan@3096dde704cb:~$ jupyter labextension list
JupyterLab v0.35.4
Known labextensions:
   app dir: /opt/conda/share/jupyter/lab
        @jupyter-widgets/jupyterlab-manager v0.38.1  enabled  OK
        @jupyterlab/hub-extension v0.12.0  enabled  OK
        jupyter-leaflet v0.9.2  enabled  OK
        nbdime-jupyterlab v0.6.0  enabled  OK
        qgrid v1.1.1  enabled  OK
jovyan@3096dde704cb:~$

Description of Issue

When on the environment above, I try to conda install -c conda-forge qgrid, it does not complete

jovyan@cb0fd3750921:~$ conda install -c conda-forge qgrid
Collecting package metadata: done
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - qgrid

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    openssl-1.1.1a             |    h14c3975_1000         4.0 MB  conda-forge
    qgrid-1.1.1                |        py37_1001         1.3 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         5.2 MB

The following NEW packages will be INSTALLED:

  qgrid              conda-forge/linux-64::qgrid-1.1.1-py37_1001

The following packages will be UPDATED:

  certifi              pkgs/main::certifi-2018.11.29-py37_0 --> conda-forge::certifi-2018.11.29-py37_1000
  openssl              pkgs/main::openssl-1.1.1a-h7b6447c_0 --> conda-forge::openssl-1.1.1a-h14c3975_1000

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates    pkgs/main::ca-certificates-2019.1.23-0 --> conda-forge::ca-certificates-2018.11.29-ha4d7672_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
qgrid-1.1.1          | 1.3 MB    | ####################################################################################### | 100%
openssl-1.1.1a       | 4.0 MB    | ####################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: failed
ERROR conda.core.link:_execute(544): An error occurred while installing package 'conda-forge::qgrid-1.1.1-py37_1001'.
PermissionError(13, 'Permission denied')
Attempting to roll back.

Rolling back transaction: done

[Errno 13] Permission denied: '/opt/conda051rk49i'

jovyan@cb0fd3750921:~$
guidov commented 5 years ago

I received a similar error when trying to update jupyter lab to the conda-forge repo My /anaconda3/bin directory disappears after the error Permissions seem o.k. ########################### The following packages will be UPDATED:

jupyterlab pkgs/main::jupyterlab-0.35.3-py37_0 --> conda-forge::jupyterlab-0.35.4-py37_0

Proceed ([y]/n)? y

Downloading and Extracting Packages jupyterlab-0.35.4 | 10.5 MB | ################################################################################################# | 100% Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(544): An error occurred while installing package 'conda-forge::jupyterlab-0.35.4-py37_0'. PermissionError(13, 'Permission denied') Attempting to roll back.

Rolling back transaction: done

[Errno 13] Permission denied: '/anaconda3izlthcob'