Comments (7)
I'm struggling to replicate this. I just did a clean install of flika in a new conda environment using conda version 4.5.11 on OSX, python=3.6.7. PySide shouldn't be required, I've never used it. qtpy should be able to work with the PyQt5 you have installed (my clean install shows PyQt5=5.11.3). It seems that for some reason your qtpy isn't detecting PyQt5, and is throwing the error that PySide can't be found.
from flika.
I had a similar problem. I've zero python experience so I'm not even sure what I'm doing but I followed the instructions by installing the latest version of anaconda from the link on the flika website, running the pip install flika command in my terminal and then trying to run flika and I get this same error
2019-07-17 14:28:08,078 - ERROR - Uncaught exception
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/qtpy/init.py", line 202, in
from PySide import version as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/anaconda3/bin/flika", line 6, in
from flika.flika import exec_
File "/anaconda3/lib/python3.7/site-packages/flika/init.py", line 4, in
from .flika import start_flika
File "/anaconda3/lib/python3.7/site-packages/flika/flika.py", line 12, in
from .app.application import FlikaApplication
File "/anaconda3/lib/python3.7/site-packages/flika/app/application.py", line 9, in
from qtpy import QtCore, QtWidgets, QtGui
File "/anaconda3/lib/python3.7/site-packages/qtpy/init.py", line 208, in
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
????????
from flika.
What operating system are you using?
Try installing PyQt5 from the terminal with the command:
pip install PyQt5
It should have automatically been installed with flika, but maybe for some reason it wasn't. Let me know if that works.
from flika.
I installed PyQt5 it and am still getting the error message.
Also my anaconda navigator application isn't launching (though it did launch after I first installed it). I read in python forums that this might be a problem with the qt bindings. (Again I'm very very new to python so I'm only guessing from what I've read up on that the qt bindings are important for launching GUIs).
I'm running OS X version 10.11.6. I'm planning on upgrading the OS since the latest release of MATLAB requires the new version.
Please let me know if any of this strikes you as relevant to the problem.
Just to update: the operating system was the issue. I updated to the latest OS X release (10.14.5) and Flika launches just fine. Thanks for your time!
from flika.
I'm not sure if it's relevant, I thought it might be a Linux thing, but I'm using OS X 10.14.4 and it works for me.
I'm suspecting it's a package versioning issue. Could you type the following command to see which version of qt, pyqt, and qtpy you are using in a terminal and paste the results here:
pip freeze | grep -i qt
You can try forcing them to be the same as the versions I'm using:
pip install --force-reinstall qtpy==1.8.0 PyQt5==5.13
Then launch a python terminal and run
>>> import qtpy
Does that give an error?
from flika.
This is what it it says for versions:
PyQt5-sip==4.19.18
pyqtgraph==0.10.0
pyrsistent==0.14.11
--
QtAwesome==0.5.7
qtconsole==4.4.3
QtPy==1.7.0
Again, once I upgraded my OS to 10.14, I'm able to launch FLIKA, so the above is a PyQt version that now works.
from flika.
Great, didn't see that the first time. Glad it works!
from flika.
Related Issues (20)
- Bug installing plugins on Mac HOT 1
- 'Plugins' and 'Scripts' Menu don't load in OSX HOT 3
- Kymograph update function fails on out of bounds HOT 1
- PolyLine selector fails on remove link HOT 1
- Permission error saving plugins HOT 3
- Pip installed Flika does not support drop events HOT 5
- issues with rect_line HOT 3
- tests fail with new tifffile HOT 1
- BaseProcess preview and Window switch
- Add a 'subtract black level' feature to the ratio by baseline.
- Error exporting to external hard drive
- Silent plugin errors
- viewing n-dimensional array HOT 1
- Kymograph of a rectangle ROI HOT 2
- Cannot open flika on macOS Catalina HOT 4
- Plugin Manager HOT 2
- Butterworth filter HOT 4
- ImportError: DLL load failed while importing _rolling_ball_cy: The specified module could not be found. HOT 4
- Error when starting FLIKA - Assertion Error HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flika.