Code Monkey home page Code Monkey logo

Comments (17)

Recle avatar Recle commented on June 3, 2024 13

首先,卸载掉高版本的python-socketio,在stable-diffusion-webui\【你的项目】\Scripts下,访问CMD,输入pip list查看是否有高版本的python-socketio

如果有,则输入pip uninstall python-socketio卸载。
卸载后,或者此前并没有python-socketio,输入pip install python-socketio[client]==5.7.2用来安装5.7.2这个特定版本

from sd_civitai_extension.

mw88-personal avatar mw88-personal commented on June 3, 2024 12

Just to clarify: I got the civitai extension working by changing the file <my base directory>\stable-diffusion-webui\extensions\sd_civitai_extension\requirements.txt
from

python-socketio[client]==5.7.2

to

python-socketio[client]>=5.7.2

locally (Notice >= instead of ==!). I have not experienced any bugs with the newer version, so I am staying on the version I am right now. This issues was raised as a feature request to incorporate my local change into future development for this extension, as I see no benefit in locking down the python-socketion[client] module to this exact version.

from sd_civitai_extension.

mdsavio avatar mdsavio commented on June 3, 2024 6

Win: Run cmd and put this line:
pip install python-socketio[client]==5.7.2

Just it!

from sd_civitai_extension.

DarksealStudios avatar DarksealStudios commented on June 3, 2024 2

Checking Civitai Link requirements...
[!] python-socketio[client] version 5.7.2 NOT installed.

from sd_civitai_extension.

YuFengDing avatar YuFengDing commented on June 3, 2024 1

same with you

from sd_civitai_extension.

bruce-yan avatar bruce-yan commented on June 3, 2024 1

I encountered the same problem, my machine has a python environment of 3.10.8. And installed python-socketio[client]==5.7.2.

##############################################################################################

Initializing Civitai Link

If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]

Civitai Link revision: d0e83e7

SD-WebUI revision: 22bcc7be428c94e9408f589966c2040187245d81

Checking Civitai Link requirements...

[!] python-socketio[client] version 5.7.2 NOT installed.

##############################################################################################

from sd_civitai_extension.

JimWatL avatar JimWatL commented on June 3, 2024 1

pip install python-socketio[client]==5.7.2

I have the same problem have you solved yours

from sd_civitai_extension.

sadikh94 avatar sadikh94 commented on June 3, 2024 1

It's likely that you have the latest version 5.8 installed. However, the plugin requires version 5.7.2. Uninstall it completely first and then install the required version. Works for me.

  1. pip uninstall python-socketio
  2. pip install python-socketio[client]==5.7.2

from sd_civitai_extension.

sumic avatar sumic commented on June 3, 2024

pip install "python-socketio[client]"

from sd_civitai_extension.

toniedeng avatar toniedeng commented on June 3, 2024

first download: pip.py from web
second input: python get-pip.py
third input: pip install "python-socketio[client]"
good lucky, ok!

from sd_civitai_extension.

JimWatL avatar JimWatL commented on June 3, 2024

After hours of searching I'm going to bed, I hope to see more clearly tomorrow:(

from sd_civitai_extension.

JimWatL avatar JimWatL commented on June 3, 2024

thx but I already did it and again. uninstalled reinstalled, I still have the same error message. the civitai logo is displayed but no window or interaction possible and still the same error socketio 5.7.2 not installed.
socketio not installed

from sd_civitai_extension.

DarksealStudios avatar DarksealStudios commented on June 3, 2024

I added the requirements, and even though it got the extension working it would still say not installed. It wasn't until I ran cmd in the root folder of automatic1111 and entered : pip install python-socketio==5.7.2 that it started working. Thanks everyone.... it's the wrong version of the extension, i needed the other one, lol! This one does't download images, it's the other one. Anyway, thank you for teaching me, [client] needed to be replaced with the version number. Slow, but learning.

from sd_civitai_extension.

JimWatL avatar JimWatL commented on June 3, 2024

pip install python-socketio[client]==5.7.2

Can you explain us how you arrived there please I tried to put the zip and even the folder,
here C:\Users\xxxxx\Documents\A1111 Web UI Autoinstaller
and here C:\Users\jimmy\Documents\A1111 Web UI Autoinstaller\stable-diffusion-webui, t
hen to launch CMD since these same folder and made the installation but that always does not function :(

from sd_civitai_extension.

hughlv avatar hughlv commented on June 3, 2024

Just to clarify: I got the civitai extension working by changing the file <my base directory>\stable-diffusion-webui\extensions\sd_civitai_extension\requirements.txt from

python-socketio[client]==5.7.2

to

python-socketio[client]>=5.7.2

locally (Notice >= instead of ==!). I have not experienced any bugs with the newer version, so I am staying on the version I am right now. This issues was raised as a feature request to incorporate my local change into future development for this extension, as I see no benefit in locking down the python-socketion[client] module to this exact version.

Thanks and this did eliminate the python-socketio[client] missing error, however, the following exception still exists:

Error executing callback app_started_callback for D:\ts\stable-diffusion-webui\extensions\sd_civitai_extension\scripts\link.py
Traceback (most recent call last):
  File "D:\ts\stable-diffusion-webui\modules\script_callbacks.py", line 108, in app_started_callback
    c.callback(demo, app)
  File "D:\ts\stable-diffusion-webui\extensions\sd_civitai_extension\scripts\link.py", line 13, in connect_to_civitai
    link.socketio_connect()
  File "D:\ts\stable-diffusion-webui\extensions\sd_civitai_extension\civitai\link.py", line 201, in socketio_connect
    sio.connect(socketio_url, socketio_path='/api/socketio')
  File "D:\ts\stable-diffusion-webui\venv\lib\site-packages\socketio\client.py", line 347, in connect
    raise exceptions.ConnectionError(
socketio.exceptions.ConnectionError: One or more namespaces failed to connect

After restarting .\webui.bat , I still did not see the Civitai tab. Any ideas to fix this issue?

from sd_civitai_extension.

freyandere avatar freyandere commented on June 3, 2024

Done, re-installing to 5.7.2 and restarting did the trick -xformers are loading and version check passed
image

from sd_civitai_extension.

MIDG3Tp3nguin avatar MIDG3Tp3nguin commented on June 3, 2024

Just to clarify: I got the civitai extension working by changing the file <my base directory>\stable-diffusion-webui\extensions\sd_civitai_extension\requirements.txt from

python-socketio[client]==5.7.2

to

python-socketio[client]>=5.7.2

locally (Notice >= instead of ==!). I have not experienced any bugs with the newer version, so I am staying on the version I am right now. This issues was raised as a feature request to incorporate my local change into future development for this extension, as I see no benefit in locking down the python-socketion[client] module to this exact version.

this removed the error for me

from sd_civitai_extension.

Related Issues (20)

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.