You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first i had spyder installed through anaconda, it had trouble not finding the installed packages when running scripts in spyder.
i deleted spyder
manually installed spyder using the .dmg from the website, now spyder does not run python at all,
error code is:
"'/Users/mayk/miniconda3/lib/python3.10/lib‑dynload/../../libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/mayk/miniconda3/bin/../lib/libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/mayk/miniconda3/bin/../lib/libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libffi.8.dylib' (no such file), '/usr/lib/libffi.8.dylib' (no such file, not in dyld cache)"
Traceback
Traceback (most recent call last):
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 85, in wrapperself._ready.set_result(None)
asyncio.exceptions.InvalidStateError: invalid state
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "qtconsole/manager.pyc", line 27, in poll
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/restarter.py", line 143, in pollself.kernel_manager.restart_kernel(now=True, newports=newports)
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/utils.py", line 30, in wrappedraise e
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "nest_asyncio.pyc", line 90, in run_until_complete
File "asyncio/futures.pyc", line 201, in result
File "asyncio/tasks.pyc", line 256, in __step
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 548, in _async_restart_kernelawait ensure_async(self.start_kernel(**self._launch_args))
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/utils.py", line 30, in wrappedraise e
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "nest_asyncio.pyc", line 90, in run_until_complete
File "asyncio/futures.pyc", line 201, in result
File "asyncio/tasks.pyc", line 256, in __step
File "/Applications/Spyder.app/Contents/Resources/lib/python3.9/jupyter_client/manager.py", line 88, in wrapperself._ready.set_exception(e)
asyncio.exceptions.InvalidStateError: invalid state
Hi @MaykThewessen thank you for the feedback! Seems like this could be a duplicate of #20637
Did you set a custom interpreter from the Spyder preferences at somepoint? Also could you try our conda-based installer for macOS and check if the issue persists with it? You can find it at the Experimental installation section of the release description: https://github.com/spyder-ide/spyder/releases/tag/v5.4.2
If you have any more info please add a comment at #20637
Description
What steps will reproduce the problem?
first i had spyder installed through anaconda, it had trouble not finding the installed packages when running scripts in spyder.
i deleted spyder
manually installed spyder using the .dmg from the website, now spyder does not run python at all,
error code is:
"'/Users/mayk/miniconda3/lib/python3.10/lib‑dynload/../../libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/mayk/miniconda3/bin/../lib/libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Users/mayk/miniconda3/bin/../lib/libffi.8.dylib' (mach‑o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/usr/local/lib/libffi.8.dylib' (no such file), '/usr/lib/libffi.8.dylib' (no such file, not in dyld cache)"
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: