質問するログイン新規登録

質問編集履歴

1

情報の追加

2020/12/10 10:10

投稿

vibrato
vibrato

スコア52

title CHANGED
File without changes
body CHANGED
@@ -9,4 +9,27 @@
9
9
  自身のWindowsPCではpythonファイルtest.pyを実行する時は「test.py」と入力するだけで実行されるのに比べ
10
10
  Linuxレンタルサーバでは「python test.py」と入力しないと実行されないという違いがあることは数回利用し、判明したのですが、それに似た実行方法の違いがあるのでしょうか?
11
11
 
12
- コマンドの書き方が悪いのか、実行方法が問題なのか、その他に原因があるのか、これらについてご教授よろしくお願いいたします。
12
+ コマンドの書き方が悪いのか、実行方法が問題なのか、その他に原因があるのか、これらについてご教授よろしくお願いいたします。
13
+
14
+ ### act.sh実行結果 動作しませんでした。
15
+ ○○○○○○○○:~$ chmod +x act.sh
16
+ ○○○○○○○○:~$ ./act.sh
17
+
18
+ CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
19
+ To initialize your shell, run
20
+
21
+ $ conda init <SHELL_NAME>
22
+
23
+ Currently supported shells are:
24
+ - bash
25
+ - fish
26
+ - tcsh
27
+ - xonsh
28
+ - zsh
29
+ - powershell
30
+
31
+ See 'conda init --help' for more information and options.
32
+
33
+ IMPORTANT: You may need to close and restart your shell after running 'conda init'.
34
+
35
+ これはレンタルサーバで特定のコマンド以外は許可されていないということでしょうか?