Не проходит сборка Cython из-за "Не удаётся найти powershell.exe"
Вот мой main.py:
from distutils.core import setup
from Cython.Build import cythonize
setup(ext_modules=cythonize('f.pyx'))
f.pyx:
import cython
cpdef int factorial(int n):
if n <= 1:
return 1
return n * factorial(n - 1)
В консоли пишу данную комманду:
python main.py build_ext --inplace
Консоль выводит:
Compiling f.pyx because it changed.
[1/1] Cythonizing f.pyx
D:\Всё\Кирилла\Проекты-PYTHON\PyCharm\Server\venv\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: D
:\Всё\Кирилла\Проекты-PYTHON\PyCharm\Server\f.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
running build_ext
И вылезает окно с ошибкой "Не удаётся найти программу "powershell.exe""