Comments (5)
enumerator
is not referenced anywhere, only enumerators
. Are you sure you compiled this module in? I don't know the first thing about pyinstaller.
from screeninfo.
When you interpret in Python, basically enumerator.
is a String, so it is implied which enumerator will be imported, because Python looks in the folder where the enumerator is at runtime. When compiled for Pyinstaller, as enumerator.
is in a String, pyinstaller interprets as a string and does not compile the enumerators because it has no explicit import, meaning it does not find the enumerators.
from screeninfo.
I do not have the expertise to solve this issue. A pull request would be encouraged. IMO this is a problem with your configuration of pyinstaller rather than screeninfo:
https://stackoverflow.com/a/40609836
from screeninfo.
@ExtraMobs I reduced the magic that happens around enumerator imports. Let me know if it works for you.
from screeninfo.
Released as 0.5. In case there are any problems, let me know via new issues.
from screeninfo.
Related Issues (20)
- `is_primary` boolean for Monitor objects HOT 2
- conda package for screeninfo HOT 1
- get_monitors returns empty on osx when Enumerator not explicitly provided HOT 1
- WSL
- `y` for a secondary monitor has a different meaning in darwin vs other systems
- customdisplayprofiles current-path not work HOT 2
- Exception: Xinerama is not active HOT 3
- save width and height to a variable HOT 4
- Exception on Raspberry Pi 4 HOT 1
- Ubuntu 22.04: No enumerators available HOT 3
- No enumerations available: Ubuntu 22.04 on X11 HOT 1
- possible GDI Object leak on Windows HOT 3
- Problem with dearpygui
- Add screen diagonal line in inches as an attribute
- Get refresh rate HOT 2
- "No enumerators available" when running in SERVER
- Pull specific values from Monitor X
- Getting No Enumerators Available error when running on pygbag
- No monitor physical dimensions on MacOS HOT 3
- Installation error with conda and python 3.12
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 screeninfo.