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 5 years have passed since last update.

Cygwinでpython conda

Posted at

以下の記事を参考に設定しようとしたけどうまくイカなかったので調整。
https://qiita.com/iiou16/items/d4b6ddb03e06f527759b

機械学習やってる人はこういうのに慣れてない人も多いだろうなぁ。。。

NGパターンの設定とCygwinでの応答

cygwin64/home/ユーザ名/.bashrc
ANA_PATH=/cygdrive/c/Anaconda3
export PATH=\$ANA_PATH:\$ANA_PATH/Library/bin:\$ANA_PATH/Scripts:$PATH
$ conda
command not found

$ python
-bash: /cygdrive/c/Users/ユーザ名/AppData/Local/Microsoft/WidowsApps/python Permission denied

$ which python
no python in (省略)

OKパターンの設定

1行目:インストール位置を調整
2行目:バックスラッシュでのエスケープが不要

cygwin64/home/ユーザ名/.bashrc
ANA_PATH=/cygdrive/c/Users/ユーザ名/anaconda3
export PATH=$ANA_PATH:$ANA_PATH/Library/bin:$ANA_PATH/Scripts:$PATH
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?