随笔分类 -  Python

vscode 指定 anaconda创建的python虚拟环境
摘要:1 点击左下角的设置。 2 点击command palette。 3 搜索框输入 Python:Select Interpreter。 4 选择虚拟环境。 阅读全文

posted @ 2022-09-30 10:19 <未知> 阅读(178) 评论(0) 推荐(0)

pip 离线安装 gdal 更改为清华源
摘要:conda activate first 激活虚拟环境first。 python -V 查看python版本 。 https://www.lfd.uci.edu/~gohlke/pythonlibs/ 下载与python版本匹配的whl包 。 虚拟环境 pip install 待安装包的路径 (fi 阅读全文

posted @ 2022-09-27 15:12 <未知> 阅读(833) 评论(0) 推荐(0)

anaconda修改虚拟环境默认路径
摘要:打开 anaconda navigator File->Preferences->Configure Conda 在 Configure Conda中添加 虚拟环境 包 的目标路径: channels: - defaults envs_dirs: - D:\AppInstalled\anaconda 阅读全文

posted @ 2022-09-27 14:25 <未知> 阅读(265) 评论(0) 推荐(0)