Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 在Windows\Linux CentOS for Python3上安装quickfix模块_Python 3.x_Windows_Centos_Quickfix_Python Wheel - Fatal编程技术网

Python 3.x 在Windows\Linux CentOS for Python3上安装quickfix模块

Python 3.x 在Windows\Linux CentOS for Python3上安装quickfix模块,python-3.x,windows,centos,quickfix,python-wheel,Python 3.x,Windows,Centos,Quickfix,Python Wheel,我一直在尝试在我的Windows机器和CentOs虚拟机上安装quickfix,但没有成功 ->在Windows 10中尝试: 已从成功安装控制盘文件 在选择控制盘文件之前检查了python和体系结构的版本,能够顺利安装。当我在命令提示符下启动python并运行帮助(“模块”)时,我能够看到quickfix(所有版本都已安装) 但是,当我启动Python并尝试导入quickfix时 Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [

我一直在尝试在我的Windows机器和CentOs虚拟机上安装quickfix,但没有成功

->在Windows 10中尝试: 已从成功安装控制盘文件 在选择控制盘文件之前检查了python和体系结构的版本,能够顺利安装。当我在命令提示符下启动python并运行帮助(“模块”)时,我能够看到quickfix(所有版本都已安装)

但是,当我启动Python并尝试导入quickfix时

Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import quickfix as qf
Traceback (most recent call last):
  File "C:\Python37\lib\site-packages\quickfix.py", line 18, in swig_import_helper
    return importlib.import_module(mname)
  File "C:\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 670, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 583, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 1043, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: DLL load failed: The specified module could not be found.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python37\lib\site-packages\quickfix.py", line 21, in <module>
    _quickfix = swig_import_helper()
  File "C:\Python37\lib\site-packages\quickfix.py", line 20, in swig_import_helper
    return importlib.import_module('_quickfix')
  File "C:\Python37\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: The specified module could not be found.
win32上的Python 3.7.3(v3.7.3:ef4ec6ed12,2019年3月25日,22:22:05)[MSC v.1916 64位(AMD64)] 有关详细信息,请键入“帮助”、“版权”、“信用证”或“许可证”。 >>>作为qf导入quickfix 回溯(最近一次呼叫最后一次): swig\u import\u helper中第18行的文件“C:\Python37\lib\site packages\quickfix.py” 返回导入lib.import\u模块(mname) 文件“C:\Python37\lib\importlib\\uuuu init\uuuuu.py”,第127行,在导入模块中 return _bootstrap._gcd_import(名称[级别:],包,级别) 文件“”,第1006行,在\u gcd\u导入中 文件“”,第983行,在_find_和_load中 文件“”,第967行,在“查找”和“加载”中解锁 文件“”,第670行,在\u加载\u解锁 文件“”,第583行,位于\u规范的模块\u中 文件“”,第1043行,在创建_模块中 文件“”,第219行,在“调用”中,删除了“帧” ImportError:DLL加载失败:找不到指定的模块。 在处理上述异常期间,发生了另一个异常: 回溯(最近一次呼叫最后一次): 文件“”,第1行,在 文件“C:\Python37\lib\site packages\quickfix.py”,第21行,在 _quickfix=swig\u import\u helper() swig\u import\u helper中的文件“C:\Python37\lib\site packages\quickfix.py”,第20行 返回importlib.import\u模块(“快速修复”) 文件“C:\Python37\lib\importlib\\uuuu init\uuuuu.py”,第127行,在导入模块中 return _bootstrap._gcd_import(名称[级别:],包,级别) ImportError:DLL加载失败:找不到指定的模块。 是否有人可以帮助提供有关如何在Windows上安装quickfix的指导

…然而,我确实听说quickfix不一定适用于Windows,它更适合Linux环境。我尝试在CentOs中运行pip安装,确保安装了所有依赖项、开发工具和正确的Python版本。不过,运气不好

在CentOS中获取以下错误:

[nickn@new-host bin]$ sudo pip install quickfix
Collecting quickfix
  Using cached quickfix-1.15.1.tar.gz (1.5 MB)
Using legacy 'setup.py install' for quickfix, since package 'wheel' is not installed.
Installing collected packages: quickfix
    Running setup.py install for quickfix ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4Bp3Vy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python2.7/quickfix
         cwd: /tmp/pip-install-nJvzBo/quickfix/
    Complete output (38 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying quickfix.py -> build/lib.linux-x86_64-2.7
    copying quickfixt11.py -> build/lib.linux-x86_64-2.7
    copying quickfix40.py -> build/lib.linux-x86_64-2.7
    copying quickfix41.py -> build/lib.linux-x86_64-2.7
    copying quickfix42.py -> build/lib.linux-x86_64-2.7
    copying quickfix43.py -> build/lib.linux-x86_64-2.7
    copying quickfix44.py -> build/lib.linux-x86_64-2.7
    copying quickfix50.py -> build/lib.linux-x86_64-2.7
    copying quickfix50sp1.py -> build/lib.linux-x86_64-2.7
    copying quickfix50sp2.py -> build/lib.linux-x86_64-2.7
    running build_ext
    Testing for std::tr1::shared_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -IC++ -I/usr/include/python2.7 -c test_std_tr1_shared_ptr.cpp -o test_std_tr1_shared_ptr.o
    ...found
    Testing for std::shared_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++0x -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -IC++ -I/usr/include/python2.7 -c test_std_shared_ptr.cpp -o test_std_shared_ptr.o
    ...found
    Testing for std::unique_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++0x -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -IC++ -I/usr/include/python2.7 -c test_std_unique_ptr.cpp -o test_std_unique_ptr.o
    ...found
    building '_quickfix' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/C++
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/HttpServer.cpp -o build/temp.linux-x86_64-2.7/C++/HttpServer.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/TimeRange.cpp -o build/temp.linux-x86_64-2.7/C++/TimeRange.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/ThreadedSSLSocketAcceptor.cpp -o build/temp.linux-x86_64-2.7/C++/ThreadedSSLSocketAcceptor.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/ThreadedSocketInitiator.cpp -o build/temp.linux-x86_64-2.7/C++/ThreadedSocketInitiator.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/QuickfixPython.cpp -o build/temp.linux-x86_64-2.7/C++/QuickfixPython.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    C++/QuickfixPython.cpp:175:21: fatal error: Python.h: No such file or directory
     # include <Python.h>
                         ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4Bp3Vy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python2.7/quickfix Check the logs for full command output.
[nickn@new-主机箱]$sudo pip安装快速修复程序
收集快速修复
使用缓存的quickfix-1.15.1.tar.gz(1.5 MB)
由于未安装软件包“wheel”,因此正在为quickfix使用旧版“setup.py install”。
安装收集的软件包:quickfix
正在运行针对quickfix的setup.py安装。。。错误
错误:命令出错,退出状态为1:
命令:/usr/bin/python2-u-c'import sys,setuptools,tokenize;sys.argv[0]=“””/tmp/pip install nJvzBo/quickfix/setup.py“”__文件''''/tmp/pip install nJvzBo/quickfix/setup.py''';f=getattr(标记化,“'open'”,open)(\uuuuu文件);code=f.read().replace(“\r\n”“”、“\n”“”);f、 close();exec(compile(code,_ufile,“'exec’”)'安装--record/tmp/pip-record-4Bp3Vy/install-record.txt--外部管理的单一版本--编译--install headers/usr/include/python2.7/quickfix
cwd:/tmp/pip安装nJvzBo/quickfix/
完整输出(38行):
正在运行的安装
运行构建
运行build\u py
创建构建
创建build/lib.linux-x86_64-2.7
正在复制quickfix.py->build/lib.linux-x86_64-2.7
正在复制quickfixt11.py->build/lib.linux-x86_64-2.7
正在复制quickfix40.py->build/lib.linux-x86_64-2.7
正在复制quickfix41.py->build/lib.linux-x86_64-2.7
正在复制quickfix42.py->build/lib.linux-x86_64-2.7
正在复制quickfix43.py->build/lib.linux-x86_64-2.7
正在复制quickfix44.py->build/lib.linux-x86_64-2.7
复制quickfix50.py->build/lib.linux-x86_64-2.7
正在复制quickfix50sp1.py->build/lib.linux-x86_64-2.7
正在复制quickfix50sp2.py->build/lib.linux-x86_64-2.7
运行build_ext
测试std::tr1::共享\u ptr。。。
gcc-pthread-fno严格别名-O2-g-pipe-Wall-Wp,-D_-FORTIFY_SOURCE=2-feexceptions-fstack protector strong--param=ssp buffer size=4-grecord gcc switches-m64-mtune=generic-D_GNU_-SOURCE-fPIC-fwrapv-DNDEBUG-O2-g-pipe-Wall-Wp,-D_-FORTIFY_-SOURCE=2-feexceptions-fstack-protector-strong-param=ssp buffer size=4-grecord-gcc switches-m64-mtune=generic-D_-GNU-SOURCE-fPIC-fwrapv-fPIC-DPYTHON_-MAJOR_-VERSION=2-IC++-I/usr/include/python2.7-c-test_std_-tr1_共享_-ptr.cpp-o test_std_-tr1_共享ptr.o
建立
测试std::shared_ptr。。。
gcc-pthread-fno严格别名-O2-g-pipe-Wall-Wp,-D_-FORTIFY_SOURCE=2-feexceptions-fstack protector strong--param=ssp buffer size=4-grecord gcc switches-m64-mtune=generic-D_GNU_-SOURCE-fPIC-fwrapv-DNDEBUG-O2-g-pipe-Wall-Wp,-D_-FORTIFY_-SOURCE=2-feexceptions-fstack-protector-strong-param=ssp buffer size=4-grecord-gcc开关-m64-mtune=generic-D_-GNU-SOURCE-fPIC-fwrapv-fPIC-std=c++0x-DPYTHON_-MAJOR版本=2-DHAVE_-std_-TR1_-PTR-IC++-I/usr/include/python2.7-c test_std_-共享_-PTR.cpp-o测试_-std_共享_-PTR.o
建立
测试std::唯一性\u ptr。。。
gcc-pthread-fno严格别名-O2-g-pipe-Wall-Wp,-D_-FORTIFY_SOURCE=2-feexceptions-fstack protector strong--param=ssp buffer size=4-grecord gcc switches-m64-mtune=generic-D_GNU_-SOURCE-fPIC-fwrapv-DNDEBUG-O2-g-pipe-Wall-Wp,-D_-FORTIFY_-SOURCE=2-feexceptions-fstack-protector-strong-param=ssp buffer size=4-grecord-gcc-m64-mtune=generic-D_-GNU-SOURCE-fPIC-fwrapv-fPIC-std=c++0x-DPYTHON_-MAJOR_-VERSION=2-DHAVE_-std_-TR1_共享_-PTR-DHAVE_-std_共享_-PTR-IC++-I/usr/include/python2.7-c测试(std(独特)
建立
正在生成“\u快速修复”扩展
创建build/temp.linux-x86_64-2.7
创建build/temp.lin
[nickn@new-host bin]$ sudo pip install quickfix
Collecting quickfix
  Using cached quickfix-1.15.1.tar.gz (1.5 MB)
Using legacy 'setup.py install' for quickfix, since package 'wheel' is not installed.
Installing collected packages: quickfix
    Running setup.py install for quickfix ... error
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4Bp3Vy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python2.7/quickfix
         cwd: /tmp/pip-install-nJvzBo/quickfix/
    Complete output (38 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying quickfix.py -> build/lib.linux-x86_64-2.7
    copying quickfixt11.py -> build/lib.linux-x86_64-2.7
    copying quickfix40.py -> build/lib.linux-x86_64-2.7
    copying quickfix41.py -> build/lib.linux-x86_64-2.7
    copying quickfix42.py -> build/lib.linux-x86_64-2.7
    copying quickfix43.py -> build/lib.linux-x86_64-2.7
    copying quickfix44.py -> build/lib.linux-x86_64-2.7
    copying quickfix50.py -> build/lib.linux-x86_64-2.7
    copying quickfix50sp1.py -> build/lib.linux-x86_64-2.7
    copying quickfix50sp2.py -> build/lib.linux-x86_64-2.7
    running build_ext
    Testing for std::tr1::shared_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -IC++ -I/usr/include/python2.7 -c test_std_tr1_shared_ptr.cpp -o test_std_tr1_shared_ptr.o
    ...found
    Testing for std::shared_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++0x -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -IC++ -I/usr/include/python2.7 -c test_std_shared_ptr.cpp -o test_std_shared_ptr.o
    ...found
    Testing for std::unique_ptr...
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -std=c++0x -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -IC++ -I/usr/include/python2.7 -c test_std_unique_ptr.cpp -o test_std_unique_ptr.o
    ...found
    building '_quickfix' extension
    creating build/temp.linux-x86_64-2.7
    creating build/temp.linux-x86_64-2.7/C++
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/HttpServer.cpp -o build/temp.linux-x86_64-2.7/C++/HttpServer.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/TimeRange.cpp -o build/temp.linux-x86_64-2.7/C++/TimeRange.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/ThreadedSSLSocketAcceptor.cpp -o build/temp.linux-x86_64-2.7/C++/ThreadedSSLSocketAcceptor.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/ThreadedSocketInitiator.cpp -o build/temp.linux-x86_64-2.7/C++/ThreadedSocketInitiator.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DPYTHON_MAJOR_VERSION=2 -DHAVE_STD_TR1_SHARED_PTR -DHAVE_STD_SHARED_PTR -DHAVE_STD_UNIQUE_PTR -IC++ -I/usr/include/python2.7 -c C++/QuickfixPython.cpp -o build/temp.linux-x86_64-2.7/C++/QuickfixPython.o -std=c++0x -Wno-deprecated -Wno-unused-variable -Wno-deprecated-declarations -Wno-maybe-uninitialized
    C++/QuickfixPython.cpp:175:21: fatal error: Python.h: No such file or directory
     # include <Python.h>
                         ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"'; __file__='"'"'/tmp/pip-install-nJvzBo/quickfix/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-4Bp3Vy/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python2.7/quickfix Check the logs for full command output.
C:\Users\NickN>python
Python 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import quickfix as qf
>>>