spyder 3.2.8 crashes on launch with (clean conda install of) Python 3.6.5 on MacOS 10.12.6
See original GitHub issueProblem Description
spyder, on MacOS 10.12.6 with Python 3.6.5, crashes on attempt to launch from Anaconda or from commandline in conda env with error message including: ImportError: dlopen(/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so, 2): Symbol not found: __Py_set_inheritable_async_safe
however: nm -g _posixsubprocess.cpython-36m-darwin.so includes: U __Py_set_inheritable_async_safe
exact same procedure with python 3.5.5 works fine (which is what I did after the python 3.6.5 install didn’t work out so well)
What steps will reproduce the problem?
- install Python 3.6.5 using conda (naming environment py36)
- activate in anaconda (conda activate …)
- use anaconda to install spyder
- launch spyder
What is the expected output? What do you see instead?
expect: spyder UI see: traceback message, see below
Paste Traceback/Error Below (if applicable)
PASTE TRACEBACK HERE
Traceback (most recent call last):
File "/Users/stuartswerdloff/anaconda2/envs/py36/bin/spyder", line 7, in <module>
from spyder.app.start import main
File "/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/site-packages/spyder/app/start.py", line 27, in <module>
from spyder.config.main import CONF
File "/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/site-packages/spyder/config/main.py", line 22, in <module>
from spyder.config.user import UserConfig
File "/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/site-packages/spyder/config/user.py", line 26, in <module>
from spyder.utils.programs import check_version
File "/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/site-packages/spyder/utils/programs.py", line 18, in <module>
import subprocess
File "/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/subprocess.py", line 136, in <module>
import _posixsubprocess
ImportError: dlopen(/Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so, 2): Symbol not found: __Py_set_inheritable_async_safe
Referenced from: /Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so
Expected in: flat namespace
in /Users/stuartswerdloff/anaconda2/envs/py36/lib/python3.6/lib-dynload/_posixsubprocess.cpython-36m-darwin.so
Package Versions
- Spyder: 3.2.8
- Python: 3.6.5
- Qt: 5.6.2
- PyQt: 5.6.0
- Operating System: MacOS 10.12.6
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (7 by maintainers)
Top Results From Across the Web
Release notes — Anaconda documentation
This is the first release that provides a python-3.10 variant for anaconda ... enabling full use of GUI applications like Anaconda Navigator and...
Read more >Spyder crashing after installing Keras through Conda
I know I have to use Python 3.6 and TensorFlow 1.0.9 (because of my code). After installing Anaconda, I open my Anaconda prompt...
Read more >Spyder crashed during last session Mac Os Sierra - Google Groups
I am spyder user from Anaconda, but today is not run. when I click in Spyder ... I uninstall anaconda, clean everything and...
Read more >Spyder :: Anaconda.org
The Scientific Python Development Environment. Conda · Files · Labels ... To install this package run one of the following: conda install -c...
Read more >Frequently Asked Questions — Spyder 5 documentation
Q: How do I install Python packages to use within Spyder if I installed Spyder with conda? The first approach for installing a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The real solution is to run in Terminal.app
yes, works with that.