python:catalogue
差别
这里会显示出您选择的修订版和当前版本之间的差别。
| 两侧同时换到之前的修订记录前一修订版后一修订版 | 前一修订版 | ||
| python:catalogue [2024/04/19 15:24] – [4.1 Python for VSCode 停止维护] 争当好青年 | python:catalogue [2024/08/09 08:27] (当前版本) – 争当好青年 | ||
|---|---|---|---|
| 行 6: | 行 6: | ||
| [[https:// | [[https:// | ||
| + | |||
| + | pip install 库名 -i 换源地址 | ||
| + | |||
| + | 例如:pip install SomePackage -i https:// | ||
| + | |||
| + | 常用换源安装地址: | ||
| + | |||
| + | 豆瓣(douban): | ||
| + | |||
| + | 阿里:http:// | ||
| + | |||
| + | 中国科学技术大学:http:// | ||
| + | |||
| + | 中国科技大学:https:// | ||
| + | |||
| + | 清华大学:https:// | ||
| ===== -# PC配置环境变量 | ===== -# PC配置环境变量 | ||
| 行 29: | 行 45: | ||
| ==== - pipenv ==== | ==== - pipenv ==== | ||
| - | [[https:// | + | ==== - conda ==== |
| - | {{: | + | === 报错 === |
| - | Pipenv的主要目的是为应用程序的用户和开发人员提供一种简单的方法来设置工作环境。 | + | <WRAP center round important 60%> |
| + | CondaError: Run 'conda init' before 'conda activate' | ||
| + | </ | ||
| - | [[https:// | + | <WRAP center round tip 60%> |
| - | + | Anaconda Prompt工具可以直接打开默认base环境,1.deactivate 2.切换盘符 不要使用cd命令 切换盘符 3.使用cd 绝对路径进入项目文件 | |
| - | [[https:// | + | </WRAP> |
| - | + | ||
| - | === - 安装 === | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | {{: | + | |
| - | + | ||
| - | === - 更新 === | + | |
| - | + | ||
| - | pip install --user --upgrade pipenv | + | |
| ===== -# 安装 PhatomJS | ===== -# 安装 PhatomJS | ||
| 行 76: | 行 84: | ||
| {{: | {{: | ||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | 当前没有为python解释器选择虚拟环境。是否要创建虚拟环境? | ||
| + | </ | ||
| + | |||
| [[https:// | [[https:// | ||
| + | |||
| + | ==== - intelliCode 报错 ==== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | <WRAP center round important 60%> | ||
| + | Sorry, something went wrong activating IntelliCode support for Python. Please check the " | ||
| + | </ | ||
| + | |||
| + | |||
| ===== -# 宝塔 ===== | ===== -# 宝塔 ===== | ||
| 行 85: | 行 108: | ||
| {{ : | {{ : | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
python/catalogue.1713511493.txt.gz · 最后更改: 2024/04/19 15:24 (外部编辑)
