main
HuangHai 1 month ago
parent 7e60e6dc8e
commit 5225c6f04a

@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/RAG.iml" filepath="$PROJECT_DIR$/.idea/RAG.iml" />
</modules>
</component>
</project>

@ -0,0 +1,30 @@
# 添加Anaconda的TUNA镜像
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
# 设置搜索时显示通道地址
conda config --set show_channel_urls yes
# 创建虚拟环境
conda create -n rag python=3.10
# 查看当前存在哪些虚拟环境
conda env list
conda info -e
# 查看安装了哪些包
conda list
# 激活虚拟环境
activate rag
# .对虚拟环境中安装额外的包
conda install -n rag $package_name
# 删除虚拟环境
conda remove -n rag --all
# 删除环境钟的某个包
conda remove --name rag $package_name
# 恢复默认镜像
conda config --remove-key channels

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Loading…
Cancel
Save