Code Monkey home page Code Monkey logo

Comments (8)

opadron avatar opadron commented on May 18, 2024 1

I think a better course of action would be to prepare a wiki page with the instructions and just link to that.

from scikit-build.

msarahan avatar msarahan commented on May 18, 2024

On Windows, you could also use chocolatey, or implement something like chocolatey to just do it for someone. All of the necessary compilers are packaged there. Not sure how far you want to go to hold someone's hand, though.

from scikit-build.

thewtex avatar thewtex commented on May 18, 2024

That's a good idea. We could just spit out some powershell commands for them to install via chocolatey...

from scikit-build.

jcfr avatar jcfr commented on May 18, 2024

Et voila.

In addition of complete documentation already available here: http://scikit-build.readthedocs.io/en/latest/generators.html

Following integration of #226 , the following message will also be displayed:

Linux messages

  • Distribution name and Install command known:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building Linux wheels for Python 2.7 requires a compiler (e.g gcc).
It can be installed using Ubuntu package manager:

  sudo apt-get install build-essential

To build compliant wheels, consider using the manylinux system described in PEP-513.
Get it with "dockcross/manylinux-x64" docker image:

  https://github.com/dockcross/dockcross#readme

For more details, please refer to scikit-build documentation:

  http://scikit-build.readthedocs.io/en/latest/generators.html#linux

********************************************************************************
  • Distribution Name known and Install command unknown:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building Linux wheels for Python 2.7 requires a compiler (e.g gcc).
But scikit-build does *NOT* know how to install it on Ubuntu

To build compliant wheels, consider using the manylinux system described in PEP-513.
Get it with "dockcross/manylinux-x64" docker image:

  https://github.com/dockcross/dockcross#readme

For more details, please refer to scikit-build documentation:

  http://scikit-build.readthedocs.io/en/latest/generators.html#linux

********************************************************************************
  • Distribution Name unknown and Install command unknown:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building Linux wheels for Python 2.7 requires a compiler (e.g gcc).

To build compliant wheels, consider using the manylinux system described in PEP-513.
Get it with "dockcross/manylinux-x64" docker image:

  https://github.com/dockcross/dockcross#readme

For more details, please refer to scikit-build documentation:

  http://scikit-build.readthedocs.io/en/latest/generators.html#linux

********************************************************************************

Windows messages

  • Python 2.7 to 3.2:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 2.7 requires Microsoft Visual Studio 2008.
Get it with "Microsoft Visual C++ Compiler for Python 2.7":

  http://aka.ms/vcpython27

********************************************************************************
  • Python 3.3 to 3.4:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.4 requires Microsoft Visual Studio 2010.
Get it with "Windows SDK for Windows 7 and .NET 4.0":

  https://www.microsoft.com/download/details.aspx?id=8279

********************************************************************************
  • Python 3.5 and above:
********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building windows wheels for Python 3.5 requires Microsoft Visual Studio 2015.
Get it with "Microsoft Visual C++ Build Tools":

  http://landinghub.visualstudio.com/visual-cpp-build-tools

Or with "Visual Studio 2015":

  https://visualstudio.com/

********************************************************************************

MacOSX message

********************************************************************************
scikit-build could not get a working generator for your system. Aborting build.

Building MacOSX wheels for Python 2.7 requires XCode.
Get it here:

  https://developer.apple.com/xcode/

********************************************************************************

from scikit-build.

jcfr avatar jcfr commented on May 18, 2024

Closing. Fixed by d592c80

As a side note, I couldn't find packages equivalent to the one documented on https://chocolatey.org/packages

from scikit-build.

jcfr avatar jcfr commented on May 18, 2024

Look like this package:

is equivalent to

Having a closer look, there seems different (at least comparing the SHA256):

./visualcppbuildtools_full.exe 1e1774869abd953d05d10372b7c08bfa0c76116f5c6df1f3d031418ccdcd8f7b 
./buildtools_full.exe          243eace2d62a208048f562c7f6ffed1912dbfd254d7f9ee00c7d760b36b42416

from scikit-build.

thewtex avatar thewtex commented on May 18, 2024

This is excellent. Briefly explains the issue, how to resolve it, and a link for further information and next steps. 💯

from scikit-build.

opadron avatar opadron commented on May 18, 2024

What @thewtex said. The messages strike a good balance between helping users and staying out of the way of power users. Very nice! 👍

from scikit-build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.