dcajasn / Riskfolio-Lib

Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
https://riskfolio-lib.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
3.08k stars 520 forks source link

Installation error on Windows 11 with Python 3.10.10/3.11.2: error C2065: 'ssize_t': undeclared identifier #152

Closed jlchereau closed 1 year ago

jlchereau commented 1 year ago

pip3 install riskfolio-lib fails with error message:

Collecting riskfolio-lib
  Using cached Riskfolio-Lib-4.0.3.tar.gz (12.9 MB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy>=1.17.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (1.24.2)
Requirement already satisfied: scipy>=1.0.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (1.10.0)
Requirement already satisfied: pandas>=1.0.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (1.5.3)
Requirement already satisfied: matplotlib>=3.3.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (3.7.1)
Requirement already satisfied: cvxpy>=1.0.25 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (1.3.0)
Requirement already satisfied: scikit-learn>=0.22.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (1.2.1)
Requirement already satisfied: statsmodels>=0.10.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (0.13.5)
Requirement already satisfied: arch>=4.15 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (5.3.1)
Requirement already satisfied: xlsxwriter>=1.3.7 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (3.0.8)
Requirement already satisfied: networkx>=2.5.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (3.0)
Requirement already satisfied: astropy>=4.3.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (5.2.1)
Requirement already satisfied: pybind11>=2.10.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from riskfolio-lib) (2.10.4)
Requirement already satisfied: property-cached>=1.6.4 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from arch>=4.15->riskfolio-lib) (1.6.4)
Requirement already satisfied: pyerfa>=2.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from astropy>=4.3.1->riskfolio-lib) (2.0.0.1)
Requirement already satisfied: PyYAML>=3.13 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from astropy>=4.3.1->riskfolio-lib) (6.0)
Requirement already satisfied: packaging>=19.0 in c:\users\xxxxx\appdata\roaming\python\python311\site-packages (from astropy>=4.3.1->riskfolio-lib) (23.0)
Requirement already satisfied: osqp>=0.4.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from cvxpy>=1.0.25->riskfolio-lib) (0.6.2.post8)
Requirement already satisfied: ecos>=2 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from cvxpy>=1.0.25->riskfolio-lib) (2.0.12)
Requirement already satisfied: scs>=1.1.6 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from cvxpy>=1.0.25->riskfolio-lib) (3.2.2)
Requirement already satisfied: setuptools<=64.0.2 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from cvxpy>=1.0.25->riskfolio-lib) (64.0.2)
Requirement already satisfied: contourpy>=1.0.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (1.0.7)
Requirement already satisfied: cycler>=0.10 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (4.38.0)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (9.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (3.0.9)
Requirement already satisfied: python-dateutil>=2.7 in c:\users\xxxxx\appdata\roaming\python\python311\site-packages (from matplotlib>=3.3.0->riskfolio-lib) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from pandas>=1.0.0->riskfolio-lib) (2022.7.1)
Requirement already satisfied: joblib>=1.1.1 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from scikit-learn>=0.22.0->riskfolio-lib) (1.2.0)
Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from scikit-learn>=0.22.0->riskfolio-lib) (3.1.0)
Requirement already satisfied: patsy>=0.5.2 in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from statsmodels>=0.10.1->riskfolio-lib) (0.5.3)
Requirement already satisfied: qdldl in c:\users\xxxxx\appdata\local\programs\python\python311\lib\site-packages (from osqp>=0.4.1->cvxpy>=1.0.25->riskfolio-lib) (0.1.5.post3)
Requirement already satisfied: six in c:\users\xxxxx\appdata\roaming\python\python311\site-packages (from patsy>=0.5.2->statsmodels>=0.10.1->riskfolio-lib) (1.16.0)
Installing collected packages: riskfolio-lib
  DEPRECATION: riskfolio-lib is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for riskfolio-lib ... error
  error: subprocess-exited-with-error

  × Running setup.py install for riskfolio-lib did not run successfully.
  │ exit code: 1
  ╰─> [169 lines of output]
      running install
      C:\Users\xxxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\riskfolio
      copying riskfolio\__init__.py -> build\lib.win-amd64-cpython-311\riskfolio
      creating build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\AuxFunctions.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\ConstraintsFunctions.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\DBHT.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\GerberStatistic.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\HCPortfolio.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\OwaWeights.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\ParamsEstimation.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\PlotFunctions.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\Portfolio.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\Reports.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\RiskFunctions.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      copying riskfolio\src\__init__.py -> build\lib.win-amd64-cpython-311\riskfolio\src
      creating build\lib.win-amd64-cpython-311\riskfolio\external
      copying riskfolio\external\cppfunctions.py -> build\lib.win-amd64-cpython-311\riskfolio\external
      copying riskfolio\external\__init__.py -> build\lib.win-amd64-cpython-311\riskfolio\external
      running build_ext
      building 'riskfolio.external.functions' extension
      creating build\temp.win-amd64-cpython-311
      creating build\temp.win-amd64-cpython-311\Release
      creating build\temp.win-amd64-cpython-311\Release\riskfolio
      creating build\temp.win-amd64-cpython-311\Release\riskfolio\external
      "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DVERSION_INFO=4.0.3 -IC:\Users\xxxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\include -IC:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\armadillo-11.4.1\include -IC:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include -IC:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\riskfolio\external -IC:\Users\xxxxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\pybind11\include -IC:\Users\xxxxx\AppData\Local\Programs\Python\Python311\include -IC:\Users\xxxxx\AppData\Local\Programs\Python\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" /EHsc /Tpriskfolio\external\cpp_functions_bindings.cpp /Fobuild\temp.win-amd64-cpython-311\Release\riskfolio\external\cpp_functions_bindings.obj /std:c++latest /EHsc /bigobj
      cpp_functions_bindings.cpp
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/cnumpy.h(391): error C2065: 'ssize_t': undeclared identifier 
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/cnumpy.h(391): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/cnumpy.h(391): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/cnumpy.h(391): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(73): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(73): error C3878: syntax error: unexpected token 'identifier' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(73): note: error recovery skipped: 'identifier = identifier  . . . identifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(74): error C2065: 'dims': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(74): error C3878: syntax error: unexpected token 'constant' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(74): note: error recovery skipped: 'constant'  
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(141): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(141): error C3878: syntax error: unexpected token 'identifier' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(141): note: error recovery skipped: 'identifier = identifier  . . . identifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(142): error C2065: 'dims': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(190): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(190): error C3878: syntax error: unexpected token 'identifier' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(190): note: error recovery skipped: 'identifier = identifier  . . . identifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(191): error C2065: 'dims': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(241): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(241): error C3878: syntax error: unexpected token 'identifier' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(241): note: error recovery skipped: 'identifier = identifier  . . . identifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/numpytoarma.h(242): error C2065: 'dims': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(64): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(64): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(64): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(64): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(65): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(65): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(65): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(65): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C3878: syntax error: unexpected token '>' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): note: error recovery skipped: '> ( constant'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C2760: syntax error: ')' was unexpected here; expected ';'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C3878: syntax error: unexpected token ')' following 'jump_statement'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): note: error recovery skipped: ') ,'       
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(70): error C2760: syntax error: '}' was unexpected here; expected ';'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(79): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(79): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(79): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(79): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(80): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(80): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(80): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(80): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): error C3878: syntax error: unexpected token '>' following 'expression'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): note: error recovery skipped: '> ( constant'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): error C2760: syntax error: ')' was unexpected here; expected ';'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): error C3878: syntax error: unexpected token ')' following 'jump_statement'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(85): note: error recovery skipped: ')'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(94): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(94): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(94): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(94): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(95): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(95): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(95): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(95): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(96): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(96): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(96): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(96): note: error recovery skipped: '>'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(110): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(110): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(110): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(110): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(111): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(111): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(111): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(111): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(112): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(112): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(112): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(112): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(113): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(113): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(113): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(113): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(129): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(129): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(129): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(129): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(130): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(130): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(130): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(130): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(135): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(135): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(135): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(135): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(135): error C2760: syntax error: '}' was unexpected here; expected ';'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(146): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(146): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(146): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(146): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(147): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(147): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(147): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(147): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(152): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(152): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(152): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(152): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(152): error C2760: syntax error: '}' was unexpected here; expected ';'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(163): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(163): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(163): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(163): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(164): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(164): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(164): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(164): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(165): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(165): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(165): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(165): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(180): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(180): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(180): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(180): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(181): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(181): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(181): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(181): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(182): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(182): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(182): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(182): note: error recovery skipped: '>'        
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(183): error C2065: 'ssize_t': undeclared identifier
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(183): error C2760: syntax error: 'ssize_t' was unexpected here; expected 'type specifier'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(183): error C3878: syntax error: unexpected token '>' following 'simple_declaration'
      C:\Users\xxxxx\AppData\Local\Temp\pip-install-isk_xoc5\riskfolio-lib_8df2510feb8a43da9d551dbe32bbd1f3\lib\carma-0.6.6\include\carma_bits/armatonumpy.h(196): fatal error C1003: error count exceeds 100; stopping compilation
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\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: legacy-install-failure

× Encountered error while trying to install package.
╰─> riskfolio-lib

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
jlchereau commented 1 year ago

Same error with Python 3.10.10

dcajasn commented 1 year ago

Hi @jlchereau, I was seeing this behavior with the latest versions of python, I'm going to release a new version with new models and functions this week that solves this problem.

dcajasn commented 1 year ago

Hi @jlchereau, try new version 4.1.0

jlchereau commented 1 year ago

v4.1.0 installs perfectly on Windows 11 with Python 3.10.10. Looking forward to eval. Thank you.