python-soxr icon indicating copy to clipboard operation
python-soxr copied to clipboard

Installation Issue with Python-Soxr: AttributeError on 'version'

Open tlocd opened this issue 2 years ago • 1 comments

Problem Description

Encountered an installation issue while attempting to install Python-Soxr using the provided setup script. The installation process fails with the following error:

AttributeError: module 'soxr' has no attribute '__version__'

Reproduction Steps

  1. Clone the Python-Soxr repository: git clone https://github.com/pytorch/audio.git
  2. Navigate to the Python-Soxr directory: cd python-soxr
  3. Run the installation script: sudo python3 setup.py install

Expected Behavior

Expect a successful installation of Python-Soxr without encountering the AttributeError related to the 'version' attribute.

Environment Information

  • Operating System: Linux debian risc-v
  • Python Version: 3.11
  • Python-Soxr Version: (latest commit or release version)

tlocd avatar Jan 06 '24 14:01 tlocd

Triggering setup.py wouldn't work.

Use pip to install python-soxr.

If you need manual build, follow build instruction here. https://github.com/dofuuz/python-soxr/blob/main/BUILDING.md

dofuuz avatar Jan 07 '24 12:01 dofuuz