Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permissions problem can cause conda to delete itself and cripple Anaconda irrecoverably #1733

Closed
ijstokes opened this issue Oct 23, 2015 · 22 comments
Milestone

Comments

@ijstokes
Copy link
Contributor

@ijstokes ijstokes commented Oct 23, 2015

In an attempt to do a conda update conda the permissions allowed a user to do the unlinking phase of the update, but then did not allow the same user to link in the updated conda. This resulted in conda disappearing, and an effectively crippled Anaconda deployment. This isn't the first time I've done this. This is tied in with the meta-issue of #1329 , though perhaps not entirely the same: my request (and really, expectation) is limited in scope to having conda be careful enough at least with itself that it won't self-annihilate.

[root@isr-anaconda-platform ~]# sudo -u wakari /opt/wakari/anaconda/bin/conda update conda
Fetching package metadata: ........
Solving package specifications: .
Package plan for installation in environment /opt/wakari/anaconda:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    openssl-1.0.2d             |                0         3.2 MB
    python-2.7.10              |                2        12.0 MB
    requests-2.8.1             |           py27_0         603 KB
    setuptools-18.4            |           py27_0         342 KB
    wheel-0.26.0               |           py27_1          76 KB
    conda-3.18.3               |           py27_0         175 KB
    ------------------------------------------------------------
                                           Total:        16.3 MB

The following packages will be UPDATED:

    conda:      3.17.0-py27_0 --> 3.18.3-py27_0
    openssl:    1.0.1k-1      --> 1.0.2d-0     
    python:     2.7.10-0      --> 2.7.10-2     
    requests:   2.7.0-py27_0  --> 2.8.1-py27_0 
    setuptools: 18.1-py27_0   --> 18.4-py27_0  
    wheel:      0.24.0-py27_0 --> 0.26.0-py27_1

Proceed ([y]/n)? y

Fetching packages ...
openssl-1.0.2d 100% |##############################################| Time: 0:00:00  15.21 MB/s
python-2.7.10- 100% |##############################################| Time: 0:00:00  16.47 MB/s
requests-2.8.1 100% |##############################################| Time: 0:00:00   7.16 MB/s
setuptools-18. 100% |##############################################| Time: 0:00:00   5.73 MB/s
wheel-0.26.0-p 100% |##############################################| Time: 0:00:00   3.11 MB/s
conda-3.18.3-p 100% |##############################################| Time: 0:00:00   4.66 MB/s
Extracting packages ...
[      COMPLETE      ]|#################################################################| 100%
Unlinking packages ...
[      COMPLETE      ]|#################################################################| 100%
Linking packages ...
An unexpected error has occurred, please consider sending the                           |   0%
following traceback to the conda GitHub issue tracker at:

    https://github.com/conda/conda/issues

Include the output of the command 'conda info' in your report.


Traceback (most recent call last):
  File "/opt/wakari/anaconda/bin/conda", line 5, in <module>

  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 194, in main
    args_func(args, p)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/cli/main.py", line 201, in args_func
    args.func(args, p)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/cli/main_update.py", line 38, in execute
    install.install(args, parser, 'update')
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/cli/install.py", line 417, in install
    plan.execute_actions(actions, index, verbose=not args.quiet)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/plan.py", line 533, in execute_actions
    inst.execute_instructions(plan, index, verbose)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/instructions.py", line 148, in execute_instructions
    cmd(state, arg)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/instructions.py", line 91, in LINK_CMD
    link(state['prefix'], arg, index=state['index'])
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/instructions.py", line 87, in link
    install.link(pkgs_dir, prefix, dist, lt, index=index)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/install.py", line 607, in link
    _link(src, dst, lt)
  File "/opt/wakari/anaconda/lib/python2.7/site-packages/conda/install.py", line 136, in _link
    shutil.copy2(src, dst)
  File "/opt/wakari/anaconda/lib/python2.7/shutil.py", line 130, in copy2
  File "/opt/wakari/anaconda/lib/python2.7/shutil.py", line 83, in copyfile
IOError: [Errno 13] Permission denied: '/opt/wakari/anaconda/include/openssl/opensslconf.h'
[root@isr-anaconda-platform ~]# chown -R wakari:wakari /opt/wakari/miniconda /opt/wakari/waka
ri-server /opt/wakari/anaconda/
[root@isr-anaconda-platform ~]# sudo -u wakari /opt/wakari/anaconda/bin/conda update conda
sudo: /opt/wakari/anaconda/bin/conda: command not found
@ilanschnell
Copy link
Contributor

@ilanschnell ilanschnell commented Oct 23, 2015

Conda does not do anything special with user permissions. How would you suggest to solve this problem?

@ijstokes
Copy link
Contributor Author

@ijstokes ijstokes commented Oct 23, 2015

I would suggest that we understand the kinds of file or directory permissions that allow unlinking of a package but that will block the subsequent linking that needs to happen right afterwards. And then we need to check for those conditions and not attempt a package update if those conditions occur. If this is really computationally burdensome, then special case conda and python (in fact, as I discovered, requests and a few others might also be required), and just check those. But destroying Anaconda is a really bad experience. With Anaconda being increasingly adopted by admins and installed as the root user on hosts then with some subsequent chown and chmod operations, other people will also setup the scenario (as we have with Wakari) where they can more than shoot themselves in the foot, but, in fact, shoot themselves in the head.

@ijstokes
Copy link
Contributor Author

@ijstokes ijstokes commented Oct 23, 2015

OK, in case this ever comes up for anyone else, here is how I seem to have come close to recovering the system:

pushd /opt/wakari/anaconda
mv anaconda anaconda_orig
wget Anaconda.sh
chmod a+x Anaconda.sh
./Anaconda.sh # install to /opt/wakari/anaconda
rsync -a anaconda_orig/ anaconda/
chmod -R a+rX anaconda
chown wakari:wakari anaconda
sudo -u wakari /opt/wakari/anaconda/bin/conda update conda
sudo -u wakari /opt/wakari/anaconda/bin/conda install -f conda-env
popd

(the last command is due to a now-resolved issue where the conda update may actually remove conda-env, so this will restore it)

And at some later point, you'd probably want to do:

rm -Rf /opt/wakari/anaconda_orig
@damianavila
Copy link

@damianavila damianavila commented Oct 26, 2015

I could recover from this somehow using the conda revision mechanism... I would try to set up a minimal reproducible case and test my fix to post it here (as time permits).

@0u812
Copy link

@0u812 0u812 commented Feb 17, 2016

Just wanted to say that this caused a user of an Anaconda package I created to accidentally wipe out their conda installation. I completely agree with @ijstokes point that conda shouldn't attempt an update unless the update can be completed. Updates should be atomic anyway, i.e. there should either be a check that ensures that the update can complete or it should be possible to roll back the changes if the update fails. 👍 for fixing this, as it is currently blocking my team from deploying to conda due to the potential for harming our users' Anaconda installation.

@ilanschnell
Copy link
Contributor

@ilanschnell ilanschnell commented Feb 17, 2016

The latest Miniconda installers have now a working -f option, which allows to force reinstall Miniconda into an existing prefix. This way one can recover.

@0u812
Copy link

@0u812 0u812 commented Feb 17, 2016

Thanks, will pass the info along.

@cmiller8
Copy link

@cmiller8 cmiller8 commented May 16, 2016

This has happened to me 3 times in the past 12 months -- each time I can't figure out how to recover and just end up reinstalling anaconda

@robmarkcole
Copy link

@robmarkcole robmarkcole commented Oct 15, 2016

I just experienced this, attempting a fresh install

@kalefranz
Copy link
Member

@kalefranz kalefranz commented Oct 15, 2016

Progress towards a solution: #3571

@sachinruk
Copy link

@sachinruk sachinruk commented Nov 3, 2016

Has this been resolved? I did sudo chown -R sachin anaconda attempting to fix a PermissionError and all of a sudden conda is no longer in anaconda/bin. I think in my case the damage is done and I'll have to do a fresh install of anaconda.

@robmarkcole
Copy link

@robmarkcole robmarkcole commented Nov 3, 2016

Yes I had to do that 😂

On Thursday, November 3, 2016, Sachin Abeywardana notifications@github.com
wrote:

Has this been resolved? I did sudo chown -R sachin anaconda attempting to
fix a PermissionError and all of a sudden conda is no longer in
anaconda/bin. I think in my case the damage is done and I'll have to do a
fresh install of anaconda.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#1733 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALTl2sEdgkk13DPDHpEZXVmNAXujKRUZks5q6Yc0gaJpZM4GUpzJ
.


Dr Robin Cole
Royal Surrey County Hospital
Guildford
Surrey
GU2 7XX

Tel : 07951810847

@kalefranz
Copy link
Member

@kalefranz kalefranz commented Jan 26, 2017

fixed with conda 4.3

@kalefranz kalefranz closed this Jan 26, 2017
@ksarma
Copy link

@ksarma ksarma commented Feb 10, 2017

It just happened to me, with conda 4.3...

@stoneyv
Copy link

@stoneyv stoneyv commented Jun 18, 2017

This happened to me with conda 4.3.21-py36_1 on ubuntu 16.04 LTS with a home directory install (not a site wide install) I rolled back to a revision that did not include an update to conda. The change that I rolled back from did include a change to conda. All of the envs bin directories use a link to the ~/anaconda3/bin/conda file. How does conda list --revisions compute the revisions? Does it use the json files in conda-meta?

fulano@laptop:~/Desktop$ conda install --revision 1
Fetching package metadata .........

Package plan for installation in environment /home/stoney/anaconda3:

