Comments (6)
Ah - maybe you need this incantation?
# Fix MSVC builds for 64-bit Python. See:
# http://stackoverflow.com/questions/32091593/cannot-install-windows-sdk-7-1-on-windows-10
- echo "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 > "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64/vcvars64.bat"
E.g. : https://github.com/MacPython/nipy-wheels/blob/master/appveyor.yml#L39
from multibuild.
You forgot to include the error itself:
ValueError: ['path']
from multibuild.
Regardless of the error, set DISTUTILS_DEBUG=1
envvar to get more logging that would show what's happening (https://stackoverflow.com/questions/13722706/how-to-get-error-log-of-a-disutils-setup-in-python): a build log isn't worth looking at unless something goes wrong, after all.
from multibuild.
The error means that the output of <path_to_vcvarsall.bat> <arch> & set
didn't contain the path
envvar (case-insensitive). This is very strange indeed.
You need to get this output yourself to find out what is wrong with it. Calling distutils.msvc9compiler.find_vcvarsall(distutils.msvc9compiler.get_build_version())
should give you the <path_to_vcvarsall.bat>
and distutils debug output -- the value of <arch>
.
from multibuild.
Test using SET DISTUTILS_DEBUG=1
before building the wheel:
https://ci.appveyor.com/project/biopython/biopython-wheels/build/1.0.55
Again this target failed:
https://ci.appveyor.com/project/biopython/biopython-wheels/build/1.0.55/job/qrkc6ua4k63jlptk
Not sure this tells me anything helpful:
SET DISTUTILS_DEBUG=1
python setup.py bdist_wheel
options (after parsing config files):
options (after parsing command line):
option dict for 'aliases' command:
{}
option dict for 'bdist_wheel' command:
{}
running bdist_wheel
Distribution.get_command_obj(): creating 'bdist_wheel' command object
Distribution.get_command_obj(): creating 'bdist' command object
Distribution.get_command_obj(): creating 'build' command object
Distribution.get_command_obj(): creating 'build_scripts' command object
running build
running build_py
Distribution.get_command_obj(): creating 'build_py' command object
creating build
creating build\lib.win-amd64-3.4
creating build\lib.win-amd64-3.4\Bio
copying Bio\bgzf.py -> build\lib.win-amd64-3.4\Bio
...
copying Bio\Entrez\DTDs\mathml2-qname-1.mod -> build\lib.win-amd64-3.4\Bio\Entrez\DTDs
running build_ext
Distribution.get_command_obj(): creating 'build_ext' command object
building 'Bio.cpairwise2' extension
Traceback (most recent call last):
File "setup.py", line 478, in <module>
install_requires=REQUIRES,
File "C:\Miniconda34-x64\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Miniconda34-x64\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Miniconda34-x64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Miniconda34-x64\lib\site-packages\wheel\bdist_wheel.py", line 179, in run
self.run_command('build')
File "C:\Miniconda34-x64\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Miniconda34-x64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Miniconda34-x64\lib\distutils\command\build.py", line 126, in run
self.run_command(cmd_name)
File "C:\Miniconda34-x64\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Miniconda34-x64\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "setup.py", line 206, in run
build_ext.run(self)
File "C:\Miniconda34-x64\lib\site-packages\setuptools\command\build_ext.py", line 50, in run
_build_ext.run(self)
File "C:\Miniconda34-x64\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "C:\Miniconda34-x64\lib\distutils\command\build_ext.py", line 448, in build_extensions
self.build_extension(ext)
File "C:\Miniconda34-x64\lib\site-packages\setuptools\command\build_ext.py", line 183, in build_extension
_build_ext.build_extension(self, ext)
File "C:\Miniconda34-x64\lib\distutils\command\build_ext.py", line 503, in build_extension
depends=ext.depends)
File "C:\Miniconda34-x64\lib\distutils\msvc9compiler.py", line 460, in compile
self.initialize()
File "C:\Miniconda34-x64\lib\distutils\msvc9compiler.py", line 371, in initialize
vc_env = query_vcvarsall(VERSION, plat_spec)
File "C:\Miniconda34-x64\lib\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall
return unpatched['query_vcvarsall'](version, *args, **kwargs)
File "C:\Miniconda34-x64\lib\distutils\msvc9compiler.py", line 287, in query_vcvarsall
raise ValueError(str(list(result.keys())))
ValueError: ['path']
Command exited with code 1
I'll try Matthew's suggestion next...
from multibuild.
That seems to be what I was missing, well spotted @matthew-brett - thank you!
https://ci.appveyor.com/project/biopython/biopython-wheels/build/1.0.56
Also I note that this seems not to cause any problems with 32bit targets, so does not need wrapping in an if-statement.
from multibuild.
Related Issues (20)
- How to select pypy3? HOT 8
- Build wheels for Python 3.10 RC1? HOT 3
- Testing manylinux_2_24 HOT 6
- Move to github actions for windows, mac, linux (x86, x86_64) HOT 5
- Port CI to Github Actions HOT 7
- get_modern_cmake - version 3?
- Cent OS 5 repos gone, manylinux1 builds fail
- Trouble building 3.10 wheels on OSX HOT 8
- Building thin arm64 wheels for MacOS 12+ HOT 5
- PLAT=x86_64 generates universal wheel for OSX & Python 3.10
- No supported wheels found for macOS arm64 HOT 1
- Recent git update has broken builds using docker images HOT 16
- Undefined symbol error with manylinux_2_28 wheel on Ubuntu 20.04 HOT 2
- LAPACK library is not found for macos builds HOT 5
- xenial_arm64v8:latest image is missing Py3.11 binary HOT 3
- Running safety prints a scary warning HOT 7
- platform = arm64 or universal2 both create x86_64 wheels HOT 1
- Use alpine 3.18 images by default for test
- python 3.11 and 3.12 builds failing on macosx and linux
- ./common_utils.sh: line 83: python: command not found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multibuild.