Comments (11)
Can you point me to similar Qt issues that do not involve conda? I could try and see if these things work on my setup.
Yes, will do that later tonight :)
from mnelab-feedstock.
Thanks for the report, I will look into this
from mnelab-feedstock.
@cbrnr If if Cmd-Tab to another app and then Cmd-Tab back to MNELAB again, the menus work. Very odd…
from mnelab-feedstock.
So this seems to be a quite common problem.
Just leaving this here for reference:
napari/napari#380 (comment)
from mnelab-feedstock.
The strange thing is that it does work on the same machine without conda (i.e. Homebrew Python, mostly identical package versions). I've had issues with conda and Qt in the past, so this might be yet another problem. Another issue is that the entry at the top left isn't MNELAB, but python3.8 - pip installing pyobjc-framework-cocoa
doesn't help either (it seems like there aren't any conda-forge packages). I'm thinking if it is a good idea to have conda-forge instructions in the MNELAB installation instructions when we know it doesn't work on macOS...
from mnelab-feedstock.
@cbrnr I'll leave this up to you, of course :) I will keep investigating the issue and can offer to keep you posted!
from mnelab-feedstock.
@cbrnr State of my current research results is:
This seems to be an issue that many people report, even when just using Qt (i.e., it's not specific to PyQt) on macOS. Only way to reliably work around this is to create a .app
bundle. I'm surprised it's working for you with homebrew, though!
from mnelab-feedstock.
I never had problems with Qt on my Mac, including PyQt/PySide2. However, every time I try to use conda (especially in combination with Qt, but not exclusively) something doesn't work - that's why I stick with Homebrew Python, it just works much better in my experience. I can't find the issues I had off the top of my head, I'm not even sure I reported all of them (because I immediately switched back to Homebrew Python). Some of them had to do with Python not being a framework build in Anaconda, which Qt didn't like. Not sure if this is related or if it has been resolved so far.
Can you point me to similar Qt issues that do not involve conda? I could try and see if these things work on my setup.
from mnelab-feedstock.
@cbrnr If I run mnelab
through pythonw
(which is installed as part of the python.app
package), all works well. Currently trying to fix the mnelab
entry point on macOS in #11 and #12
As for starting MNELAB via python -m mnelab
, we could simply add a small workaround to MNELAB itself if that would be okay with you; I've done this before for PsychoPy. Idea is to figure out if the current Python interpreter is the type installed from Anaconda/Miniconda/conda-forge and running on macOS, and if yes, spawn a new process via pythonw
. I could file a PR upstream. Let me know what you think!
from mnelab-feedstock.
The entry point was fixed via #11, #12, and #13.
Invocation via python -m mnelab
will start working once cbrnr/mnelab#119 gets merged upstream.
from mnelab-feedstock.
cbrnr/mnelab#119 was merged so closing this.
from mnelab-feedstock.
Related Issues (8)
- @conda-forge-admin, please add bot automerge HOT 1
- Installing mnelab from conda-forge broke my base conda env. HOT 1
- Incorrect name in macOS menubar HOT 18
- 0.2.0 HOT 2
- Old noarch version and files in non-standard labels HOT 4
- Installation does not work HOT 2
- @conda-forge-admin, please add user @larsoner HOT 1
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 mnelab-feedstock.