score:1
The issue lies in trying to use setuptools.setup
with numpy.disutils.core.Extension
. The numpy version of Extension
contains additional information about f2py
that isn't included in setuptools.Extension
, but this can only be used to build Fortran libraries if numpy.distutils.core.setup
is used as well.
The solution: replace from setuptools import setup
with from numpy.distutils.core import setup
in setup.py
.
Credit To: stackoverflow.com
Related Query
- Numpy distutils not recognizing Fortran file types
- Python Numpy TypeError: ufunc 'isfinite' not supported for the input types
- How do I import data with different types from file into a Python Numpy array?
- Cannot uninstall numpy 1.21.2, RECORD file not found
- Why is univariate Horner in Fortran faster than NumPy counterpart while bivariate Horner is not
- Python: Reading Fortran Binary file using numpy or scipy
- Python numpy array slices are not Fortran Contiguous
- python - using numpy loadtxt reading a csv file with different data types for each column
- Reading a file with Fortran formatted small floats, using numpy
- Cython: fatal error: 'numpy/arrayobject.h' file not found, using numpy
- numpy "TypeError: ufunc 'bitwise_and' not supported for the input types" and the inputs could not be safely coerced to any supported types
- Numpy setuptools: How to compile fortran file as part of a module
- Individual Numpy types do not seem to preserve Endianness
- Best way to write rows of a numpy array to file inside, NOT after, a loop?
- Heroku not recognizing NumPy in requirements.txt
- numpy save an array of different types to a text file
- Writing mixed numpy array types to file
- How to link to FORTRAN library via numpy distutils
- NumPy genfromtxt OSError: file not found
- numpy package not defined when importing function from another .py file
- Reading a Binary File that was generated with C++ data types Using Numpy
- How to save a float numpy array to a binary file with less storage (e.g.: not in scientific notation)?
- Numpy install wants to create tmp file in lib folder where I do not have write access
- 'bitwise_and' not supported for the input types Numpy array
- Numpy does not create binary file
- wav file generated from numpy is not audible (complete silence)
- Numpy error (numpy not working) instead of adding numbers or running the code in the file its taking input [ Enter a number:-]
- Why is numba library in python not recognizing numpy 2D array
- Python TypeError in Numpy polyfit ufunc did not contain loop with matching signature types
- Numpy Array is not copying over all values of the array to csv file
More Query from same tag
- Broadcast function in Numpy similar to matrix multiplication
- writing a custom cost function in tensorflow
- Adding zeros to given positions in a numpy array
- How can I interpolate 3d time series data by Python?
- Fastest way to Loop through this Data
- Find all SUBSETS of a 1D array that have a specified number of UNIQUE elements (n) AND a specified sum (s)
- Sum All elements of each array in an array of arrays
- Storing intermediate values in a numpy array
- Count uppercase on each row
- Why is my implementation of numpy.random.choice faster?
- Compare 3 columns of a 2-D List and Replace based on conditions
- error in importing .csv file in ipython notebook
- Auto Regressive (AR) model using Maximum Likelihood Estimator in pandas dataframe: correlate() got an unexpected keyword argument 'old behavior'
- Why multiply the error by the derivative of the sigmoid in neural networks?
- Proper way to "append" multi-dimensional numpy arrays?