Hi, I have been try to set up a python environemnt. I followed the instructions in Python - NixOS Wiki but couldn’t get python running.
Issue:
❯ nix develop -f shell.nix
thefuck is not installed, you should “pip install thefuck” or “brew install thefuck” first.
See GitHub - nvbn/thefuck: Magnificent app which corrects your previous console command.
❯ python --version
zsh: command not found: python
Here is my shell.nix
in my directory:
let
pkgs = import (fetchTarball “https://github.com/NixOS/nixpkgs/archive/15ae9a17b392a447177686f2941804dc203f89da.tar.gz”) {};
in pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (python-pkgs: [
select Python packages here
python-pkgs.pandas
python-pkgs.requests
]))
];
}