Building 0.11dev - issues
Hi all, I am attempting this install on Windows with
pip install . as per the instructions.
The last compiler I have access to, is Visual Studio 10, so according to scikit-learn, and digging through the compiler script, it should be the last one recognized for .dll compilation before Python 3.5. I have the following errors right at the end of the build. This is under a fresh Anaconda install, with all the packages updated. creating build\temp.win-amd64-3.4\Release\skimage\_shared C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Anaconda3\lib\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4\Release\skimagej Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\ amd64\cl.exe C:\Anaconda3\lib\site-packages\setuptools-12.2-py3.4.egg\setuptools\dist.py: 282: UserWarning: Normalizing '0.11dev' to '0.11.dev error: Command "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC-packages\numpy\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4ared\geometry.obj" failed with exit status 2 geometry.c C:\Anaconda3\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory ---------------------------------------- Rolling back uninstall of scikit-image Command "C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\cygwin64\\tmp\\pip-jkks4ooy-build\\setup.py';execenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\cygwin64\tmp\pip-xqr2l87y-recor --single-version-externally-managed --compile" failed with error code 1 in C:\cygwin64\tmp\pip-jkks4ooy-build Any suggestions? -Ben
Ben, It looks like you may need to delete the files (other than the .git folder), do a `git checkout .`, and then try `pip install .`. Regards, Steve On Monday, March 2, 2015 at 11:05:08 AM UTC-6, Benjamin Cichy wrote:
Hi all,
I am attempting this install on Windows with
pip install . as per the instructions.
The last compiler I have access to, is Visual Studio 10, so according to scikit-learn, and digging through the compiler script, it should be the last one recognized for .dll compilation before Python 3.5.
I have the following errors right at the end of the build. This is under a fresh Anaconda install, with all the packages updated. creating build\temp.win-amd64-3.4\Release\skimage\_shared
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Anaconda3\lib\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4\Release\skimagej Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ BIN\amd64\cl.exe C:\Anaconda3\lib\site-packages\setuptools-12.2-py3.4.egg\setuptools\dist. py:282: UserWarning: Normalizing '0.11dev' to '0.11.dev
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC-packages\numpy\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4ared\geometry.obj" failed with exit status 2
geometry.c
C:\Anaconda3\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory ---------------------------------------- Rolling back uninstall of scikit-image Command "C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\cygwin64\\tmp\\pip-jkks4ooy-build\\setup.py';execenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\cygwin64\tmp\pip-xqr2l87y-recor --single-version-externally-managed --compile" failed with error code 1 in C:\cygwin64\tmp\pip-jkks4ooy-build
Any suggestions? -Ben
So it looks like this is a bit obscure, and I probably should have noticed that when the io.h was missing, that a grete global problem was occuring. So I did solve this, and it will be of benefit for whoever searches on the on a missing X.h file. I searched for other failures in builds with msvc and it said to reinstall Visual Studio 10, which is used for the current builds. Re-installing VC10 resulted in the the same failure. I downloaded a VC10 cleaning tool, and tried to remove anything VC10 related from the registry, but some keys must be shared with other install. Anyway, the final solution is as follows: 1. Create a Windows virtual image 2. Install a clean VC10 on the Win7 + 3. Copy the VC10 folder and overwrite the VC10 folder on the target computer The difference in missing files ended up being 1GB+, so that's a pretty significant problem for anyone who has ever removed VC10 from their machine. -Ben On Monday, March 2, 2015 at 9:05:08 AM UTC-8, Benjamin Cichy wrote:
Hi all,
I am attempting this install on Windows with
pip install . as per the instructions.
The last compiler I have access to, is Visual Studio 10, so according to scikit-learn, and digging through the compiler script, it should be the last one recognized for .dll compilation before Python 3.5.
I have the following errors right at the end of the build. This is under a fresh Anaconda install, with all the packages updated. creating build\temp.win-amd64-3.4\Release\skimage\_shared
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Anaconda3\lib\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4\Release\skimagej Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ BIN\amd64\cl.exe C:\Anaconda3\lib\site-packages\setuptools-12.2-py3.4.egg\setuptools\dist. py:282: UserWarning: Normalizing '0.11dev' to '0.11.dev
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC-packages\numpy\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4ared\geometry.obj" failed with exit status 2
geometry.c
C:\Anaconda3\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory ---------------------------------------- Rolling back uninstall of scikit-image Command "C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\cygwin64\\tmp\\pip-jkks4ooy-build\\setup.py';execenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\cygwin64\tmp\pip-xqr2l87y-recor --single-version-externally-managed --compile" failed with error code 1 in C:\cygwin64\tmp\pip-jkks4ooy-build
Any suggestions? -Ben
Just to be completely thorough, I used this to install SP1 as well and the 7.1 SDK. SP1 install instructions <http://cowboyprogrammer.org/building-python-wheels-for-windows/> There are some installer issues for the redistributable packages that cause it to fail, and give a pretty poor reason in the log. -Ben On Monday, March 2, 2015 at 6:21:37 PM UTC-8, Benjamin Cichy wrote:
So it looks like this is a bit obscure, and I probably should have noticed that when the io.h was missing, that a grete global problem was occuring.
So I did solve this, and it will be of benefit for whoever searches on the on a missing X.h file.
I searched for other failures in builds with msvc and it said to reinstall Visual Studio 10, which is used for the current builds. Re-installing VC10 resulted in the the same failure. I downloaded a VC10 cleaning tool, and tried to remove anything VC10 related from the registry, but some keys must be shared with other install.
Anyway, the final solution is as follows:
1. Create a Windows virtual image 2. Install a clean VC10 on the Win7 + 3. Copy the VC10 folder and overwrite the VC10 folder on the target computer
The difference in missing files ended up being 1GB+, so that's a pretty significant problem for anyone who has ever removed VC10 from their machine.
-Ben
On Monday, March 2, 2015 at 9:05:08 AM UTC-8, Benjamin Cichy wrote:
Hi all,
I am attempting this install on Windows with
pip install . as per the instructions.
The last compiler I have access to, is Visual Studio 10, so according to scikit-learn, and digging through the compiler script, it should be the last one recognized for .dll compilation before Python 3.5.
I have the following errors right at the end of the build. This is under a fresh Anaconda install, with all the packages updated. creating build\temp.win-amd64-3.4\Release\skimage\_shared
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Anaconda3\lib\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry .c /Fobuild\temp.win-amd64-3.4\Release\skimagej Found executable C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\ BIN\amd64\cl.exe C:\Anaconda3\lib\site-packages\setuptools-12.2-py3.4.egg\setuptools\dist. py:282: UserWarning: Normalizing '0.11dev' to '0.11.dev
error: Command "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC-packages\numpy\core\include -IC:\Anaconda3\include -IC:\Anaconda3\include /Tcskimage\_shared\geometry.c /Fobuild\temp.win-amd64-3.4ared\geometry.obj" failed with exit status 2
geometry.c
C:\Anaconda3\include\pyconfig.h(68) : fatal error C1083: Cannot open include file: 'io.h': No such file or directory ---------------------------------------- Rolling back uninstall of scikit-image Command "C:\Anaconda3\python.exe -c "import setuptools, tokenize;__file__='C:\\cygwin64\\tmp\\pip-jkks4ooy-build\\setup.py';execenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record C:\cygwin64\tmp\pip-xqr2l87y-recor --single-version-externally-managed --compile" failed with error code 1 in C:\cygwin64\tmp\pip-jkks4ooy-build
Any suggestions? -Ben
Hi Benjamin On 2015-03-03 13:23:26, Benjamin Cichy <benjamin.cichy@gmail.com> wrote:
Just to be completely thorough, I used this to install SP1 as well and the 7.1 SDK.
SP1 install instructions <http://cowboyprogrammer.org/building-python-wheels-for-windows/>
There are some installer issues for the redistributable packages that cause it to fail, and give a pretty poor reason in the log.
It would be fantastic if we could bring out wheels for the 0.11 release that I am in the process of tagging. Do you have a suitable build setup to help with that? I wonder if we can set up an Appveyor instance to do it, similar to what Matthew Brett has done for the OSX wheels, but I haven't looked into it. Stéfan
participants (3)
-
Benjamin Cichy
-
Stefan van der Walt
-
Steven Silvester