Comments (3)
It seems the const around datatype_t gives me the error.
After removing the const, I am still getting an error:
$ python3 setup.py build
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 35, in __getattr__
return next(
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 419, in _parse_attr
return getattr(StaticModule(module_name), attr_name)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 43, in __getattr__
raise AttributeError(
AttributeError: soxr has no attribute __version__
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pierre/Sources/python-soxr/setup.py", line 153, in <module>
setup(
File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python3.10/distutils/core.py", line 121, in setup
dist.parse_config_files()
File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 804, in parse_config_files
parse_configuration(
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 158, in parse_configuration
meta.parse()
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 498, in parse
section_parser_method(section_options)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 469, in parse_section
self[name] = value
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 222, in __setitem__
value = parser(value)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 599, in _parse_version
version = self._parse_attr(value, self.package_dir)
File "/usr/lib/python3/dist-packages/setuptools/config.py", line 422, in _parse_attr
module = importlib.import_module(module_name)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/pierre/Sources/python-soxr/src/soxr/__init__.py", line 10, in <module>
from . import cysoxr
ImportError: cannot import name 'cysoxr' from partially initialized module 'soxr' (most likely due to a circular import) (/home/pierre/Sources/python-soxr/src/soxr/__init__.py)
from python-soxr.
Do not execute setup.py directly. See BUILDING.md for build instruction.
(Upgrade Cython to >3.0 if you need setup.py for debugging.)
from python-soxr.
Thank you for the reply and it is indeed working with:
python -m build
from python-soxr.
Related Issues (19)
- Missing APIs / Platforms not supported HOT 4
- Non-deterministic output issue HOT 1
- Bug in dithering
- error: implicit declaration of function... during installation or building HOT 1
- Compile fails on Pi4 Buster HOT 4
- soxr-python can't be found in conda-forge HOT 2
- error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1 ON Raspberry PI 3 HOT 1
- "always_inline" error when building on 32bit HOT 2
- AttributeError: soxr has no attribute __version__ HOT 3
- Issue related to INTERLEAVE2 HOT 14
- 'import soxr' fails: ImportError: cannot import name '__version__' from 'soxr._version' HOT 4
- Installation Issue with Python-Soxr: AttributeError on 'version' HOT 1
- Build breaks on arm64: cc: error: unsupported option '-mfpu=' for target 'aarch64-unknown-freebsd15.0' HOT 1
- ValueError: buffer source array is read-only HOT 4
- Release GIL while resampling HOT 5
- conda-forge packaging HOT 6
- resample_chunk and resample methods return very different results HOT 6
- No SIMD64 support (relatively slow VHQ mode) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-soxr.