0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【Atom】AtomでAnaconda Powershell Promptを使う

Last updated at Posted at 2022-04-19

環境

  • Microsoft Windows 10.0.22000.613(21H2)
  • Windows PowerShell 5.1.22000.613
  • conda 4.12.0
  • Atom 1.60.0

準備

  • Anaconda Powershell Prompt を右クリック →「プロパティ」→「ショートカット」のタブを開く →「リンク先」に書かれているものをコピーしておく。
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass -NoExit -Command "& 'C:\Users\name\.pyenv\pyenv-win\versions\Anaconda3\shell\condabin\conda-hook.ps1' ; c

「%windir%」を「C:\Windows」に変えないとエラーが出たが、環境によるかもしれない

  • PowerShell のパスをコピーしておく
C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe

手順

1. Platformio Ide Terminal をインストール

apm 経由でインストールする場合

terminal
apm install platformio-ide-terminal

検索する場合

Ctrl+, で Settings を開き、Install タブから platformio-ide-terminal を検索

2. 設定を開く

Packages タブから platformio-ide-terminal を検索し、設定を開く
image.png

3. コマンドを設定する

Auto Run Command に最初にコピーしたものを、Shell Override にもう一方を貼り付ける。
image.png
Settings を閉じる。

4. 確認

画面左下の + からターミナルを開く。
image.png
conda info と打って情報が確認できれば OK
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?