Код: Выделить всё
$ python -m virtualenv ~/envs/contourpy
$ source ~/envs/contourpy/bin/activate
# Compile contourpy
$ git clone https://github.com/contourpy/contourpy.git
$ cd contourpy
$ meson setup builddir
$ ninja -C builddir
$ meson install -C builddir --destdir /home/guest/envs/contourpy
Когда я пытаюсь запустить pip install . напрямую, я получаю следующие сообщения об ошибках:
Код: Выделить всё
Found ninja.EXE-1.11.1.git.kitware.jobserver-1 at C:/msys64/tmp/pip-build-env-0ba4jhpg/normal/bin/ninja.EXE
Visual Studio environment is needed to run Ninja. It is recommended to use Meson wrapper:
C:/msys64/tmp/pip-build-env-0ba4jhpg/overlay/bin/meson compile -C .
+ meson compile --ninja-args=['-v']
Подробнее здесь: https://stackoverflow.com/questions/791 ... und-by-pip
Мобильная версия