HBClab / NiBetaSeries

Nipype implementation of BetaSeries Correlations (Beta)
https://nibetaseries.readthedocs.io
MIT License
32 stars 28 forks source link

error installing nibetaseries: Microsoft Visual C++ 14.0 required #162

Open dillancellier opened 5 years ago

dillancellier commented 5 years ago

Describe the bug When using pip install to download nibetaseries (with Windows 10 OS), throws an error:

Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/

To Reproduce

  1. Windows 10 terminal, working within a python environment
  2. Navigated to nibetaseries directory
  3. pip install -e .
  4. got error

Expected behavior complete installion of nibetaseries

Desktop (please complete the following information):

nibetaseries version

Additional context Downloaded Microsoft Visual from https://visualstudio.microsoft.com/downloads/

In "workloads" installation options, installed Universal Windows Platform Development Added these optional installations (right panel): --C++ (v142) Universal Windows Platform tools --C++ (v141) Universal Windows Platform tools --Windows 10 SDK (10.0.18362.0)

Not sure which one made the difference!

jdkent commented 5 years ago

Thanks for putting this up, to get started, I think microsoft has a good page walking one through the process, and this paragraph in particular for getting just what you need:

For core C++ support, choose the "Desktop development with C++" workload. It comes with the default core editor, which includes basic code editing support for over 20 languages, the ability to open and edit code from any folder without requiring a project, and integrated source code control.

This will need to be added in the documentation (but be aware, this still does not make windows a viable option for development).

jdkent commented 5 years ago

add this warning to installation.rst

.. warning:: 
    You will likely run into issues if you are trying to install this 
    package on a Windows Operating System. 
    If you wish to attempt to install nibetaseries, you will
    have to install `Microsoft Visual C++ Build Tools
    <https://docs.microsoft.com/en-us/cpp/build/vscpp-step-0-installation?view=vs-2019>`_.
    This will not guarantee successful installation, but it is a prerequisite.