It seems that I have to install something for cython?
PS C:\Users\jmzhang\Downloads\Laughlin-Metropolis-1.0.2> python setup_cython.py build_ext --inplace
Compiling lib_laughlin_metropolis.pyx because it changed.
[1/1] Cythonizing lib_laughlin_metropolis.pyx
D:\Anaconda\Lib\site-packages\Cython\Compiler\Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: C:\Users\jmzhang\Downloads\Laughlin-Metropolis-1.0.2\lib_laughlin_metropolis.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
PS C:\Users\jmzhang\Downloads\Laughlin-Metropolis-1.0.2>
Yes. Cython generates C code so you need a C compiler to turn that C code into an extension module.
On Windows, the only C compiler thatâs really supported is MSVC so youâre strongly recommended to use that one. That limitation is imposed by Python rather than Cython.
I have installed visual studio 2022 to my D disk. But I still cannot let it work
PS C:\Users\jmzhang\Downloads\Laughlin-Metropolis-1.0.2> python setup_cython.py build_ext --inplace
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/