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 problems with macOS Catalina

See original GitHub issue

Description

What steps will reproduce the problem?

  • I had an Anaconda installation
  • I updated mac OS to Catalina
  • Problems
  • I reinstalled Anaconda from command line
  • Jupyter notebooks wroked well, but not Spyder

Traceback

  File "/Users/jose/anaconda3/lib/python3.7/site-packages/spyder/plugins/editor.py", line 1942, in load
    finfo = self.editorstacks[0].load(filename, set_current=False)
  File "/Users/jose/anaconda3/lib/python3.7/site-packages/spyder/widgets/editor.py", line 2251, in load
    text, enc = encoding.read(filename)
  File "/Users/jose/anaconda3/lib/python3.7/site-packages/spyder/utils/encoding.py", line 249, in read
    text, encoding = decode( open(filename, 'rb').read() )
PermissionError: [Errno 1] Operation not permitted: '/Users/jose/Documents/Udacity/deep-learning-v2-pytorch-master/extracurricular/keras/conv-dims.py'
WARNING:spyder.widgets.github.backend:Failed to send bug report on Github. response={'code': 401, 'json': {'message': 'Bad credentials', 'documentation_url': 'https://developer.github.com/v3'}}

Versions

  • Spyder version: 3.3.6
  • Python version: 3.7.0
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Darwin 19.0.0

Dependencies

pyflakes >=0.6.0  :  2.1.1 (OK)
pycodestyle >=2.3 :  2.5.0 (OK)
pygments >=2.0    :  2.4.2 (OK)
sphinx >=0.6.6    :  2.1.2 (OK)
rope >=0.9.4      :  0.14.0 (OK)
jedi >=0.9.0      :  0.13.3 (OK)
psutil >=0.3      :  5.6.3 (OK)
nbconvert >=4.0   :  5.5.0 (OK)
pandas >=0.13.1   :  0.24.2 (OK)
numpy >=1.7       :  1.16.4 (OK)
sympy >=0.7.3     :  1.4 (OK)
cython >=0.21     :  0.29.12 (OK)
qtconsole >=4.2.0 :  4.5.1 (OK)
IPython >=4.0     :  7.6.1 (OK)
matplotlib >=2.0.0:  3.1.0 (OK)
pylint >=0.25     :  2.3.1 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
acarramicommented, Dec 12, 2019

I had the same problem. I could run my code when calling spyder from a terminal, rather than from the anaconda app, WITHOUT having to use sudo.

0reactions
hughmurphycommented, Feb 6, 2020

I can no longer use Conda commands on a Mac OS Catalina. Think it may be something to do with the shell changing to bin/zsh. Having the same problem with anaconda and Spyder wonder if they are connected?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Catalina not allowing to change read/write permissions ...
Issue: Ever since I upgraded to Catalina, macOS is not allowing me to change read and write permissions on system protected files, hence, ......
Read more >
How to fix permissions issue on Catalina OSX
How to fix the Permission issue in Catalina OSX · Select the “Go” menu from the Finder, then choose “Utilities“. · Open “Terminal“....
Read more >
Resetting permissions in Catalina (HT203538)
Resetting permissions in Catalina (HT203538) · Start up in Recovery mode by holding Command-R. · Once in Recovery mode, open Terminal from the ......
Read more >
How to Repair Disk Permissions on macOS 10.15 Catalina
Step 5: Once you get the list of broken or misbehaving permissions, click on Repair Disk Permissions and allow some time to complete...
Read more >
Getting the Handle on User Permissions in macOS Catalina
Did you know that you can set permissions for items on macOS? Permission settings let you choose who can view and alter files...
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