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
conda permission errors #8155
Comments
Of course, I can't reproduce this locally. I think it might come down to an "all-users" vs "just-me" install. As a hack you could try adding an empty Sorry, but it might be a while before we can get around to debugging this. If you're stuck, I recommend just pinning to the older conda version for now. |
As far as I can tell this is affecting all appveyor miniconda builds which install packages with entrypoint scripts, and presumably also a sizable portion of regular Windows users. Would be great to get a fix for this soon so we can start enjoying the speed improvements in latest conda 😄 I'll try reproducing it locally on my windows machine and dig a bit. |
There's something that doesn't quite line up here. How is it that the package is |
I see. That actual command according to https://ci.appveyor.com/project/pyviz/hvplot/builds/21921315/job/yr6fahphkmxw1cim#L720 was
|
Ah right - forgot to mention the channel info - like I said this was on appveyor so hard to debug. |
My guess is the environment creation command was
So the two-step recreation process would be
but it would be helpful to have that confirmed. |
There is a really neat trick to debug things on appveyor: https://www.appveyor.com/docs/how-to/rdp-to-build-worker/ |
I was able to reproduce this on a windows machine running a non-admin console with the command
|
I suspect that this has something to do with the entry point exe already being present in the package, then conda barfing when trying to overwrite it with a generated entry point exe. If that's accurate, the fix should be reasonable. |
Using `-vv` should show you the full stack trace and you’ll probably see right where the problem is.
…Sent from my iPhone
On Jan 28, 2019, at 5:13 PM, Mike Sarahan ***@***.***> wrote:
I suspect that this has something to do with the entry point exe already being present in the package, then conda barfing when trying to overwrite it with a generated entry point exe. If that's accurate, the fix should be reasonable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Actually you only need one `-v`.
…Sent from my iPhone
On Jan 28, 2019, at 5:13 PM, Mike Sarahan ***@***.***> wrote:
I suspect that this has something to do with the entry point exe already being present in the package, then conda barfing when trying to overwrite it with a generated entry point exe. If that's accurate, the fix should be reasonable.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
- copying bokeh/bokeh#8587 - to get around bug: conda/conda#8155
Looks like this is fixed on master, it should be resolved in the next release of conda |
I just tested https://ci.appveyor.com/project/ocefpaf/notebooks-demos/builds/21998415 It may be specific to my config there. I'll try to isolate the problem and create some steps to reproduce it. |
This is so dumb, I had to laugh:
Clearly, needs improvement. I think we need to look at exactly what that post-link is failing on:
The traceback indicates that it is related to AnacondaRecipes/nb_conda_kernels-feedstock#1 |
ping @SylvainCorlay - this might be of interest. |
to work around conda/conda#8155
Thanks @dhirschfeld. This appears to be it! |
Hi there, thank you for your contribution to Conda! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue. In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again. Thanks! |
Originally posted as appveyor/ci#2822
Current Behavior
In Appveyor, using conda 4.6.1 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:
Steps to Reproduce
Expected Behavior
On conda 4.5.4 the install works as expected
Environment Information
`conda info`
`conda config --show-sources`
`conda list --show-channel-urls`
The text was updated successfully, but these errors were encountered: