question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

permission denied when I install scrapy via conda

See original GitHub issue

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

Issue Analytics

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

github_iconTop GitHub Comments

7reactions
mayoufcommented, Feb 26, 2018

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

0reactions
nctl144commented, Apr 27, 2018

No problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I resolve the 'permission denied' error while running ...
You should be able to solve this problem by running the command as an administrator: Press Win -> type "cmd" -> right-click onto...
Read more >
Installation guide — Scrapy 2.7.1 documentation
The solution to this problem is described here, that is to brew install openssl and then export the flags that this command recommends...
Read more >
'Access is denied' while i am running a command in powershell
I am trying to make a python 3.7 virtual environment using virtualenv. to give you a context in already have python 3.8 in...
Read more >
The operating system cannot run %1." when trying to run scrapy.
I have successfully installed scrapy under Anaconda, but have not been able to run any scrapy scripts, including the tutorial in the scrapy...
Read more >
Python PermissionError: [errno 13] permission denied Solution
To fix this error, use the chmod or chown command to change the permissions of the file so that the right user and/or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found