The following packages will be REMOVED:

    branca:          0.2.0-py36_0       conda-forge
    click-plugins:   1.0.3-py36_0       conda-forge
    cligj:           0.4.0-py36_0       conda-forge
    conda:           4.3.21-py36_1      conda-forge
    conda-env:       2.6.0-0            conda-forge
    descartes:       1.1.0-py36_0       conda-forge
    fiona:           1.7.6-np111py36_0  conda-forge
    folium:          0.3.0-py36_0       conda-forge
    freexl:          1.0.2-1            conda-forge
    gdal:            2.1.3-np111py36_0  conda-forge
    geopandas:       0.2.1-py36_4       conda-forge
    geopy:           1.11.0-py36_0      conda-forge
    geos:            3.5.1-1            conda-forge
    giflib:          5.1.4-0            conda-forge
    hdf4:            4.2.12-0           conda-forge
... continued
@OSHI7
Copy link

@OSHI7 OSHI7 commented Jul 2, 2017

Hello. I am still having this problem.
For me, originally it seemed related to spyder launching, then I found either \anaconda3\pythonw.exe was missing (i.e. file was deleted from normal installation position). Then after performing some updates (I can post about this if relevant); then spyder behaved nicely; and was stable.
Now I struggle with a reminiscent problem with the Jupyter Notebooks.
After reading that evidently pyzmq was responsible, I followed the prescription by removing pyzmq, then 'conda install jupyter", proceeding to launch jupyter notebook. Victory!
It seemed...
When I then closed the server, I found \anaconda3\python.exe was missing again. Then I used a file recovery tool which showed python.exe was still located in the directory, but was deleted. I then tried to copy an archived copy of python.exe into the \anaconda3 folder but it would not let me, even after providing Admin rights. Seemed the file was still in memory or something, even though it was invisible.
After rebooting; before launching anything anaconda-related, I could rename the file to python.exe and all seemed well. Except it's not working as it should be. I seem to be able to repeat this loop ad infinitum.
I can post whatever you guys would like, if it is of interest...and (sorry) if you advise me how to capture relevant logs... I frankly don't know how to dump logs, as I am new at anaconda & python.
I appreciate your help and attention to details.
rgds, josh
edit: oh yes; I have a question. How can I do the miniconda in-situ upgrade with -f option? I read this could repair my install (without the reboot and manually patching files), but when I launch -f, it launches the GUI for the installer and will not let me point to the same directory where Anaconda is installed.

pps. The files that are (variously) deleted are \anaconda3\python.exe; \anaconda3\scripts\conda.exe; \anaconda3\jupyter-notebook.exe. The install can be repaired by recopying archived copies to replace the missing files...seemingly.

@aluo-x
Copy link

@aluo-x aluo-x commented Jan 21, 2018

Just occured with me, using Windows 10, Anaconda 5.0.1 (Python 3 version). Tried
conda update --all and conda was gone

Upon further investigation, my issues actually seems to be #6482 and #8087

@jamie-arcc
Copy link

@jamie-arcc jamie-arcc commented Apr 15, 2019

this issue still occurs

@bostonanton
Copy link

@bostonanton bostonanton commented Dec 11, 2019

Just happened to me. Running Conda 4.6.14

`$ conda install plotly
Collecting package metadata: done
Solving environment: |
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  • defaults/linux-64::bitarray==0.8.1=py36h14c3975_1
  • defaults/linux-64::pymc3==3.6=py36_0
  • defaults/linux-64::sortedcontainers==1.5.10=py36_0
  • defaults/linux-64::greenlet==0.4.13=py36h14c3975_0
  • defaults/linux-64::pytest-arraydiff==0.2=py36_0
  • defaults/linux-64::sphinxcontrib-websupport==1.0.1=py36hb5cb234_1
  • defaults/linux-64::anaconda-project==0.8.2=py36h44fb852_0
  • defaults/linux-64::pytest==3.5.1=py36_0
  • defaults/linux-64::h5py==2.7.1=py36ha1f6525_2
  • defaults/linux-64::et_xmlfile==1.0.1=py36hd6bccc3_0
  • defaults/linux-64::qt==5.9.5=h7e424d6_0
  • defaults/linux-64::lxml==4.2.1=py36h23eabaa_0
  • defaults/linux-64::gstreamer==1.14.0=hb453b48_1
  • defaults/linux-64::numpydoc==0.8.0=py36_0
  • defaults/linux-64::pytest-remotedata==0.2.1=py36_0
  • defaults/linux-64::openpyxl==2.5.3=py36_0
  • defaults/linux-64::urllib3==1.22=py36hbe7ace6_0
  • defaults/linux-64::statsmodels==0.9.0=py36h3010b51_0
  • defaults/linux-64::typing==3.6.4=py36_0
  • defaults/linux-64::libpng==1.6.34=hb9fc6fc_0
  • defaults/linux-64::pickleshare==0.7.4=py36h63277f8_0
  • defaults/linux-64::bokeh==0.12.16=py36_0
  • defaults/linux-64::backports.shutil_get_terminal_size==1.0.0=py36hfea85ff_2
  • defaults/linux-64::packaging==17.1=py36_0
  • defaults/linux-64::sqlite==3.23.1=he433501_0
  • defaults/linux-64::xz==5.2.4=h14c3975_4
  • defaults/linux-64::blosc==1.14.3=hdbcaa40_0
  • defaults/linux-64::jbig==2.1=hdba287a_0
  • defaults/linux-64::datashape==0.5.4=py36h3ad6b5c_0
  • defaults/linux-64::openssl==1.0.2o=h20670df_0
  • defaults/linux-64::qtpy==1.4.1=py36_0
  • defaults/linux-64::cairo==1.14.12=h7636065_2
  • defaults/linux-64::libtiff==4.0.9=he85c1e1_1
  • defaults/linux-64::pango==1.41.0=hd475d92_0
  • defaults/linux-64::tblib==1.3.2=py36h34cf8b6_0
  • defaults/linux-64::certifi==2018.4.16=py36_0
  • defaults/linux-64::terminado==0.8.1=py36_1
  • defaults/linux-64::nose==1.3.7=py36hcdf7029_2
  • defaults/linux-64::anaconda-navigator==1.8.7=py36_0
  • defaults/linux-64::markupsafe==1.0=py36hd9260cd_1
  • defaults/linux-64::pathlib2==2.3.2=py36_0
  • defaults/linux-64::imagesize==1.0.0=py36_0
  • defaults/linux-64::sympy==1.1.1=py36hc6d1c1c_0
  • defaults/linux-64::parso==0.2.0=py36_0
  • defaults/linux-64::jpeg==9b=h024ee3a_2
  • defaults/linux-64::widgetsnbextension==3.2.1=py36_0
  • defaults/linux-64::pillow==5.1.0=py36h3deb7b8_0
  • defaults/linux-64::libxcb==1.13=h1bed415_1
  • defaults/linux-64::harfbuzz==1.7.6=h5f0a787_1
  • defaults/linux-64::idna==2.6=py36h82fb2a8_1
  • defaults/linux-64::msgpack-python==0.5.6=py36h6bb024c_0
  • defaults/linux-64::conda-build==3.10.5=py36_0
  • defaults/linux-64::backcall==0.1.0=py36_0
  • defaults/linux-64::nbconvert==5.3.1=py36hb41ffb7_0
  • defaults/linux-64::partd==0.3.8=py36h36fd896_0
  • defaults/linux-64::nltk==3.3.0=py36_0
  • defaults/linux-64::xlwt==1.3.0=py36h7b00a1f_0
  • defaults/linux-64::qtconsole==4.3.1=py36h8f73b5b_0
  • defaults/linux-64::patchelf==0.9=hf79760b_2
  • defaults/linux-64::dbus==1.13.2=h714fa37_1
  • defaults/linux-64::jdcal==1.4=py36_0
  • defaults/linux-64::unicodecsv==0.14.1=py36ha668878_0
  • defaults/linux-64::bottleneck==1.2.1=py36haac1ea0_0
  • defaults/linux-64::anaconda==5.2.0=py36_3
  • defaults/linux-64::astroid==1.6.3=py36_0
  • defaults/linux-64::libedit==3.1.20170329=h6b74fdf_2
  • defaults/linux-64::mkl_random==1.0.1=py36h629b387_0
  • defaults/linux-64::ptyprocess==0.5.2=py36h69acd42_0
  • defaults/linux-64::send2trash==1.5.0=py36_0
  • defaults/linux-64::docutils==0.14=py36hb0f60f5_0
  • defaults/linux-64::zict==0.1.3=py36h3a3bf81_0
  • defaults/linux-64::scikit-learn==0.19.1=py36h7aa7ec6_0
  • defaults/linux-64::cloudpickle==0.5.3=py36_0
  • defaults/linux-64::pysocks==1.6.8=py36_0
  • defaults/linux-64::libgpuarray==0.7.6=h14c3975_0
  • defaults/linux-64::imageio==2.3.0=py36_0
  • defaults/linux-64::mistune==0.8.3=py36h14c3975_1
  • defaults/linux-64::pexpect==4.5.0=py36_0
  • defaults/linux-64::requests==2.18.4=py36he2e5f8d_1
  • defaults/linux-64::pycodestyle==2.4.0=py36_0
  • defaults/linux-64::freetype==2.8=hab7d2ae_1
  • defaults/linux-64::icu==58.2=h9c2bf20_1
  • defaults/linux-64::heapdict==1.0.0=py36_2
  • defaults/linux-64::pep8==1.7.1=py36_0
  • defaults/linux-64::sqlalchemy==1.2.7=py36h6b74fdf_0
  • defaults/linux-64::wrapt==1.10.11=py36h28b7045_0
  • defaults/linux-64::scipy==1.1.0=py36hfc37229_0
  • defaults/linux-64::kiwisolver==1.0.1=py36h764f252_0
  • defaults/linux-64::glib==2.56.1=h000015b_0
  • defaults/linux-64::navigator-updater==0.2.1=py36_0
  • defaults/linux-64::pycosat==0.6.3=py36h0a5515d_0
  • defaults/linux-64::gevent==1.3.0=py36h14c3975_0
  • defaults/linux-64::gmpy2==2.0.8=py36hc8893dd_2
  • defaults/linux-64::spyder==3.2.8=py36_0
  • defaults/linux-64::flask-cors==3.0.4=py36_0
  • defaults/noarch::tqdm==4.32.1=py_0
  • defaults/linux-64::colorama==0.3.9=py36h489cec4_0
  • defaults/linux-64::gst-plugins-base==1.14.0=hbbd80ab_1
  • defaults/linux-64::wheel==0.31.1=py36_0
  • defaults/linux-64::networkx==2.1=py36_0
  • defaults/linux-64::decorator==4.3.0=py36_0
  • defaults/linux-64::cython==0.28.2=py36h14c3975_0
  • defaults/linux-64::pygpu==0.7.6=py36h035aef0_0
  • defaults/linux-64::traitlets==4.3.2=py36h674d592_0
  • defaults/linux-64::jupyter==1.0.0=py36_4
  • defaults/linux-64::simplegeneric==0.8.1=py36_2
  • defaults/linux-64::blaze==0.11.3=py36h4e06776_0
  • defaults/linux-64::boto==2.48.0=py36h6e4cd66_1
  • defaults/linux-64::gmp==6.1.2=h6c8ec71_1
  • defaults/linux-64::locket==0.2.0=py36h787c0ad_1
  • defaults/linux-64::psutil==5.4.5=py36h14c3975_0
  • defaults/linux-64::unixodbc==2.3.6=h1bed415_0
  • defaults/linux-64::entrypoints==0.2.3=py36h1aec115_2
  • defaults/linux-64::rope==0.10.7=py36h147e2ec_0
  • defaults/linux-64::zeromq==4.2.5=h439df22_0
  • defaults/linux-64::sip==4.19.8=py36hf484d3e_0
  • defaults/linux-64::cryptography==2.2.2=py36h14c3975_0
  • defaults/linux-64::olefile==0.45.1=py36_0
  • defaults/linux-64::ipykernel==4.8.2=py36_0
  • defaults/linux-64::curl==7.60.0=h84994c4_0
  • defaults/linux-64::readline==7.0=ha6073c6_4
  • defaults/linux-64::python-dateutil==2.7.3=py36_0
  • defaults/linux-64::cytoolz==0.9.0.1=py36h14c3975_0
  • defaults/linux-64::libxslt==1.1.32=h1312cb7_0
  • defaults/linux-64::libffi==3.2.1=hd88cf55_4
  • defaults/linux-64::jinja2==2.10=py36ha16c418_0
  • defaults/linux-64::beautifulsoup4==4.6.0=py36h49b8c8c_1
  • defaults/linux-64::chardet==3.0.4=py36h0f667ec_1
  • defaults/linux-64::alabaster==0.7.10=py36h306e16b_0
  • defaults/linux-64::pywavelets==0.5.2=py36he602eb0_0
  • defaults/linux-64::jupyterlab==0.32.1=py36_0
  • defaults/linux-64::libcurl==7.60.0=h1ad7b7a_0
  • defaults/linux-64::jupyterlab_launcher==0.10.5=py36_0
  • defaults/linux-64::libtool==2.4.6=h544aabb_3
  • defaults/linux-64::get_terminal_size==1.0.0=haa9412d_0
  • defaults/linux-64::pytest-openfiles==0.3.0=py36_0
  • defaults/linux-64::prompt_toolkit==1.0.15=py36h17d85b1_0
  • defaults/linux-64::clyent==1.2.2=py36h7e57e65_1
  • defaults/linux-64::jupyter_client==5.2.3=py36_0
  • defaults/linux-64::snappy==1.1.7=hbae5bb6_3
  • defaults/linux-64::jupyter_console==5.2.0=py36he59e554_1
  • defaults/linux-64::pygments==2.2.0=py36h0d3125c_0
  • defaults/linux-64::pytables==3.4.3=py36h02b9ad4_2
  • defaults/linux-64::mkl-service==1.1.2=py36h17a0993_4
  • defaults/linux-64::distributed==1.21.8=py36_0
  • defaults/linux-64::pyodbc==4.0.23=py36hf484d3e_0
  • defaults/linux-64::fastcache==1.0.2=py36h14c3975_2
  • defaults/linux-64::mpc==1.0.3=hec55b23_5
  • defaults/linux-64::dask==0.17.5=py36_0
  • defaults/linux-64::pyqt==5.9.2=py36h751905a_0
  • defaults/linux-64::six==1.11.0=py36h372c433_1
  • defaults/linux-64::jsonschema==2.6.0=py36h006f8b5_0
  • defaults/linux-64::ipython_genutils==0.2.0=py36hb52b0d5_0
  • defaults/linux-64::conda-verify==2.0.0=py36h98955d8_0
  • defaults/linux-64::flask==1.0.2=py36_1
  • defaults/linux-64::asn1crypto==0.24.0=py36_0
  • defaults/linux-64::pytest-astropy==0.3.0=py36_0
  • defaults/linux-64::ipython==6.4.0=py36_0
  • defaults/linux-64::pytest-doctestplus==0.1.3=py36_0
  • defaults/linux-64::yaml==0.1.7=had09818_2
  • defaults/linux-64::libsodium==1.0.16=h1bed415_0
  • defaults/linux-64::pyflakes==1.6.0=py36h7bd6a15_0
  • defaults/linux-64::bzip2==1.0.6=h14c3975_5
  • defaults/linux-64::testpath==0.3.1=py36h8cadb63_0
  • defaults/linux-64::pytz==2018.4=py36_0
  • defaults/linux-64::ipywidgets==7.2.1=py36_0
  • defaults/linux-64::tk==8.6.7=hc745277_3
  • defaults/linux-64::expat==2.2.5=he0dffb1_0
  • defaults/linux-64::xlrd==1.1.0=py36h1db9f0c_1
  • defaults/linux-64::ncurses==6.1=hf484d3e_0
  • defaults/linux-64::bleach==2.1.3=py36_0
  • defaults/linux-64::conda==4.6.14=py36_0
  • defaults/linux-64::nbformat==4.4.0=py36h31c9010_0
  • defaults/linux-64::libssh2==1.8.0=h9cfc8f7_4
  • defaults/linux-64::pyparsing==2.2.0=py36hee85983_1
  • defaults/linux-64::ply==3.11=py36_0
  • defaults/linux-64::odo==0.5.1=py36h90ed295_0
  • defaults/linux-64::snowballstemmer==1.2.1=py36h6febd40_0
  • defaults/linux-64::hdf5==1.10.2=hba1933b_1
  • defaults/noarch::mako==1.0.10=py_0
  • defaults/linux-64::mccabe==0.6.1=py36h5ad9710_1
  • defaults/linux-64::pyzmq==17.0.0=py36h14c3975_0
  • defaults/linux-64::mpmath==1.0.0=py36hfeacd6b_2
  • defaults/linux-64::py==1.5.3=py36_0
  • defaults/linux-64::pycurl==7.43.0.1=py36hb7f436b_0
  • defaults/linux-64::astropy==3.0.2=py36h3010b51_1
  • defaults/linux-64::werkzeug==0.14.1=py36_0
  • defaults/linux-64::isort==4.3.4=py36_0
  • defaults/linux-64::matplotlib==2.2.2=py36h0e671d2_1
  • defaults/linux-64::pycrypto==2.6.1=py36h14c3975_8
  • defaults/linux-64::scikit-image==0.13.1=py36h14c3975_1
  • defaults/linux-64::libxml2==2.9.8=h26e45fe_1
  • defaults/linux-64::python==3.6.5=hc3d631a_2
  • defaults/linux-64::attrs==18.1.0=py36_0
  • defaults/linux-64::sphinx==1.7.4=py36_0
  • defaults/linux-64::pyyaml==3.12=py36hafb9ca4_1
  • defaults/linux-64::setuptools==39.1.0=py36_0
  • defaults/linux-64::babel==2.5.3=py36_0
  • defaults/linux-64::wcwidth==0.1.7=py36hdf4376a_0
  • defaults/linux-64::pandocfilters==1.4.2=py36ha6701b7_1
  • defaults/linux-64::more-itertools==4.1.0=py36_0
  • defaults/linux-64::click==6.7=py36h5253387_0
  • defaults/linux-64::dask-core==0.17.5=py36_0
  • defaults/linux-64::toolz==0.9.0=py36_0
  • defaults/linux-64::pkginfo==1.4.2=py36_1
  • defaults/linux-64::fontconfig==2.12.6=h49f89f6_0
  • defaults/linux-64::_ipyw_jlab_nb_ext_conf==0.1.0=py36he11e457_0
  • defaults/linux-64::backports==1.0=py36hfa02d7e_1
  • defaults/linux-64::pylint==1.8.4=py36_0
  • defaults/linux-64::glob2==0.6=py36he249c77_0
  • defaults/linux-64::cycler==0.10.0=py36h93f1223_0
  • defaults/linux-64::singledispatch==3.4.0.3=py36h7a266c3_0
  • defaults/linux-64::pluggy==0.6.0=py36hb689045_0
  • defaults/linux-64::html5lib==1.0.1=py36h2f9c1c0_0
  • defaults/linux-64::pycparser==2.18=py36hf9f622e_1
  • defaults/linux-64::lzo==2.10=h49e0be7_2
  • defaults/linux-64::theano==1.0.2=py36h6bb024c_0
  • defaults/linux-64::multipledispatch==0.5.0=py36_0
  • defaults/linux-64::jedi==0.12.0=py36_1
  • defaults/linux-64::notebook==5.5.0=py36_0
  • defaults/linux-64::lazy-object-proxy==1.3.1=py36h10fcdad_0
  • defaults/linux-64::numpy==1.14.3=py36hcd700cb_1
  • defaults/linux-64::jupyter_core==4.4.0=py36h7c827e3_0
  • defaults/linux-64::sortedcollections==0.6.1=py36_0
  • defaults/linux-64::path.py==11.0.1=py36_0
  • defaults/linux-64::anaconda-client==1.6.14=py36_0
  • defaults/linux-64::mpfr==3.1.5=h11a74b3_2
  • defaults/linux-64::cffi==1.11.5=py36h9745a5d_0
  • defaults/linux-64::sphinxcontrib==1.0=py36h6d0f590_1
  • defaults/linux-64::qtawesome==0.4.4=py36h609ed8c_0
  • defaults/linux-64::mkl_fft==1.0.1=py36h3010b51_0
  • defaults/linux-64::pcre==8.42=h439df22_0
  • defaults/linux-64::itsdangerous==0.24=py36h93cc618_1
  • defaults/linux-64::numpy-base==1.14.3=py36h9be14a7_1
  • defaults/linux-64::webencodings==0.5.1=py36h800622e_1
  • defaults/linux-64::zlib==1.2.11=ha838bed_2
  • defaults/linux-64::pyopenssl==18.0.0=py36_0
  • defaults/linux-64::graphite2==1.3.11=h16798f4_2
  • defaults/linux-64::seaborn==0.8.1=py36hfad7ec4_0
  • defaults/linux-64::numexpr==2.6.5=py36h7bf3b9c_0
  • defaults/linux-64::bkcharts==0.2=py36h735825a_0
  • defaults/linux-64::ruamel_yaml==0.15.35=py36h14c3975_1
  • defaults/linux-64::filelock==3.0.4=py36_0
  • defaults/linux-64::llvmlite==0.23.1=py36hdbcaa40_0
  • defaults/linux-64::contextlib2==0.5.5=py36h6c84a62_0
  • defaults/linux-64::libgcc-ng==7.2.0=hdf63c60_3
  • defaults/linux-64::patsy==0.5.0=py36_0
  • defaults/linux-64::pandoc==1.19.2.1=hea2e7c5_1
  • defaults/linux-64::joblib==0.12.5=py36_0
  • defaults/linux-64::pixman==0.34.0=hceecf20_3
  • defaults/linux-64::xlsxwriter==1.0.4=py36_0
  • defaults/linux-64::numba==0.38.0=py36h637b7d7_0
  • defaults/linux-64::tornado==5.0.2=py36_0
    done

==> WARNING: A newer version of conda exists. <==
current version: 4.6.14
latest version: 4.8.0

Please update conda by running

$ conda update -n base -c defaults conda

Package Plan

environment location: /mnt/local/anaconda3

added / updated specs:
- plotly

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
_libgcc_mutex-0.1          |             main           3 KB
ca-certificates-2019.11.27 |                0         132 KB
certifi-2019.11.28         |           py38_0         156 KB
libedit-3.1.20181209       |       hc058e9b_0         188 KB
libgcc-ng-9.1.0            |       hdf63c60_0         8.1 MB
libstdcxx-ng-9.1.0         |       hdf63c60_0         4.0 MB
ncurses-6.1                |       he6710b0_1         958 KB
openssl-1.1.1d             |       h7b6447c_3         3.7 MB
pip-19.3.1                 |           py38_0         1.9 MB
plotly-4.3.0               |             py_0         4.1 MB
python-3.8.0               |       h0371630_2        39.6 MB
readline-7.0               |       h7b6447c_5         392 KB
retrying-1.3.3             |             py_2          14 KB
setuptools-42.0.2          |           py38_0         654 KB
six-1.13.0                 |           py38_0          27 KB
sqlite-3.30.1              |       h7b6447c_0         1.9 MB
tk-8.6.8                   |       hbc83047_0         3.1 MB
wheel-0.33.6               |           py38_0          35 KB
zlib-1.2.11                |       h7b6447c_3         120 KB
------------------------------------------------------------
                                       Total:        69.1 MB

The following NEW packages will be INSTALLED:

_libgcc_mutex pkgs/main/linux-64::_libgcc_mutex-0.1-main
pip pkgs/main/linux-64::pip-19.3.1-py38_0
plotly pkgs/main/noarch::plotly-4.3.0-py_0
retrying pkgs/main/noarch::retrying-1.3.3-py_2

The following packages will be UPDATED:

ca-certificates 2018.03.07-0 --> 2019.11.27-0
certifi 2018.4.16-py36_0 --> 2019.11.28-py38_0
libedit 3.1.20170329-h6b74fdf_2 --> 3.1.20181209-hc058e9b_0
libgcc-ng 7.2.0-hdf63c60_3 --> 9.1.0-hdf63c60_0
libstdcxx-ng 7.2.0-hdf63c60_3 --> 9.1.0-hdf63c60_0
ncurses 6.1-hf484d3e_0 --> 6.1-he6710b0_1
openssl 1.0.2o-h20670df_0 --> 1.1.1d-h7b6447c_3
python 3.6.5-hc3d631a_2 --> 3.8.0-h0371630_2
readline 7.0-ha6073c6_4 --> 7.0-h7b6447c_5
setuptools 39.1.0-py36_0 --> 42.0.2-py38_0
six 1.11.0-py36h372c433_1 --> 1.13.0-py38_0
sqlite 3.23.1-he433501_0 --> 3.30.1-h7b6447c_0
tk 8.6.7-hc745277_3 --> 8.6.8-hbc83047_0
wheel 0.31.1-py36_0 --> 0.33.6-py38_0
zlib 1.2.11-ha838bed_2 --> 1.2.11-h7b6447c_3

Proceed ([y]/n)? y

Downloading and Extracting Packages
zlib-1.2.11 | 120 KB | ################################################################################################################################################################## | 100%
retrying-1.3.3 | 14 KB | ################################################################################################################################################################## | 100%
six-1.13.0 | 27 KB | ################################################################################################################################################################## | 100%
wheel-0.33.6 | 35 KB | ################################################################################################################################################################## | 100%
python-3.8.0 | 39.6 MB | ################################################################################################################################################################## | 100%
plotly-4.3.0 | 4.1 MB | ################################################################################################################################################################## | 100%
setuptools-42.0.2 | 654 KB | ################################################################################################################################################################## | 100%
tk-8.6.8 | 3.1 MB | ################################################################################################################################################################## | 100%
sqlite-3.30.1 | 1.9 MB | ################################################################################################################################################################## | 100%
libstdcxx-ng-9.1.0 | 4.0 MB | ################################################################################################################################################################## | 100%
libgcc-ng-9.1.0 | 8.1 MB | ################################################################################################################################################################## | 100%
_libgcc_mutex-0.1 | 3 KB | ################################################################################################################################################################## | 100%
ca-certificates-2019 | 132 KB | ################################################################################################################################################################## | 100%
pip-19.3.1 | 1.9 MB | ################################################################################################################################################################## | 100%
readline-7.0 | 392 KB | ################################################################################################################################################################## | 100%
openssl-1.1.1d | 3.7 MB | ################################################################################################################################################################## | 100%
ncurses-6.1 | 958 KB | ################################################################################################################################################################## | 100%
libedit-3.1.20181209 | 188 KB | ################################################################################################################################################################## | 100%
certifi-2019.11.28 | 156 KB | ################################################################################################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
hybrid@hybrid-lt:~$ conda install geopandas
Traceback (most recent call last):
File "/mnt/local/anaconda3/bin/conda", line 12, in
from conda.cli import main
ModuleNotFoundError: No module named 'conda'`

