我的包有以下设置文件:
from setuptools import setup, find_packages
requirements = [
"numpy >= 1.6.1",
"pyvisa >= 1.8",
"pydaqmx >= 1.3.2",
"pytest >= 3.0.2",
"flask >= 0.11.1",
"flask-socketio >= 2.7.1"
]
setup(name='hw_test_runner',
version='0.26',
description='My description',
author='Jason R. Jones',
author_email='my_email@email.com',
url='https://myurl.com/...',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
zip_safe=False)
当我尝试安装时,出现了一个numpy安装错误:
error: Setup script exited with error: Unable to find vcvarsall.bat
但我可以pip install numpy
进入那个环境,然后重新运行我的项目的设置,一切都很顺利。
我希望我的安装脚本能够自行正确安装numpy。有什么想法吗?
Ĵ