scrapy: permission denied when I install scrapy via conda

Hi everyone,

In order to start a scrapy project, I just set an ubuntu 16.04 VM. I installed ST3, anaconda 3, smartgit and chrome. That’s all.

Since that, I tried to install scrapy by typing a simple:

conda install scrapy

and it gives me an error that I could not troubleshoot:

Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(481): An error occurred while installing package ‘defaults::constantly-15.1.0-py36_0’. PermissionError(13, ‘Permission denied’) Attempting to roll back.

Rolling back transaction: done

PermissionError(13, ‘Permission denied’)

I did not find that much on this error. But the strangest part, is that I’ve done this installation a thousand time and I never experience this error.

Anyone here had this issue before ?

Regards,

Mic

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

Hi Cathal,

I was so desperate that I reinstalled anaconda3…and guess what ? it worked…

When I compare the ownerships between the two anaconda folders…it shows that YOU WERE RIGHT !!!

The ownership was the issue here…

So for the next one having this issue:

image

In my case, the user was called “mic”. You will need to write your username.

AND DO NOT FORGET THE RECURSIVE OPTION “-R”, like me, to change the subfolder ownership.

And you will be able to install scrapy by a simple conda install scrapy

THX Cathal