@OSHI7
Copy link

@OSHI7 OSHI7 commented Dec 11, 2019

This ticket is closed, as of 12/11/2019 - but seems the issue persists.

@SaberHQ
Copy link

@SaberHQ SaberHQ commented Jan 4, 2020

Would you mind to explain why it is closed while the issue persists? We experience the same thing with different versions. What is the solution to this guys?

@msarahan
Copy link
Member

@msarahan msarahan commented Jan 4, 2020

This issue is closed because the symptom seems similar, but the cause may be very different. The original cause was investigated and fixed, so the issue is closed. File new issues and be sure to complete all information requested by the issue template. Keep
in mind that there is absolutely nothing we can do to fix old conda versions retroactively. We have tried to address this issue in newer versions of conda. If you have this issue happen going from conda 4.7.11+ to anything newer, then it is not fixed and we are interested in your issue report. If you have an older conda version that kills itself, it is this same issue and we can't prevent it. Please don't file a new issue for that known problem. You will waste your time and ours.

You can repair your installation, regardless.

To do so, you can: 

  • reinstall a newer Anaconda version with a newer installer file
    or 
  • download a standalone conda executable from https://repo.anaconda.com/pkgs/misc/conda-execs/* run that executable to reinstall any issues that are involved in the problems you're seeing, pointing the standalone conda to your installation with the -p flag:

conda_executable.exe install --force-reinstall -p "path to your anaconda installation" package1 package2 ...

@conda conda locked as resolved and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
You can’t perform that action at this time.