Giter VIP home page Giter VIP logo

Comments (7)

fatalflawburns avatar fatalflawburns commented on June 12, 2024 2

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.

  1. Go to flare-wmi/python-cim/cim/cim.py in the github repo.
  2. Copy all the data from that page. (or download it)
  3. 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
  4. 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.

Kr3shnik avatar Kr3shnik commented on June 12, 2024 1

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.

fatalflawburns avatar fatalflawburns commented on June 12, 2024

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.

Gizmo44z avatar Gizmo44z commented on June 12, 2024

Confirmed that worked for me as well.

from flare-wmi.

williballenthin avatar williballenthin commented on June 12, 2024

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.

aszurnasirpal avatar aszurnasirpal commented on June 12, 2024

Hi,
@williballenthin any chance to get this library updated? Presented by @fatalflawburns workaround doesn't works on my system unfortunately.

from flare-wmi.

Kr3shnik avatar Kr3shnik commented on June 12, 2024

spoiler alert, its still not fixed

from flare-wmi.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.