Comments (7)
Hello,
Thank you for raising this issue.
I am usure of the exact meaning of the error log. However, looking at your configuration, I strongly suspect that the issue stems from the M1 architecture.
We plan on adding wheels for Apple Silicon starting from the next release. In the meanwhile, let us keep this issue open.
from scikit-network.
The new release is out. Can you confirm that it works on your end?
from scikit-network.
Hi, I am using a Mac with M1 architecture and it is not working for me.
from scikit-network.
Hi,
Could you please provide details on your configuration (e.g., python version) and the command used to install scikit-network?
Thanks.
from scikit-network.
Hi,
I have python 3.11 and I tried the command
pip3 install scikit-network.
This is the error I got:
Building wheels for collected packages: scikit-network
Building wheel for scikit-network (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [96 lines of output]
warning: no files found matching '' under directory 'tests'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '.py[co]' found under directory ''
warning: no files found matching '.jpg' under directory 'docs'
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '*.gif' under directory 'docs'
./sknetwork/classification/vote.cpp:19511:37: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
if (CYTHON_TRACE && (*frame)->f_trace == NULL) {
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:19513:21: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
(frame)->f_trace = Py_None;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:19520:5: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
__Pyx_PyFrame_SetLineNumber(frame, firstlineno);
^
./sknetwork/classification/vote.cpp:475:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'
#define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:20164:43: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations]
hash1 = ((PyBytesObject)s1)->ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/bytesobject.h:7:5: note: 'ob_shash' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) Py_hash_t ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
./sknetwork/classification/vote.cpp:20165:43: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations]
hash2 = ((PyBytesObject)s2)->ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/bytesobject.h:7:5: note: 'ob_shash' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) Py_hash_t ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
./sknetwork/classification/vote.cpp:20641:23: error: no member named 'exc_type' in '_err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20641:53: error: no member named 'exc_type' in '_err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20655:23: error: no member named 'exc_type' in '_err_stackitem'
*type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20657:21: error: no member named 'exc_traceback' in '_err_stackitem'
*tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20671:26: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20673:24: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20674:15: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20676:15: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = tb;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20733:30: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20735:28: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20736:19: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = local_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20738:19: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = local_tb;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20771:26: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20773:24: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20774:15: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = *type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20776:15: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = *tb;
~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
error: command '/opt/homebrew/opt/llvm/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for scikit-network
Running setup.py clean for scikit-network
Failed to build scikit-network
Installing collected packages: scikit-network
Running setup.py install for scikit-network ... error
error: subprocess-exited-with-error
× Running setup.py install for scikit-network did not run successfully.
│ exit code: 1
╰─> [98 lines of output]
/opt/homebrew/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
warning: no files found matching '' under directory 'tests'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '.py[co]' found under directory ''
warning: no files found matching '.jpg' under directory 'docs'
warning: no files found matching '.png' under directory 'docs'
warning: no files found matching '*.gif' under directory 'docs'
./sknetwork/classification/vote.cpp:19511:37: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
if (CYTHON_TRACE && (*frame)->f_trace == NULL) {
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:19513:21: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
(frame)->f_trace = Py_None;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:19520:5: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
__Pyx_PyFrame_SetLineNumber(frame, firstlineno);
^
./sknetwork/classification/vote.cpp:475:62: note: expanded from macro '__Pyx_PyFrame_SetLineNumber'
#define __Pyx_PyFrame_SetLineNumber(frame, lineno) (frame)->f_lineno = (lineno)
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
./sknetwork/classification/vote.cpp:20164:43: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations]
hash1 = ((PyBytesObject)s1)->ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/bytesobject.h:7:5: note: 'ob_shash' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) Py_hash_t ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
./sknetwork/classification/vote.cpp:20165:43: warning: 'ob_shash' is deprecated [-Wdeprecated-declarations]
hash2 = ((PyBytesObject)s2)->ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/cpython/bytesobject.h:7:5: note: 'ob_shash' has been explicitly marked deprecated here
Py_DEPRECATED(3.11) Py_hash_t ob_shash;
^
/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
./sknetwork/classification/vote.cpp:20641:23: error: no member named 'exc_type' in '_err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20641:53: error: no member named 'exc_type' in '_err_stackitem'
while ((exc_info->exc_type == NULL || exc_info->exc_type == Py_None) &&
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20655:23: error: no member named 'exc_type' in '_err_stackitem'
*type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20657:21: error: no member named 'exc_traceback' in '_err_stackitem'
*tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20671:26: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20673:24: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20674:15: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20676:15: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = tb;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20733:30: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20735:28: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20736:19: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = local_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20738:19: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = local_tb;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20771:26: error: no member named 'exc_type' in '_err_stackitem'
tmp_type = exc_info->exc_type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20773:24: error: no member named 'exc_traceback' in '_err_stackitem'
tmp_tb = exc_info->exc_traceback;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20774:15: error: no member named 'exc_type' in '_err_stackitem'
exc_info->exc_type = *type;
~~~~~~~~ ^
./sknetwork/classification/vote.cpp:20776:15: error: no member named 'exc_traceback' in '_err_stackitem'
exc_info->exc_traceback = *tb;
~~~~~~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
error: command '/opt/homebrew/opt/llvm/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> scikit-network
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
from scikit-network.
OK, thanks.
Scikit-network is currently available with Python 3.8, 3.9, 3.10 only.
Python 3.11 coming soon.
from scikit-network.
Ok, thank you so much for the help!
from scikit-network.
Related Issues (20)
- data.load_edge_list is missing in 0.26.0 version HOT 1
- Single commodity flow feature HOT 1
- umpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObjec HOT 5
- python -m pip install scikit-network/ fails because it is looking for /triangles.cpp: HOT 1
- Installing the latest version HOT 2
- Verbose argument not expected in regression.Dirichlet fit_transform method though in description HOT 4
- Original node name mappings HOT 1
- PageRank-based recommendations HOT 1
- module 'sknetwork.data' has no attribute 'from_edge_list' HOT 5
- Error when cutting Paris dendrogram HOT 6
- KMeans does not work with numpy.ndarray HOT 1
- Feature Request GNN for KNN HOT 7
- Error installing on Linux for Python 3.11 HOT 2
- cython: linetrace=True causes TypeError: 'NoneType' object is not callable error HOT 8
- from sknetwork.utils import edgelist2adjacency, edgelist2biadjacency HOT 1
- do you have some where description for bimodularity HOT 5
- From Louvain to Leiden: guaranteeing well-connected communities. HOT 2
- [Feature Request] Add dynamic tree cutting for dendrograms hierarchy cuts HOT 1
- Error when installing "pip install scikit-network" HOT 2
- Louvain algorithm issue with louvain_core.pyx? ValueError: Buffer dtype mismatch, expected 'int' but got 'long' HOT 7
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 scikit-network.