These are chat archives for spyder-ide/public
conda update spyderin your Spyder environment (e.g. from the Anaconda prompt on Windows, or the Terminal/command line on macOS/Linux).
Check for updatescommand in the Help menu, or just by running
conda update spyder, and Spyder should let you know on startup if it isn't.
PermissionError(13, Access Denied)
Conda really should give you a friendlier message here, but all that's likely happening is you're attempting to update something that was installed in an admin/all users conda install, in a non-admin Anaconda prompt. Run the Anaconda prompt as Administrator and try again.
Sorry, I'm confused. What does IDLE have anything to do with the situation? I thought you were talking about updating Spyder?
condadoesn't have permission to update Spyder, likely for the reason I specified above (and if not, some other permissions-related issue with your OS that Spyder, and likely even Anaconda, have no direct control over.
I try it later. thanks anyway. might be OS related issue... I will try it later, after a fresh restar. by now..
I have told you very specifically what the problem is. Trying later won't help. You need to run the Anaconda prompt as administrator to give permission to update the required files (presumably its trying to update
conda, which can only be modified by an admin if it was installed that way).
pip install spyder. I know this is not the recommeded way, but all our devs use WinPython and not Anaconda, so this is the way we work.
PyQtWebEnginepackage to fix that error. According to our discussion above, I believe @stonebig has fixed this in the next version of WinPython by including this package, so it should work then, or you could try to install it yourself. There may be other unresolved issues, though; he was experiancing a mysterious ones with the icons not working.
PyQtWebEnginenot a dependency of Spyder? Is the problem that Spyder does no know which
PyQt5version is installed?
pip install "PyQt5>=5.12" PyQtWebEngine spyder
import os; os.<tab>--> Works (tested this because this pops up quite often in the issues)
Is this save to do?
I'm not 100% sure since I haven't tested it, but it should be safe since it should only import the package if it needs it.
pip install "PyQt5==5.11.*" PyQtWebEngine spyder--> Got a warning:
pyqtwebengine 5.12 has requirement PyQt5>=5.12, but you'll have pyqt5 5.11.3 which is incompatible.
Got a warning
The problem is that you can't specify if-then dependencies with Setup(), but if it works, then it should be okay...
import numpy as np; np.diff(in the IPython Console. The help view correctly displayed the docs for
np.diff, rendered as expected.
PyQtWebEngineare not compatible. If I scroll the help view up and down spyder crashes. This is not allways triggered immediately, but after some scrolling the application crashes, sadly without any console output (I started spyder by running
pip install "PyQt5==5.10.*" PyQtWebEngine spyder--> Got the same warning as above:
pyqtwebengine 5.12 has requirement PyQt5>=5.12, but you'll have pyqt5 5.10.1 which is incompatible.
np.diff(--> Works, Scrolling does not crash Spyder
PyQtWebEngineis not a good combination... Maybe just exclude
PyQt5==5.11.*from the allowed
PyQt5versions? I think
PyQtWebEngineare compatible, probably as long as the imports are made from the correct package.
pyqtwebengineinstalled, and also does not occur with 5.11 and it not installed, to confirm the problem is linked to
pyqtwebengine? I've experienced a problem myself with Qt 5.9 that involves Spyder crashing if I scrolled fast and held
Ctrlto zoom in and out. It was also very intermittent, in that sometimes it was triggered right away, while sometimes it took a while to occur.
"ModuleNotFoundError("No module named 'pandas.core.internals.managers'; 'pandas.core.internals' is not a package")?
spyder-kernels, as well as code that will generate the simplest possible example of a dataframe that will reproduce this on your end. Does this happen on all dataframes, or only certain ones.
test_df = pd.DataFrame([1, 2, 3])will trigger it?
just noticing >
Look like libQt5QuickShapes.so.5 is missing in PyQt 5.12. Workaround is to add it manually from vanilla Qt.
I've uploaded updated PyQt5 wheels to PyPI.
conda create -n py27-env python=2 conda activate py27-env conda install spyder-kernels other-package-names-here