質問編集履歴

2

エラーメッセージの箇所を修正

2022/01/17 07:01

投稿

yammer
yammer

スコア16

test CHANGED
File without changes
test CHANGED
@@ -8,7 +8,7 @@
8
8
  ### 発生している問題・エラーメッセージ
9
9
 
10
10
  ```
11
- $ which python3
11
+ (user@localhost ~)$ which python3
12
12
  /usr/local/bin/python3
13
13
  #変更したいパス
14
14
  #/root/python/bin/python3.9

1

実現したいことの内容を調整しました。

2022/01/17 07:00

投稿

yammer
yammer

スコア16

test CHANGED
File without changes
test CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
 
3
3
  ### 前提・実現したいこと
4
- python3コマンドの実行の際に、参照するパス変更したいと思っています。
4
+ CentOS7のユーザーでpython3コマンドの実行の際に、/root配下の仮想環境使用したいと考えています。
5
- コマンドの参照先を変更するやり方がわかりません。
5
+ 色々調べてみましたが、コマンドの参照先を変更するやり方がわかりませんでした
6
6
  どなたか教えていただけると幸いです。
7
7
 
8
8
  ### 発生している問題・エラーメッセージ
@@ -11,7 +11,7 @@
11
11
  $ which python3
12
12
  /usr/local/bin/python3
13
13
  #変更したいパス
14
- #/home/hoge/pyenv/bin/python3
14
+ #/root/python/bin/python3.9
15
15
 
16
16
  ```
17
17