Open c110156240 opened 5 days ago
Have you tried the solution from this ticket: https://github.com/spyder-ide/spyder/issues/22187#issuecomment-2301462687
pip install -U numexpr bottleneck
This updates dependencies which were relying on the old numpy version
Hey @c110156240, thanks for reporting. There are two problems in this same issue:
This command failed to be executed because an error occurred while trying to get the file code from Spyder's editor. The error was: An exception has occurred, use %tb to see the full traceback. UnicodeDecodeError: 'cp950' codec can't decode byte 0x81 in position 471: illegal multibyte sequence
Please post a simple script that generates this error so we can try to reproduce this problem on our side.
A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.2 as it may crash
This problem is caused because you installed Numpy or one of its dependencies with pip in Anaconda, which broke your installation. Now you have to uninstall and reinstall it (otherwise you'll have similar problems in the future).
To do that properly, please see the second part of our video about not mixing pip and conda packages.
Description
What steps will reproduce the problem?
This command failed to be executed because an error occurred while trying to get the file code from Spyder's editor. The error was: An exception has occurred, use %tb to see the full traceback. UnicodeDecodeError: 'cp950' codec can't decode byte 0x81 in position 471: illegal multibyte sequence
Traceback
Versions
Dependencies