Skip to content

Install issue #17

Description

@wuxiangning

(CytoSig) C:\Users\data_significance>python -m pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple/ --trusted-host pypi.tuna.tsinghua.edu.cn
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Processing c:\users\data_significance
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy in e:\ana\envs\cytosig\lib\site-packages (from data_significance==1.3) (1.24.4)
Requirement already satisfied: pandas in e:\ana\envs\cytosig\lib\site-packages (from data_significance==1.3) (2.0.3)
Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\appdata\roaming\python\python38\site-packages (from pandas->data_significance==1.3) (2.9.0.post0)
Requirement already satisfied: pytz>=2020.1 in c:\users\appdata\roaming\python\python38\site-packages (from pandas->data_significance==1.3) (2024.2)
Requirement already satisfied: tzdata>=2022.1 in c:\users\appdata\roaming\python\python38\site-packages (from pandas->data_significance==1.3) (2024.2)
Requirement already satisfied: six>=1.5 in c:\users\appdata\roaming\python\python38\site-packages (from python-dateutil>=2.8.2->pandas->data_significance==1.3) (1.16.0)
Building wheels for collected packages: data_significance
Building wheel for data_significance (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for data_significance (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [78 lines of output]
running bdist_wheel
running build
running build_ext
building 'data_significance' extension
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\AppData\Local\Temp\pip-build-env-p5my39fr\overlay\Lib\site-packages\numpy\core\include\numpy -IE:\Ana\envs\CytoSig\include -IE:\Ana\envs\CytoSig\Include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" -IE:\Ana\envs\CytoSig\Library\include /Tcglm.c /Fobuild\temp.win-amd64-cpython-38\Release\glm.obj
glm.c
c:\users\data_significance\glm.h(30): error C2143: syntax error: missing ')' before 'constant'
c:\users\data_significance\glm.h(30): error C2032: '__acrt_iob_func': function cannot be member of struct 'logistic_regression_workspace'
c:\users\data_significance\glm.h(30): error C2059: syntax error: ')'
c:\users\data_significance\glm.h(33): error C2059: syntax error: '}'
c:\users\data_significance\glm.h(35): error C2143: syntax error: missing '{' before ''
c:\users\data_significance\glm.h(37): error C2143: syntax error: missing ')' before '
'
c:\users\data_significance\glm.h(37): error C2143: syntax error: missing '{' before ''
c:\users\data_significance\glm.h(37): error C2059: syntax error: 'type'
c:\users\data_significance\glm.h(37): error C2059: syntax error: ')'
c:\users\data_significance\glm.h(42): error C2143: syntax error: missing ')' before '
'
c:\users\data_significance\glm.h(42): error C2143: syntax error: missing '{' before ''
c:\users\data_significance\glm.h(43): error C2371: 'size_t': redefinition; different basic types
glm.c: note: see declaration of 'size_t'
c:\users\data_significance\glm.h(43): warning C4228: nonstandard extension used: qualifiers after comma in declarator list are ignored
c:\users\data_significance\glm.h(43): error C2146: syntax error: missing ';' before identifier 'maxIter'
c:\users\data_significance\glm.h(43): error C2059: syntax error: 'type'
c:\users\data_significance\glm.h(44): error C2059: syntax error: ')'
c:\users\appdata\local\temp\pip-build-env-p5my39fr\overlay\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
glm.c(19): error C2143: syntax error: missing '{' before '
'
glm.c(22): error C2065: 'LGR_space': undeclared identifier
glm.c(22): error C2065: 'lr': undeclared identifier
glm.c(22): error C2059: syntax error: ')'
glm.c(24): error C2065: 'lr': undeclared identifier
glm.c(24): error C2223: left of '->X' must point to struct/union
glm.c(25): error C2065: 'lr': undeclared identifier
glm.c(25): error C2223: left of '->Y' must point to struct/union
glm.c(27): error C2065: 'lr': undeclared identifier
glm.c(27): error C2223: left of '->n' must point to struct/union
glm.c(28): error C2065: 'lr': undeclared identifier
glm.c(28): error C2223: left of '->p' must point to struct/union
glm.c(30): error C2065: 'lr': undeclared identifier
glm.c(30): error C2223: left of '->P' must point to struct/union
glm.c(31): error C2065: 'lr': undeclared identifier
glm.c(31): error C2223: left of '->W' must point to struct/union
glm.c(32): error C2065: 'lr': undeclared identifier
glm.c(32): error C2223: left of '->error' must point to struct/union
glm.c(33): error C2065: 'lr': undeclared identifier
glm.c(33): error C2223: left of '->H' must point to struct/union
glm.c(34): error C2065: 'lr': undeclared identifier
glm.c(34): error C2223: left of '->U' must point to struct/union
glm.c(35): error C2065: 'lr': undeclared identifier
glm.c(35): error C2223: left of '->delta' must point to struct/union
glm.c(37): error C2065: 'lr': undeclared identifier
glm.c(37): error C2223: left of '->wX' must point to struct/union
glm.c(38): error C2065: 'lr': undeclared identifier
glm.c(38): error C2223: left of '->H_t' must point to struct/union
glm.c(39): error C2065: 'lr': undeclared identifier
glm.c(39): error C2223: left of '->I' must point to struct/union
glm.c(40): error C2065: 'lr': undeclared identifier
glm.c(40): error C2223: left of '->L' must point to struct/union
glm.c(43): error C2065: 'lr': undeclared identifier
glm.c(43): error C2223: left of '->beta' must point to struct/union
glm.c(44): error C2065: 'lr': undeclared identifier
glm.c(44): error C2059: syntax error: '('
glm.c(45): error C2223: left of '->z' must point to struct/union
glm.c(46): error C2065: 'lr': undeclared identifier
glm.c(46): error C2223: left of '->pvalue' must point to struct/union
glm.c(48): error C2065: 'lr': undeclared identifier
glm.c(48): warning C4047: 'return': 'int ' differs in levels of indirection from 'int'
glm.c(52): error C2143: syntax error: missing ')' before '
'
glm.c(52): error C2143: syntax error: missing '{' before ''
glm.c(52): error C2059: syntax error: 'type'
glm.c(52): error C2059: syntax error: ')'
glm.c(94): error C2143: syntax error: missing ')' before '
'
glm.c(94): error C2143: syntax error: missing '{' before '*'
glm.c(95): error C2371: 'size_t': redefinition; different basic types
glm.c: note: see declaration of 'size_t'
glm.c(95): warning C4228: nonstandard extension used: qualifiers after comma in declarator list are ignored
glm.c(95): error C2146: syntax error: missing ';' before identifier 'maxIter'
glm.c(95): error C2059: syntax error: 'type'
glm.c(96): error C2059: syntax error: ')'
error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for data_significance
Failed to build data_significance
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (data_significance)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions