What is that mean? and how can I fix it:
score_sc2.sh: pythonscript: not found
thanks
Created by Yatong Han Unicorn_H Thank you, I will fix it > head score_sc2.sh
#!/bin/sh
./prot_prediction.py
calling it like this assumes it's a shell script:
root@04a8ec5a8d94:/# ./prot_prediction.py
./prot_prediction.py: line 7: import: command not found
./prot_prediction.py: line 8: from: command not found
./prot_prediction.py: line 9: from: command not found
./prot_prediction.py: line 10: from: command not found
./prot_prediction.py: line 11: from: command not found
./prot_prediction.py: line 12: from: command not found
./prot_prediction.py: line 13: from: command not found
./prot_prediction.py: line 14: import: command not found
./prot_prediction.py: line 15: import: command not found
./prot_prediction.py: line 16: from: command not found
./prot_prediction.py: line 18: syntax error near unexpected token `('
./prot_prediction.py: line 18: `cnaf = numpy.genfromtxt("/cnaf.csv", delimiter=",", skip_header=True)'
It needs to be called like:
root@04a8ec5a8d94:/# python3 prot_prediction.py
Using TensorFlow backend.
Traceback (most recent call last):
File "prot_prediction.py", line 13, in
from sklearn.metrics import r2_score
ImportError: No module named 'sklearn'
That has it's issues as well, it doesn't look like the image has sklearn installed. 9650305 Is there a submission ID you got back when you submitted to the express lane?
syn11376350, thanks Can you tell me the submission id? hi, when I build docker image it shown the numpy and tensorflow is succeed install. In my pythonscript it will import numpy and tensorflow. But when I submit to Subchallenge 2 Express Lane.
The running error shown ./prot_prediction.py: 7: ./prot_prediction.py: import: not found.
I don't know why Can you give a little more context? It looks like scoring script, which is a shell script, is being called like it was a python script.
Drop files to upload
score_sc2.sh: pythonscript: not found page is loading…