-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install on Python 2.7.9 (x64) + Windows 7 x64 #13
Comments
It's a compiler toolchain problem of some sort. Python on Windows is compiled with Microsoft's compiler, and while distutils contains various hacks to permit building extension modules with MinGW, they aren't perfect. A Google search found some other people getting the same errors with other extension modules, but I didn't immediately find a reliable-looking solution to your problem. You may have better luck. If you can't get the build working, you could install OpenSlide Python with |
Thank you for your comments Benjamin. It is very unfortunate. I suppose that is the reason Christopher Gohlke supplies pre-compiled package installers for Windows. Microsoft's compiler is also present on the system, but for reasons unknown distutils is choosing to use MingGW. |
You can configure distutils to use a particular compiler. If Given the difficulty of building extension modules on Windows, perhaps we should indeed provide binary packages. I will investigate whether that is practical. |
I now have an AppVeyor project to build Python wheels for Windows, so we'll be providing those from now on. I've uploaded wheels for OpenSlide Python 1.1.0 to GitHub and PyPI. |
Have the same error when trying to install another repo as a dependency with setup.py which contains openslide-python in install_requires |
@Vozf Are you installing using pip? What platform and what version of Python do you have? |
Log:
This cannot be correct since gcc is installed on this machine:
Any ideas what is going on?
The text was updated successfully, but these errors were encountered: