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
Trying to run the example code for facebook/musicgen-stereo-medium on huggingface.co.uk in the repo folder
Traceback
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/spyder/plugins/run/container.py", line 305, in process_run_dialog_result
executor.exec_run_configuration(run_conf, ext_params)
File "/usr/lib/python3.11/site-packages/spyder/plugins/run/api.py", line 503, in exec_run_configurationreturn method(input, conf)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/spyder/plugins/ipythonconsole/plugin.py", line 795, in exec_filesself.run_script(
File "/usr/lib/python3.11/site-packages/spyder/plugins/ipythonconsole/plugin.py", line 878, in run_scriptself.get_widget().run_script(
File "/usr/lib/python3.11/site-packages/spyder/plugins/ipythonconsole/widgets/main_widget.py", line 2334, in run_script
client =self.create_client_for_file(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/spyder/plugins/ipythonconsole/widgets/main_widget.py", line 1852, in create_client_for_file
client.allow_rename =False^^^^^^^^^^^^^^^^^^^AttributeError: 'NoneType' object has no attribute 'allow_rename'
Hi @LucienPhilia thank you for the report! I think this is a duplicate of #21884. Over #21884 (comment) you can check a detailed explanation of what is happening, but basically to workaround this issue you need to install spyder-kernels over the Python environment that corresponds to the current selected Python interpreter in preferences. Also, you can check more info on how to work with custom interpreters/existing envs on the Spyder docs FAQ page: https://docs.spyder-ide.org/current/faq.html#using-spyder
Description
What steps will reproduce the problem?
Trying to run the example code for facebook/musicgen-stereo-medium on huggingface.co.uk in the repo folder
Traceback
Versions
Dependencies
Environment
Environment
The text was updated successfully, but these errors were encountered: