text-generation-webui启动报错alueError: Unknown scheme for proxy URL URL(‘socks://127.0.0.1:**/‘)

启动报错如下所示:

(base) runUser@**:~/soft/text-generation-webui-main$ ./start_linux.sh ╭───────────────────── Traceback (most recent call last) ──────────────────────╮ │ /home/runUser/soft/text-generation-webui-main/server.py:6 in <module> │ │ │ │ 5 │ │ ❱ 6 from modules import shared │ │ 7 from modules.block_requests import OpenMonkeyPatch, RequestBlocker │ │ │ │ /home/runUser/soft/text-generation-webui-main/modules/shared.py:12 in │ │ <module> │ │ │ │ 11 from modules.logging_colors import logger │ │ ❱ 12 from modules.presets import default_preset │ │ 13 │ │ │ │ /home/runUser/soft/text-generation-webui-main/modules/presets.py:8 in │ │ <module> │ │ │ │ 7 from modules import shared │ │ ❱ 8 from modules.loaders import loaders_samplers │ │ 9 from modules.logging_colors import logger │ │ │ │ /home/runUser/soft/text-generation-webui-main/modules/loaders.py:4 in │ │ <module> │ │ │ │ 3 │ │ ❱ 4 import gradio as gr │ │ 5 │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/gradio/__init__.py:3 in <module> │ │ │ │ 2 │ │ ❱ 3 import gradio._simple_templates │ │ 4 import gradio.image_utils │ │ │ │ ... 4 frames hidden ... │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/gradio/processing_utils.py:99 in <module> │ │ │ │ 98 │ │ ❱ 99 sync_client = httpx.Client(transport=sync_transport) │ │ 100 async_client = httpx.AsyncClient(transport=async_transport) │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/httpx/_client.py:686 in __init__ │ │ │ │ 685 allow_env_proxies = trust_env and transport is None │ │ ❱ 686 proxy_map = self._get_proxy_map(proxy, allow_env_proxies) │ │ 687 │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/httpx/_client.py:244 in _get_proxy_map │ │ │ │ 243 if allow_env_proxies: │ │ ❱ 244 return { │ │ 245 key: None if url is None else Proxy(url=url) │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/httpx/_client.py:245 in <dictcomp> │ │ │ │ 244 return { │ │ ❱ 245 key: None if url is None else Proxy(url=url) │ │ 246 for key, url in get_environment_proxies().items() │ │ │ │ /home/runUser/soft/text-generation-webui-main/installer_files/env/lib/python3 │ │ .11/site-packages/httpx/_config.py:214 in __init__ │ │ │ │ 213 if url.scheme not in ("http", "https", "socks5", "socks5h"): │ │ ❱ 214 raise ValueError(f"Unknown scheme for proxy URL {url!r}") │ │ 215 │ ╰──────────────────────────────────────────────────────────────────────────────╯ ValueError: Unknown scheme for proxy URL URL('socks://127.0.0.1:10808/')

使用env | grep -i proxy命令查看代理配置

(base) runUser@**:~/soft/text-generation-webui-main$ env | grep -i proxy no_proxy=localhost,127.0.0.0/8,::1 ftp_proxy=http://127.0.0.1:10808/ https_proxy=http://127.0.0.1:10808/ NO_PROXY=localhost,127.0.0.0/8,::1 FTP_PROXY=http://127.0.0.1:10808/ HTTPS_PROXY=http://127.0.0.1:10808/ HTTP_PROXY=http://127.0.0.1:10808/ http_proxy=http://127.0.0.1:10808/ ALL_PROXY=socks://127.0.0.1:10808/ all_proxy=socks://127.0.0.1:10808/

使用unset命令清空代理配置,我的经验,只需要清空ALL_PROXY、all_proxy即可

(base) runUser@**:~/soft/text-generation-webui-main$ unset ALL_PROXY (base) runUser@**:~/soft/text-generation-webui-main$ unset all_proxy (base) runUser@**:~/soft/text-generation-webui-main$ env | grep -i proxy no_proxy=localhost,127.0.0.0/8,::1 ftp_proxy=http://127.0.0.1:10808/ https_proxy=http://127.0.0.1:10808/ NO_PROXY=localhost,127.0.0.0/8,::1 FTP_PROXY=http://127.0.0.1:10808/ HTTPS_PROXY=http://127.0.0.1:10808/ HTTP_PROXY=http://127.0.0.1:10808/ http_proxy=http://127.0.0.1:10808/

启动就没有问题了

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/1126558.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

快速精通xsimd:3个实战技巧让C++性能飙升

快速精通xsimd&#xff1a;3个实战技巧让C性能飙升 【免费下载链接】xsimd C wrappers for SIMD intrinsics and parallelized, optimized mathematical functions (SSE, AVX, AVX512, NEON, SVE)) 项目地址: https://gitcode.com/gh_mirrors/xs/xsimd 在现代C高性能计算…

MODNet实战:高效实时人像抠图的完整解决方案

MODNet实战&#xff1a;高效实时人像抠图的完整解决方案 【免费下载链接】MODNet A Trimap-Free Portrait Matting Solution in Real Time [AAAI 2022] 项目地址: https://gitcode.com/gh_mirrors/mo/MODNet 在数字内容创作日益普及的今天&#xff0c;人像抠图技术已成为…

深度解析Gemmini:新一代智能硬件DNN加速平台实战指南

深度解析Gemmini&#xff1a;新一代智能硬件DNN加速平台实战指南 【免费下载链接】gemmini Berkeleys Spatial Array Generator 项目地址: https://gitcode.com/gh_mirrors/ge/gemmini 在人工智能硬件加速领域&#xff0c;Gemmini作为伯克利开发的DNN硬件平台&#xff0…

3步搞定AWS iOS SDK:新手也能快速上手的终极指南

3步搞定AWS iOS SDK&#xff1a;新手也能快速上手的终极指南 【免费下载链接】aws-sdk-ios 项目地址: https://gitcode.com/gh_mirrors/aw/aws-sdk-ios AWS SDK for iOS是亚马逊云服务提供的一款强大工具包&#xff0c;它让iOS开发者能够轻松地在应用中集成各种AWS云服…

3分钟搭建个人复古游戏博物馆:EmuOS网页模拟器完整指南

3分钟搭建个人复古游戏博物馆&#xff1a;EmuOS网页模拟器完整指南 【免费下载链接】emupedia.github.io The purpose of Emupedia is to serve as a nonprofit meta-resource, hub and community for those interested mainly in video game preservation which aims to digit…

智能AI水印去除工具:零基础也能轻松清除图片视频水印

智能AI水印去除工具&#xff1a;零基础也能轻松清除图片视频水印 【免费下载链接】WatermarkRemover-AI AI-Powered Watermark Remover using Florence-2 and LaMA Models: A Python application leveraging state-of-the-art deep learning models to effectively remove wate…

Requests底层依赖实战指南:如何快速定位证书验证失败与连接池问题

Requests底层依赖实战指南&#xff1a;如何快速定位证书验证失败与连接池问题 【免费下载链接】requests 项目地址: https://gitcode.com/gh_mirrors/req/requests 当你的Python脚本突然抛出SSLError: [SSL: CERTIFICATE_VERIFY_FAILED]或ConnectionPoolTimeout时&…

Bilidown:B站视频一键下载神器,高清离线随心看

Bilidown&#xff1a;B站视频一键下载神器&#xff0c;高清离线随心看 【免费下载链接】bilidown 哔哩哔哩视频解析下载工具&#xff0c;支持 8K 视频、Hi-Res 音频、杜比视界下载、批量解析&#xff0c;可扫码登录&#xff0c;常驻托盘。 项目地址: https://gitcode.com/gh_…

显存占用过高怎么办?MGeo镜像轻量化改造方案分享

显存占用过高怎么办&#xff1f;MGeo镜像轻量化改造方案分享 背景与痛点&#xff1a;高显存消耗制约模型落地 在实体对齐任务中&#xff0c;地址相似度匹配是关键环节&#xff0c;尤其在中文地址场景下&#xff0c;由于命名不规范、缩写多样、结构复杂等问题&#xff0c;传统规…

如何将MacBook刘海区域改造成智能音乐控制中心

如何将MacBook刘海区域改造成智能音乐控制中心 【免费下载链接】boring.notch TheBoringNotch: Not so boring notch That Rocks &#x1f3b8;&#x1f3b6; 项目地址: https://gitcode.com/gh_mirrors/bor/boring.notch 厌倦了MacBook屏幕上那个单调的刘海区域吗&…

Lucky反向代理技术方案:解决多服务统一访问架构难题

Lucky反向代理技术方案&#xff1a;解决多服务统一访问架构难题 【免费下载链接】lucky 软硬路由公网神器,ipv6/ipv4 端口转发,反向代理,DDNS,WOL,ipv4 stun内网穿透,cron,acme,阿里云盘,ftp,webdav,filebrowser 项目地址: https://gitcode.com/GitHub_Trending/luc/lucky …

如何快速部署驭龙HIDS:面向新手的完整安全防护指南

如何快速部署驭龙HIDS&#xff1a;面向新手的完整安全防护指南 【免费下载链接】yulong-hids-archived [archived] 一款实验性质的主机入侵检测系统 项目地址: https://gitcode.com/gh_mirrors/yu/yulong-hids-archived 随着网络安全威胁日益复杂&#xff0c;企业需要更…

基于Java+SpringBoot+Vue的课外活动管理系统【附源码+文档+部署视频+讲解)Python,Django,php,Flask,node.js,SSM,JSP,微信小程序,大数据技术,安卓

博主介绍 &#x1f468; 程序员一枚&#xff0c;全网粉丝 30W&#xff0c;累计助力 5000 学子完成优秀毕设&#xff0c;专注大学生项目实战开发、技术讲解与毕业论文撰写修改&#xff0c;全栈领域优质创作者&#xff01;博客之星、掘金 / 华为云 / 阿里云 / InfoQ 等多平台优质…

企业分支机构治理:MGeo识别虚设办公地点

企业分支机构治理&#xff1a;MGeo识别虚设办公地点 在现代企业扩张过程中&#xff0c;分支机构的设立与管理成为组织运营的重要组成部分。然而&#xff0c;随着企业规模扩大&#xff0c;虚设办公地点、重复注册、地址信息伪造等问题逐渐浮现&#xff0c;给合规审查、税务监管和…

还在warning粘贴代码?MGeo提供安全可控的部署环境

还在warning粘贴代码&#xff1f;MGeo提供安全可控的部署环境 背景与痛点&#xff1a;地址相似度识别为何需要专用部署方案&#xff1f; 在地理信息处理、城市计算和本地生活服务等场景中&#xff0c;地址数据的标准化与实体对齐是数据清洗的关键环节。现实中&#xff0c;同一…

Obsidian Web Clipper终极指南:如何快速建立个人知识收集系统

Obsidian Web Clipper终极指南&#xff1a;如何快速建立个人知识收集系统 【免费下载链接】obsidian-clipper Highlight and capture the web in your favorite browser. The official Web Clipper extension for Obsidian. 项目地址: https://gitcode.com/gh_mirrors/obsidi…

InvenSense IMU传感器Arduino开发终极指南:3步快速上手MPU-9250

InvenSense IMU传感器Arduino开发终极指南&#xff1a;3步快速上手MPU-9250 【免费下载链接】invensense-imu Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs. 项目地址: https://gitcode.com/gh_mirrors…

Windows微信自动化终极指南:5大核心功能快速上手

Windows微信自动化终极指南&#xff1a;5大核心功能快速上手 【免费下载链接】pywechat pywechat是一个基于pywinauto实现的windows桌面微信自动化操作工具&#xff0c;基本实现了PC微信内置的各项操作 项目地址: https://gitcode.com/gh_mirrors/py/pywechat 在数字化办…

PyG链接预测负采样终极指南:高效技巧与实战策略

PyG链接预测负采样终极指南&#xff1a;高效技巧与实战策略 【免费下载链接】pytorch_geometric Graph Neural Network Library for PyTorch 项目地址: https://gitcode.com/GitHub_Trending/py/pytorch_geometric 掌握PyTorch Geometric中的负采样技术&#xff0c;是构…

基于Java+SpringBoot+Vue的选课系统系统【附源码+数据库+文档+讲解视频】Python,Django,php,Flask,node.js,SSM,JSP,微信小程序,大数据技术,安卓

博主介绍 &#x1f468; 程序员一枚&#xff0c;全网粉丝 30W&#xff0c;累计助力 5000 学子完成优秀毕设&#xff0c;专注大学生项目实战开发、技术讲解与毕业论文撰写修改&#xff0c;全栈领域优质创作者&#xff01;博客之星、掘金 / 华为云 / 阿里云 / InfoQ 等多平台优质…