python 配置技巧记录
guiddok
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
修改 jupyter notebook的默认文件夹位置
修改 jupyter notebook的默认文件夹位置step1 在Anaconda Prompt中生成配置文件jupyter notebook --generate-configstep 2 找到配置文件并打开常见位置:C:\Users\Administrator.jupyter\jupyter_notebook_config.py打开 jupyter_notebook_config.py 文件,找到以下配置项:修改前: #c.NotebookApp.notebook_dir = ‘’修原创 2021-06-03 12:27:26 · 231 阅读 · 0 评论 -
在Anaconda虚拟环境中使用jupyter notebook
在Anaconda虚拟环境中使用jupyter notebook问题描述:在jupyter notebook中使用创建的虚拟环境运行文件解决方法1、通过插件 nb_conda实现a. 在Anaconda Prompt(anaconda)中安装nb_conda(不是在虚拟环境中安装):conda install nb_condab. 安装成功以后,启动jupyter notebookjupyter notebook(1)创建新的ipynb文件时,可以在new处更改kernel(2)打开原创 2021-06-03 12:14:18 · 1531 阅读 · 0 评论 -
利用Anaconda 创建虚拟环境
利用Anaconda 创建虚拟环境Anaconda 创建虚拟环境方法1:直接在Anaconda Navigator创建方法2:通过Anaconda Prompt(anaconda)创建Anaconda 创建虚拟环境方法1:直接在Anaconda Navigator创建step1 打开Anaconda Navigator,切换到Environments;step2 点击下方的Create;step3 给想要创建的虚拟环境命名,选择python版本,最后点击Create就开始创建自己的虚拟环境。原创 2021-06-03 11:32:12 · 12814 阅读 · 7 评论 -
python 更改pip源(Windows)
python 更改pip源(Windows)直接在user目录中创建一个pip目录,如:C:\Users\xx\pip,新建文件pip.ini文件内容为:[global]index-url=http://mirrors.aliyun.com/pypi/simple/extra-index-url= https://pypi.tuna.tsinghua.edu.cn/simple/ http://pypi.mirrors.ustc.edu.cn/simple/ http://pypi.dou原创 2021-06-03 10:56:10 · 230 阅读 · 0 评论
分享