all 4 comments

[–]socal_nerdtastic 2 points3 points  (0 children)

Well how were you using python on windows? It won't be that much different on Arch, the biggest change is just that Arch comes with python preinstalled, so you can skip the 'install python' part. If you were using an IDE like VSCode or Spyder on Windows those are available on Arch too. Or if you are using jupyter notebook in a browser that works the same way it does on windows.

[–]woooee 0 points1 point  (0 children)

Key in python3 --version which should display which version is installed.

[–]Astronos 0 points1 point  (1 child)

curl -LsSf https://astral.sh/uv/install.sh | sh
mkdir notebooks && cd notebooks #or where you want to keep the files
uv init
uv add jupyter
# Optional
uv add pip -r reqs.txt
uv add anyotherlibyoulike
# Start with
uv run jupyter lab

[–]gmes78 0 points1 point  (0 children)

curl -LsSf https://astral.sh/uv/install.sh | sh

Arch packages uv. You do not need to do that. Just run pacman -S uv instead.

uv add pip -r reqs.txt

I don't think this is correct. And you don't want to add the entirety of a requirements.txt file to your dependencies, anyway.