In home manager I have Python set up as so:
pythonEnv = pkgs.python311.withPackages (ps: with ps; [
numpy
scikit-learn
jupyter
matplotlib
pooch
opencv4
ffmpeg-python
pygobject3
keras
pygame
scikit-image
trimesh
notebook
beautifulsoup4
lxml
requests
termcolor
flask
pynput
pyautogui
keyboard
] ++ (if use-cuda then [tensorflowWithCuda torchWithCuda] else [tensorflow torch]));
which is later used in home.packages
.
This results in a collision between:
/nix/store/cqmyr60p55x8sf1iknd1hhisi2vq6djr-python3.11-tensorboard-2.18.0/lib/python3.11/site-packages/tensorboard/data/proto/__pycache__/data_provider_pb2_grpc.cpython-311.pyc
/nix/store/19lp6vrvr3p1lsjx6674q8z0yhxdmvpz-python3.11-tensorboard-2.18.0/lib/python3.11/site-packages/tensorboard/data/proto/__pycache__/data_provider_pb2_grpc.cpython-311.pyc
Does anyone have any ideas why this might be happening?