InvokeAI: [bug]: Unable to install on windows

Is there an existing issue for this?

  • I have searched the existing issues

OS

Windows

GPU

cuda

VRAM

8GB

What happened?

Running through the install.bat file and having it failed with the following AttributeError: module 'dns.rdtypes' has no attribute 'ANY'

Screenshots

WindowsTerminal_7y0TZRR1m2

Additional context

No response

Contact Details

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16

Most upvoted comments

First you have to remove the unwanted versions by deleting the folders dns and dnspython from invokeai\.venv\Lib\site-packages and only then install dnspython 2.2.1 by runing \invokeai\.venv\Scripts\pip.exe install dnspython==2.2.1 while in the same directory as your invokeai folder

I also encountered this issue, it appears that a new version of dnspython was just pushed a couple hours ago and broke it. Fixed it by running pip install dnspython==2.2.1.