type
Post
status
Published
date
Sep 11, 2025
slug
20250911141705
summary
tags
工具
Python
开发
category
技术分享
icon
password
背景说明
因为需要使用本机端口访问本机程序,实现一个在浏览器的UI,因此在使用监听端口时,无法识别目前正在转发的端口sock,需要将其改为sock5或者去除,如果更改后显示缺少解析包,请按照提示pip install 即可。
代码
conda activate 激活环境后,运行,本质在于在Conda环境中建立两个文件夹
activated.d 和 deactivated.d 给了两个shell文件,让其在环境被激活和退出激活时执行代理的重置。
请注意设置完成重新启动终端。
- Author:Kecilimu
- URL:https://kecilimu-notion.vercel.app//article/20250911141705
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!



