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
solve me this problem while running the codes in console
Traceback
Exception in comms call get_namespace_view:
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 343, in _handle_remote_call
return_value =self._remote_callback(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\frontendcomm.py", line 273, in _remote_callbackreturnsuper(FrontendComm, self)._remote_callback(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 356, in _remote_callbackreturnself._remote_call_handlers[call_name](
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\console\kernel.py", line 187, in get_namespace_view
view = make_remote_view(ns, settings, EXCLUDED_NAMES)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 703, in make_remote_view
data = get_remote_data(data, settings, mode='editable',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 686, in get_remote_datareturn globalsfilter(
^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 619, in globalsfilter
(exclude_private and _is_string(key) and key.startswith('_')) or^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py", line 107, in is_type_text_stringNameError: name 'PY2' is not defined
Exception in comms call get_var_properties:
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 343, in _handle_remote_call
return_value =self._remote_callback(
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\frontendcomm.py", line 273, in _remote_callbackreturnsuper(FrontendComm, self)._remote_callback(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\comms\commbase.py", line 356, in _remote_callbackreturnself._remote_call_handlers[call_name](
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\console\kernel.py", line 200, in get_var_properties
data = get_remote_data(ns, settings, mode='editable',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 686, in get_remote_datareturn globalsfilter(
^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\utils\nsview.py", line 619, in globalsfilter
(exclude_private and _is_string(key) and key.startswith('_')) or^^^^^^^^^^^^^^^
File "C:\Users\ThinkPad\anaconda3\Lib\site-packages\spyder_kernels\py3compat.py", line 107, in is_type_text_stringNameError: name 'PY2' is not defined
Hey @zaidhardan, thanks for reporting. It seems your Anaconda installation is corrupted, so my recommendation would be to uninstall it and reinstall it again.
Description
What steps will reproduce the problem?
solve me this problem while running the codes in console
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: