Expand all environment variables for Python Executable setting
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 48/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- javascript, python
研究方向
先閱讀 lib/utils.js 中所參照的區段,尤其是第 24-60 行和第 71-76 行,以追蹤 Python Executable 設定如何用來啟動 Python 和 pyls。完成的標準是:在直譯器檢查、錯誤回報和語言伺服器啟動使用該路徑之前,先展開 $HOME 和 ~ 等環境變數。
由索引模型根據 Issue 內容生成。
描述
Feature Request
Description
I really don't want to install pyls to my global pip. I'd like to be able to set the python executable to $HOME/dotfiles/atom/venv/bin/python (or, even better, ~/dotfiles/atom/venv/bin/python). When I use $HOME, currently I get three errors:
ide-pythoncould not launch your Python runtime. No Python interpreter found at$HOME/dotfiles/atom/venv/bin/python. If you have Python installed please set "Python Executable" setting correctly. If you do not please install Python.- pyls language server for Python unable to start Error: spawn $HOME/dotfiles/atom/venv/bin/python ENOENT
- Unable to start the Python language server. Make sure to install pyls 0.19 or newer by running:
$HOME/dotfiles/atom/venv/bin/python -m pip install 'python-language-server[all]'
Related Code
Related Issues
#203, https://github.com/lgeiger/ide-python/issues/182#issuecomment-595830215
- 主要語言
- JavaScript
- 星號
- 238
- 分支
- 41
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
atom-community/ide-python 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#575 · 5 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#570 · 2 則留言 · 1 個 reaction ·
-
難度 3/5 1-2 天 新手友好度 25/100
atom-community/ide-python#568 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#567 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 25/100
atom-community/ide-python#566 ·
查看 atom-community/ide-python 的全部 Issue
相似的 Issue
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 86/100
amponce/archive-movie-browser#354 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
saayam-for-all/webapp#1870 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
Imageomics/OpenCite#66 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 64/100
chr15m/twiiit.com#20 ·
-
documentation
難度 2/5 1-3 小時 新手友好度 88/100
antropos17/Aegis#629 ·
維護者通常 4 天內回覆