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
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
parse-community/parse-server#10699 · 1 条评论 ·
维护者通常 1 天内回复
-
area: dashboard bug perceived difficulty: 3
难度 2/5 1-3 小时 新手友好度 88/100
Nitjsefnie-Harness-Commons/daedalus#1179 ·
维护者通常 1 天内回复
-
Aframe enhancement javascript
难度 1/5 1 小时以内 新手友好度 92/100
webarkit/Aframe-nft#17 ·
-
spec-feedback
难度 2/5 1-3 小时 新手友好度 75/100