This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
Open
Description
I have been having trouble downloading this. I have tried using make to download it in Python 2.7.10, but it doesn't seem to work. I uploaded the doc of the full output because it's so long. The main red colored errors are the following:
ERROR: Failed building wheel for science-rcn
ERROR: Failed building wheel for pillow
ERROR: Failed building wheel for scipy
ERROR: Failed cleaning build dir for scipy
ERROR: Command errored out with exit status 1: /Users/Smile/science_rcn/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gv/nk7s8r7968q_htrwn9jvhl000000gq/T/pip-install-z8kkf4hf/numpy/setup.py'"'"'; __file__='"'"'/private/var/folders/gv/nk7s8r7968q_htrwn9jvhl000000gq/T/pip-install-z8kkf4hf/numpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/gv/nk7s8r7968q_htrwn9jvhl000000gq/T/pip-record-szu1uyz5/install-record.txt --single-version-externally-managed --compile --install-headers /Users/Smile/science_rcn/venv/include/site/python3.8/numpy Check the logs for full command output.
Full Output Doccument:
Error.docx
I have also tried doing the manual installation with Python 2.7.10, but it gives me the error: RuntimeError: Python version >= 3.6 required.
So then I tried downloading it with python 3.8 and I get the following error:
running install
running bdist_egg
running egg_info
writing science_rcn.egg-info/PKG-INFO
writing dependency_links to science_rcn.egg-info/dependency_links.txt
writing requirements to science_rcn.egg-info/requires.txt
writing top-level names to science_rcn.egg-info/top_level.txt
reading manifest file 'science_rcn.egg-info/SOURCES.txt'
writing manifest file 'science_rcn.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
running build_ext
building '_dilation' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -I/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include -c science_rcn/dilation/dilation.cc -o build/temp.macosx-10.9-x86_64-3.8/science_rcn/dilation/dilation.o
In file included from science_rcn/dilation/dilation.cc:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning:
"Using deprecated NumPy API, disable it with " "#define
NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
science_rcn/dilation/dilation.cc:30:12: error: use of undeclared identifier
'Py_InitModule'
(void) Py_InitModule("_dilation", dilationmethods);
^
science_rcn/dilation/dilation.cc:31:5: error: void function 'init_dilation'
should not return a value [-Wreturn-type]
import_array(); // Must be present for NumPy. Called first after ab...
^~~~~~~~~~~~~~
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/numpy/core/include/numpy/__multiarray_api.h:1531:144: note:
expanded from macro 'import_array'
..."numpy.core.multiarray failed to import"); return NULL; } }
^ ~~~~
1 warning and 2 errors generated.
error: command 'gcc' failed with exit status 1
Any ideas how to fix this?
Metadata
Assignees
Labels
No labels