Hello!
I was wondering how i can get datalore to run python 3.9 or 3.10 in pip mode or conda mode? y have tried everythong but i dont seem to get this working. And this could be a deal breaker if icant get my code to work. the minimn i requere is 3.9.12 please help
There is no place that i know of to choose the python kernel version.I can only see that i am running in python 3.8.12
Same issue. I’ve spent hours debugging my problem loading custom packages from GitHub, only to finally realize the problem is that the packages are using language features from laster versions of Python, specifically – the match statement
I tried implementing the environment.yml and init.sh, as shown by @artem.borzilov, however received the following errors:
E: Unable to locate package python3.11-venv
E: Couldn’t find any package by glob 'python3.11-venv
’
E: Couldn’t find any package by regex 'python3.11-venv
’
/data/notebook_files/init.sh: 2: /usr/bin/python3.11: not found
/data/notebook_files/init.sh: 3: /opt/python/envs/my311/bin/python: not found
Any help on solving this issue would be greatly appreciated.
E: Unable to locate package python3.11-venv
E: Couldn’t find any package by glob 'python3.11-venv
’
E: Couldn’t find any package by regex 'python3.11-venv
’
/data/notebook_files/init.sh: 2: /usr/bin/python3.11: not found
/data/notebook_files/init.sh: 3: /opt/python/envs/my311/bin/python: not found
Is there anything I did incorrectly? Any tips on how to procede?
Kind regards.
E: Unable to locate package python3.11-venv
E: Couldn't find any package by glob 'python3.11-venv
'
E: Couldn't find any package by regex 'python3.11-venv
'
/data/notebook_files/init.sh: 2: /usr/bin/python3.11: not found
/data/notebook_files/init.sh: 3: /opt/python/envs/my311/bin/python: not found
E: Unable to locate package python3.11-venv
E: Couldn't find any package by glob 'python3.11-venv
'
E: Couldn't find any package by regex 'python3.11-venv
'
/data/notebook_files/init.sh: 3: /usr/bin/python3.11: not found
Sharing this to help with the identification of the issue.
I also getting this warning in the error log (attached to the notebook files), but it shouldn’t affect the installation of the package.
E: Couldn’t find any package by glob 'python3.11-venv
’
It seems, there are non-unix line ending characters in your init.sh file, please try creating init.sh using the following magics (will overwrite existing file):
For other people reading this in the future, and having the same issue, here’s what I did:
downloaded the init.sh file from the notebook of @artem.borzilov’s
uploaded it in my notebook
As for the cause of the problem, you are correct @igro, there is indeed an extra byte that shows up when I copy and paste the file, as can be seem bellow:
there is indeed an extra byte that shows up when I copy and paste the file
Thank you for confirming this, I didn’t manage to reproduce it on my Windows VM, but I’ll file a ticket in our tracker and we will investigate this issue further.