Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.12 missing imp module #600

Open
mnowok opened this issue Feb 10, 2024 · 4 comments
Open

Python 3.12 missing imp module #600

mnowok opened this issue Feb 10, 2024 · 4 comments

Comments

@mnowok
Copy link

mnowok commented Feb 10, 2024

Latest version of HA 2024.02 introduced python 3.12 thus roborock integration cannot start. HA shows clearly:

Unable to import component: No module named 'imp'

Can't see newer version of roborock on hacs. Using latest one.

@hidrissi-hass
Copy link

I created an issue on the python-roborock project :
ModuleNotFoundError: No module named 'imp'

@hidrissi-hass
Copy link

You can edit the file : custom_components/roborock/manifest.json and add the latest construct version to "requirements" to force it also for python-roborock and restart HA . you should have something like that

"requirements": [
    "python-roborock==0.36.0",
    "ical==6.1.0",
    "dacite==1.8.0",
    "construct==2.10.70"
  ],

@mrlordziemniak
Copy link

Hi, I have edited file and still there is error

@Frankymuc
Copy link

hi, i have also problem since update HA 2024.xxx Roborock i mus deaktivate , if i not this doing HA restarts again and again. screenshort with erro message for your information.

It was pure coincidence, I wanted to set everything up again because a larger Linux system update was running almost at the same time, which also had something from Python and it happened exactly after restarting my PC and starting HA. Somehow strange
Sorry if my English is not fine, but I also used the google translator
Screenshot_20240511_171756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants