Miniconda permission errors

Philipp Rudiger's Avatar

Philipp Rudiger

28 Jan, 2019 12:51 PM

Since earlier today using miniconda to install any libraries which attempt to write an entrypoint script into the miniconda env directory raises Permission Denied errors and causes the build to fail. An example is this build on the public hvPlot repo (https://ci.appveyor.com/project/pyviz/hvplot/builds/21921315/job/yr6fahphkmxw1cim) or this build on the bokeh repo (https://ci.appveyor.com/project/bokeh-integrations/bokeh/builds/21933513):

    ERROR conda.core.link:_execute(543): An error occurred while installing package 'conda-forge::ipykernel-4.10.0-py27_1'.
    IOError(13, 'Permission denied')
    Attempting to roll back.
    [Errno 13] Permission denied: u'C:\\Miniconda-x64\\envs\\test\\Scripts\\jupyter-kernel.exe'

The hvPlot build is the result of rerunning a previous build, which passed just a few days earlier (i.e. nothing has changed about the environment). I suspect some mistake was made rolling out an image with broken permissions in the Miniconda directory.

  1. Support Staff 1 Posted by Ilya Finkelshte... on 29 Jan, 2019 12:30 AM

    Ilya Finkelshteyn's Avatar

    Hi Philipp,

    Build images were not updated during this period. You can always check is here. Also I would recommend to subscribe to technical updates here.

    Probably, cause of your problem is a different build of jupyter_client-5.2.4 being downloaded. It is py_0 for successful build and py_1 for failed.

    Ilya.

  2. 2 Posted by Philipp Rudiger on 29 Jan, 2019 12:32 AM

    Philipp Rudiger's Avatar

    It's looking like this is in fact an issue in conda itself, further discussion can happen here: https://github.com/conda/conda/issues/8155

  3. Support Staff 3 Posted by Ilya Finkelshte... on 29 Jan, 2019 12:38 AM

    Ilya Finkelshteyn's Avatar

    I see, thanks for the update.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac