Comments (7)
Okay, I figured it out I think.
@dummys If you did what I did, I installed python-cim from the pip repo. That version is out of date and is missing the functions that you need. To fix that it is really easy.
- Go to flare-wmi/python-cim/cim/cim.py in the github repo.
- Copy all the data from that page. (or download it)
- Open what ever local file explorer you use and go to the installed location.
- pip show cim (This will tell you where pip put the package)
- Default path for 3.7 on windows should be C:\users"Your Username"\appdata\local\programs\python\python37\lib\site-packages\cim\cim.py
- open up cim.py with your favorite text/code editor.
5)Paste all the data from step one into the file and save. (or if you downloaded it replace the original with the download)
This should work. Or at least i am running it now with out errors. This is my best suggestion.
from flare-wmi.
cp flare-wmi/python-cim/cim/*.py ./env/lib/python3.8/site-packages/cim/
this command fixed it for me,
beaware it might not work for everybody since its a pretty scuffed fix
im using ubuntu-focal running on vagrant and the whole thing is on a python venv
from flare-wmi.
I am having this issue as well. If this error is a result of my personal python set up please let me know.
Os: Win 10
Python: 3.7
from flare-wmi.
Confirmed that worked for me as well.
from flare-wmi.
sounds like i need to update the library in pypi (python-registry, too). i'll try to do this in the next few days.
thanks @fatalflawburns for documenting the fix here!
from flare-wmi.
Hi,
@williballenthin any chance to get this library updated? Presented by @fatalflawburns workaround doesn't works on my system unfortunately.
from flare-wmi.
spoiler alert, its still not fixed
from flare-wmi.
Related Issues (14)
- Compile Error - Win 8.1 HOT 3
- Issues decoding unicode values in metadata HOT 6
- run time error on kali with python 3.5 HOT 3
- JSON output option
- Index mapping entry count off by several hundred in some cases
- Various python-cim examples out of date
- Parser Issue. HOT 7
- [Question] Support for other versions other than xp/win7 ? HOT 10
- Add license file HOT 1
- MissingMappingFileError HOT 4
- Unable to run ui.py - PyQt5.QtGui error HOT 4
- Improve CimType enum definitions based on MSDN documentation HOT 3
- CIM key segment separator seems to be \ not /
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 flare-wmi.