question

TehKonnos-2388 avatar image
0 Votes"
TehKonnos-2388 asked romungi-MSFT commented

Python Kernel 3.8.1 runs conda 3.6.9

Hello,
I have been trying to run !python trainp.py from yolov5, but is required to have python>=3.7. I tryied to run in the same path the command !python38 train.py but suddently it cant open the file. Is it an azure issue or python issue? How can i fix it.
Thank you.

I am working in an Azure ML Notebook.

azure-machine-learning
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@TehKonnos-2388 I think you are referring to Azure Machine Learning portal ml.azure.com instead of Azure Machine learning studio which is the classic version.
I tried to spin a compute to check the available python kernels on Azure ML notebook and it does seem to display python > 3.6, Did you install a new version of kernel from the terminal?

98235-image.png

I think you are trying to run a similar scenario as this example where train.py is loaded and run using the SDK. Is that correct? If this is the case, you need to authenticate your compute and then try to run this. The authentication button is seen on the notebook as a banner and you should see a message like below if authentication is succesful.

![98246-image.png][3]


0 Votes 0 ·
image.png (5.8 KiB)
image.png (7.7 KiB)

0 Answers