Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

一、下载安装sublime text 4

下载地址为 :Sublime Text – Text Editing, Done Right Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)https://www.sublimetext.com/; 安装过程不在赘述。

二、下载安装Anaconda3

下载地址为:

Anaconda | The World’s Most Popular Data Science Platform Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)https://www.anaconda.com/;

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

三、配置环境

在Sublime Text 4中安装Anaconda插件并配置自己的环境

(实现代码自动补全,提示)

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)
{
    "python_interpreter":"d:\\anaconda3\\python.exe",     //实际安装路径
    "suppress_word_completions":true,
    "suppress_explicit_completions":true,
    "complete_parameters":true,
    "auto_formatting":true,
    "auto_formatting_timeout":3,
    "enable_signatures_tooltip":true,
    "merge_signatures_and_doc":true,
    "swallow_startup_errors":true,
    "anaconda_linting":false,
}

安装conda并配置环境

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)
// Default Windows settings for sublime-text-conda:
{
    // executable is the path to anaconda's python
    // this python executable is used in order to find conda
    "executable": "D:\\anaconda3\\python.exe",

    // Directory in which the conda envs are stored
    // Default location is the user's home directory
    "environment_directory": "D:\\anaconda3\\envs",

    // System architecture for Python installation
    // options: 32 or 64 bit
    "architecture": "64",

    // configuration is the path to conda's configuration file
    "configuration": "C:\\Users\\ChenGuang\\.condarc",

    // when true, the scripts will be run through the shell
    // If your code has a GUI (e.g. a matplotlib plot),
    // this needs to be true, otherwise Windows suppresses it.

    "run_through_shell": true,

    // when true, the script execution will be handed over to
    // the pythonw executable, instead of python
    "use_pythonw": false,

    // open repl in second row tab below current file,
    // closing any existing tabs in that area
    // assumes files are kept in group 0 (typical)
    "repl_open_row": false,

    // when opening a repl using repl_open_row, close any
    // existing conda repls in the second row first
    "repl_row_close_existing": false,

    // save the current file (if dirty) when opening repl
    "repl_save_dirty": true,

    // syntax highlighting for Open REPL command
    // choice between 'python' and 'plaintext'
    "repl_syntax": "python"
}

注:配置文件.condarc 是第一次运行conda config时,自动创建在用户目录下的隐藏文件

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

结束:

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

Original: https://blog.csdn.net/qq_35586327/article/details/121586386
Author: Chen_陈某人
Title: Sublime text 4 + Anaconda3 + conda配置Python开发环境(记录)

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/771278/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

  • python pygame鼠标点击_python学习之GUI(pygame鼠标)

    鼠标的位置和其他PyGame的程序一样使用坐标来表示。坐标的值经常使用x和y变量来表示。左上角的坐标值是0,0,x和y的值随着鼠标的向右和向下的移动而增加。 打印鼠标左键点击位置i…

    Python 2023年9月23日
    045
  • Optional 常用方法总结

    转载请注明出处: Optional 类是 JAVA 8 提供的判断程序是否为空提供的包装工具类;可以减少代码中的 是否为空的判断,以及减少 NullPointerException…

    Python 2023年10月20日
    037
  • 情话说不出?教你用Python做个表白程序,女神:饭在锅里,人在..

    红衣佳人白衣友, 朝与同歌暮同酒。 世人谓我恋长安, 其实只恋长安某。 在刷抖音的时候看到了很多表白视频 类似这样的: 虽然这只是为了博人一笑, 但还是让我想到了自己青涩的初恋~脸…

    Python 2023年9月23日
    030
  • 阿里面试题:Pandas中合并数据的5个函数,各有千秋!

    前几天,在一个群里面,看到一位朋友,说自己接到了阿里的面试,人家问了一些关于pandas的使用。其中一个问题是: pandas中合并数据的5中方法。 今天借着这个机会,就为大家盘点…

    Python 2023年8月20日
    069
  • 初学开发框架—-Django(1)创建django项目

    所有的操作都是在pycharm上实现的,没有用过的自行百度安装教程进行下载安装 创建pycharm虚拟开发环境(包括安装django第三方库) 创建新的pychrm项目,File-…

    Python 2023年8月5日
    053
  • python学习:反射的四种基本方法

    class Person(object): def __init__(self): pass def info(self): print(‘我是person类中的info方法’) …

    Python 2023年10月31日
    052
  • python 抓取视频并显示下载进度

    import os import requests from tqdm import tqdm VIDEO_PATH = r’videos’ def download(url,fn…

    Python 2023年6月10日
    078
  • python画散点图

    文章目录 前言 一、散点图函数 二、函数参数介绍 三、代码实例 总结 前言 最近在搞聚类算法,所以难免会用到一些散点图的用法,总结一下,方便以后参考。 一、散点图函数 首先调用一下…

    Python 2023年8月1日
    076
  • 从华为WeAutomate数字机器人论坛,看政企领域的“政务新智理”

    从华为WeAutomate数字机器人论坛,看政企领域的”政务新智理” 从政务治理到”政务新智理”,华为WeAutomate在政务领域…

    Python 2023年10月25日
    041
  • knn算法详解

    1.什么是knn算法 俗话说:物以类聚,人以群分。看一个人什么样,看他身边的朋友什么样就知道了(这里并没歧视谁,只是大概率是这样) 对于判断下图绿色的球是哪种数据类型的方法就是根据…

    Python 2023年10月22日
    043
  • matplotlib画图中文乱码

    中文乱码问题可能有下面几个问题,需要一一解决: 需要正确导入中文字体。 正确导入字体,但是matplotlib字体库里没有中文字体(最近版本的matplotlib默认不安装中文字体…

    Python 2023年9月3日
    055
  • Django–22实现用例和套件的异步执行以及计划任务

    一、实现用例和套件的异步执行思考1:任务的调用者与任务的执行者,是不是同一个进程???不是思考2:在Python Console里调用这个任务,会在多长时间返回???业务处理后才返…

    Python 2023年8月4日
    077
  • 服务器conda的配置和安装

    如果在自己的配置下安装可以直接去conda 的官网根据命令安装,生信方面的bioconda安装地址为:https://bioconda.github.io/user/install…

    Python 2023年9月8日
    061
  • 脚本之美│VBS 入门交互实战

    404. 抱歉,您访问的资源不存在。 可能是网址有误,或者对应的内容被删除,或者处于私有状态。 代码改变世界,联系邮箱 contact@cnblogs.com 园子的商业化努力-困…

    Python 2023年6月12日
    073
  • Scrapy框架(一)

    抵扣说明: 1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。 Original: https://blo…

    Python 2023年10月6日
    044
  • Java 8 Time API

    日期时间API 也是Java 8重要的更新之一,Java从一开始就缺少一致的日期和时间方法,Java 8 Date Time API是Java核心API的一个非常好的补充。 Jav…

    Python 2023年10月17日
    046
亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球