I am trying to pip install in Kaggle notebook. I first upgraded python version because the thing I am trying to install needs python 3.11. i did this using
!apt-get install python3.11
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 2
Then when I tried !pip install i got the following error:
Building wheels for collected packages: pycosat
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for pycosat (setup.py) ... error
ERROR: Failed building wheel for pycosat
Running setup.py clean for pycosat
Failed to build pycosat
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pycosat)
I can simply install this in google colab but I need to utilize the GPU in Kaggle so can someone please help
I tried reinstalling pip and upgrading it but it still did not fix it.