TorchDSP / torchsig

TorchSig is an open-source signal processing machine learning toolkit based on the PyTorch data handling pipeline.
MIT License
155 stars 37 forks source link

Installing from source #204

Closed 777arc closed 11 months ago

777arc commented 1 year ago

For whatever reason I had to update pip to follow the install instructions, else it was installing it with package name UNKNOWN fix - python3 -m pip install pip -U

marc@DESKTOP-77T6QPC:~/torchsig$ pip install .
Defaulting to user installation because normal site-packages is not writeable
Processing /home/marc/torchsig
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (pyproject.toml) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=1781 sha256=4e481781ef1a39a7ea285a59fdc20d6545c845ada3e53e9fb16f380b0626d2b1
  Stored in directory: /tmp/pip-ephem-wheel-cache-q3zlrj4n/wheels/bc/0e/42/d73b50bf36bf46e4374a3460d1fb2d4288d39d3178c58fddec
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0
alphafox02 commented 1 year ago

Did the same for me when adding sudo in front of the pip install, removing that and doing your fix works.

gvanhoy commented 11 months ago

The build system based on pyproject.toml is pretty new, I'm guessing this is why that happens.