Skip to content

Compilation problem #18

@inzhevatkin

Description

@inzhevatkin

Hello.
I want to compile code for using in python project in Windows 10. I work in msys command shell.

  1. I downloaded scattnlay project.
  2. Run python -m pip install numpy command. Output is 'Successfully installed numpy-1.17.2'.
  3. Run make ext command.
    Output:
    '/c/Users/konstantin/AppData/Local/Programs/Python/Python37-32/python.exe' setup.py build_ext --inplace
    Traceback (most recent call last):
    File "setup.py", line 44, in
    import pybind11 as pb
    ModuleNotFoundError: No module named 'pybind11'
    make: *** [ext] Error 1
  4. Run pip install pybind11 command. Output is 'Successfully installed pybind11-2.4.2'.
  5. Run make ext command.
    Output:
    '/c/Users/konstantin/AppData/Local/Programs/Python/Python37-32/python.exe' setup.py build_ext --inplace
    running build_ext
    building 'scattnlay_dp' extension
    error: Unable to find vcvarsall.bat
    make: *** [ext] Error 1

Could you help me. Maybe I made mistakes in the earlier steps. And I have no idea about installing python-all-dev and python-numpy-dev. Is it enough to call a command python -m pip install numpy?

I also tried to install packege python-scattnlay (v. 2.2) in Pycharm project. But error occured (error: Microsoft Visual C++ 14.0 is required). Is it possible to avoid installation Microsoft Visual C++ 14.0 if I have gcc compiler.

Thank you in advance.

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