These are chat archives for spyder-ide/public
I am using anaconda
Suddenly this error started
An error ocurred while starting the kernel
Traceback (most recent call last):
File "C:\Users\Ali Abbas\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
File "C:\Users\Ali Abbas\Anaconda3\lib\runpy.py", line 85, in _run_code
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\spyder_kernels\console__main.py", line 3, in
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 270, in main
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 30, in import_spydercustomize
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 12, in
File "C:\Users\Ali Abbas\Anaconda3\lib\bdb.py", line 6, in
from inspect import CO_GENERATOR
File "C:\Users\Ali Abbas\Anaconda3\lib\inspect.py", line 41, in
File "C:\Users\Ali Abbas\Anaconda3\lib\linecache.py", line 11, in
File "C:\Users\Ali Abbas\Anaconda3\lib\tokenize.py", line 35, in
from token import *
File "C:\Users\Ali Abbas\token.py", line 1, in
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\nltk\init__.py", line 115, in
from nltk.decorators import decorator, memoize
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\nltk\decorators.py", line 187, in
File "C:\Users\Ali Abbas\Anaconda3\lib\site‑packages\nltk\decorators.py", line 165, in decorator
AttributeError: module 'inspect' has no attribute 'isclass'
PyQt5==5.11.* does not include the QtWebKitWidgets, so Spyder will not launch.
Are you sure about this? As far as were aware, the split happened in Qt 5.12, which is why the PyQtWebEngine package is compatible only with it. Perhaps what may have happened is the exact same thing is when you upgraded to 5.10; something went wrong with
pipand it didn't install the new version properly so you got the error.
shouldn't it show my variable using in my program?
@Rondesgr Sorry for the delay in responding. Generally, yes, but not all variables are shown by default; you can customize the filters under the "Gear" options menu in the top right of the Variable Explorer pane. If no variables are shown, even simple strings and numerics, then please provide your Spyder,
spyder-kernels, Python, and OS versions and state how you installed Spyder (WinPython, Anaconda,
pip, distribution packages, etc).
Suddenly this error started
@aliabbas367_twitter This error appears to be related to bug in the NLTK library that you are using, nltk/nltk#856 . Try updating NLTK and Python to the latest version to fix it.
Hi, how can I update Sypder
@Hamiterol If you installed it via Anaconda/Miniconda, then run
conda update spyder, as it says in the update dialog; otherwise, if you installed it with
pip (advanced users only), then use
pip install -U spyder.
On the other hand, if someone knows pip and how dependencies are handled, problems can be resolved quite fast and easy.
Exactly, its just that unlike yourself, many users don't and thus come here asking for help, which not only is very difficult for us to provide (since they tend to be machine-environment specific), but also takes away from our limited time and resources to fix bugs and further develop Spyder itself.
The PyQtWebEngine package is about 40MB for cp36/win32, so it might be missing from the specific PyQt5 build which I used.
@jrast Seems quite possible. You can take a look at the source inside your
site-packages directory and see if that's the case.