Unable to setup python

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

]))

];

}

Works for me, do you have nix installed? And what OS are you using?
You might also have some issue with your shell config if it’s trying to run a nonexistent command.

I run NixOS.

Update:
The issue is with my shell config, thank you for your reply.