Comments (17)
首先,卸载掉高版本的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.
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.
Win: Run cmd and put this line:
pip install python-socketio[client]==5.7.2
Just it!
from sd_civitai_extension.
Checking Civitai Link requirements...
[!] python-socketio[client] version 5.7.2 NOT installed.
from sd_civitai_extension.
same with you
from sd_civitai_extension.
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.
pip install python-socketio[client]==5.7.2
I have the same problem have you solved yours
from sd_civitai_extension.
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.
- pip uninstall python-socketio
- pip install python-socketio[client]==5.7.2
from sd_civitai_extension.
pip install "python-socketio[client]"
from sd_civitai_extension.
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.
After hours of searching I'm going to bed, I hope to see more clearly tomorrow:(
from sd_civitai_extension.
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.
from sd_civitai_extension.
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.
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.
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
frompython-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 thepython-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.
Done, re-installing to 5.7.2 and restarting did the trick -xformers are loading and version check passed
from sd_civitai_extension.
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
frompython-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 thepython-socketion[client]
module to this exact version.
this removed the error for me
from sd_civitai_extension.
Related Issues (20)
- Not loading LyCORIS resources at "Post images" page HOT 1
- Feature request: include refiners information in metadata
- Improper Filename Sanitation Prevents LoRA Detection HOT 1
- 100% HDD usage, brings system to a crawl
- [Feature Request] add a button to reconnect to civitai. HOT 5
- Terra
- Loras don't reload or download preview images and info after downloading them via CivitAI Link
- does this repo is closed? installed on sd ui,but there is no tab。 HOT 1
- Images of Lora no longer show Civitai extension HOT 1
- Uuu
- Fails to download preview when the first "sample image" is animated (mp4/webm) HOT 2
- Incomplete Dependencies in requirements.txt
- Dream HOT 1
- Restrictive Dependencies causing runtime issues.
- No tab in settings menu SD.Next HOT 3
- The extension can't successfully connect to the website
- Error When Downloading HOT 1
- Preview image and info files are overwritten when a duplicate file is uploaded to civitai.com
- What if ComfyUI?
- If a download fails, it remains in 'Installed!' for a very long time without the ability to do anything about it HOT 1
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 sd_civitai_extension.