Nix issue does not allow to install a python package in Shell

I am unable to install a python package in Shell (the command I need to run is pip install apache-beam[gcp]).
Basic python scripts run fine, and default packages installation runs fine, but installation through shell fails.

I have already modified .replit as follows:

[nix]
channel = "stable-23_11"

and tried to delete replit.nix. Yet, the error persists.

The exact error message is as follows:

error: externally-managed-environment

× This environment is externally managed
╰─> This command has been disabled as it tries to modify the immutable
    `/nix/store` filesystem.
    
    To use Python with Nix and nixpkgs, have a look at the online documentation:
    https://nixos.org/manual/nixpkgs/stable/#python.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Hi @yu51a5 . We pushed an upgrade that seems to be causing this issue. We’re going to revert the changes shortly.

Thanks Suzy. Would appreciate if you could ping me after the update is complete.

@yu51a5 Go ahead and give it a try when you have a moment.