久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在 sublime text 3 中使用 conda 環境

use conda environment in sublime text 3(在 sublime text 3 中使用 conda 環境)
本文介紹了在 sublime text 3 中使用 conda 環境的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

使用 Sublime Text 3,如何使用我在 http://conda.pydata.org/docs/using/envs.html

Using Sublime Text 3, how can I build a python file using a conda environment that I've created as in http://conda.pydata.org/docs/using/envs.html

推薦答案

注意:這將適用于使用 conda 以及 創建的虛擬環境>venvvirtualenv,您只需先激活它即可找到 python[3] 可執行文件的路徑.

NOTE: This will work for virtual environments created with conda as well as venv or virtualenv, you just need to activate it first to find the path to the python[3] executable.

一個標準的 Python .sublime-build文件如下所示:

A standard Python .sublime-build file looks like this:

{
    "cmd": ["/path/to/python", "-u", "$file"],
    "file_regex": "^[ ]*File "(...*?)", line ([0-9]*)",
    "selector": "source.python"
}

使用特定 conda 環境所需要做的就是修改環境中 pythonpython3 可執行文件的路徑.要找到它,請激活您的環境并輸入(取決于您使用的版本)

All you need to do to use a particular conda environment is modify the path to the python or python3 executable within the environment. To find it, activate your environment and type (depending on the version you're using)

which python

which python3

在 Linux/macOS 上,或

on Linux/macOS, or

where python

在 Windows 上,然后將路徑復制到您的自定義 .sublime-build 文件中.將文件保存在 Packages/User 目錄中,然后確保通過 Tools -> 選擇正確的文件.在構建之前構建系統.

on Windows, then copy the path into your custom .sublime-build file. Save the file in your Packages/User directory, then make sure you pick the right one via Tools -> Build System before building.

這篇關于在 sublime text 3 中使用 conda 環境的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Troubles while parsing with python very large xml file(使用 python 解析非常大的 xml 文件時出現問題)
Find all nodes by attribute in XML using Python 2(使用 Python 2 在 XML 中按屬性查找所有節點)
Python - How to parse xml response and store a elements value in a variable?(Python - 如何解析 xml 響應并將元素值存儲在變量中?)
How to get XML tag value in Python(如何在 Python 中獲取 XML 標記值)
How to correctly parse utf-8 xml with ElementTree?(如何使用 ElementTree 正確解析 utf-8 xml?)
Parse XML from URL into python object(將 XML 從 URL 解析為 python 對象)
主站蜘蛛池模板: 欧美日韩精品一区二区三区视频 | 一级黄色大片 | av手机免费在线观看 | 午夜在线免费观看 | 欧美一区二区三区久久精品 | 红桃视频一区二区三区免费 | 日韩电影免费在线观看中文字幕 | 久久久久久久久久一区二区 | 久久久综合网 | 成年无码av片在线 | 国产精品综合视频 | 国产日韩精品视频 | 一区二区国产在线 | 91精品国产色综合久久不卡98口 | 888久久久| 超碰av在线| 中文字幕在线观看一区二区 | 天天爽一爽 | 国产aa | 欧美在线亚洲 | 国产色在线 | 日韩一区中文字幕 | 最新免费黄色网址 | 亚洲精品一区二区 | 欧美激情久久久 | 国产成人综合亚洲欧美94在线 | 99热播精品 | 日韩视频―中文字幕 | 日韩av免费在线电影 | 久久一区二区三区四区 | 欧美日韩在线免费观看 | 婷婷丁香综合网 | 69精品久久久久久 | 国产精品久久久久无码av | 成人免费在线网 | 99久久精品国产一区二区三区 | 亚洲一区二区电影在线观看 | 日韩一区二区视频 | 亚洲成人av在线播放 | 中国一级毛片免费 | 日本不卡一区二区三区 |