今天尝试在Linux下运行一个Python项目,在安装requirements.txt时报错

执行命令如下:

[root@VM-16-8-centos cve-search]# pip3 install -r requirements.txt

报错如下:

running install
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/gevent
copying src/gevent/pywsgi.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/selectors.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_config.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_util_py2.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_imap.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/pool.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_hub_local.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/event.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_threading.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_util.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/thread.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_ssl2.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_tracer.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_compat.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/exceptions.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/fileobject.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_semaphore.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/ssl.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/backdoor.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/__init__.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_sslgte279.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/contextvars.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/resolver_thread.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/lock.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/signal.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/subprocess.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/queue.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/baseserver.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_waiter.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_abstract_linkable.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/monkey.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_socket3.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/resolver_ares.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_tblib.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_ssl3.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_hub_primitives.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/events.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_fileobjectposix.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/timeout.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/greenlet.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_patcher.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_ident.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/server.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/builtins.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_fileobjectcommon.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/threading.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/local.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/util.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_greenlet_primitives.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/select.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_monitor.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/win32util.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/hub.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/ares.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_socketcommon.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/socket.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/threadpool.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_socket2.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/time.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/os.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/_interfaces.py -> build/lib.linux-x86_64-3.6/gevent
copying src/gevent/core.py -> build/lib.linux-x86_64-3.6/gevent
creating build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/sysinfo.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/resources.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/travis.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/__init__.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/exception.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/params.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/sockets.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/testrunner.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/skipping.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/patched_tests_setup.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/errorhandler.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/timing.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/support.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/openfiles.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/switching.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/modules.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/leakcheck.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/util.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/hub.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/monkey_test.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/testcase.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/flaky.py -> build/lib.linux-x86_64-3.6/gevent/testing
copying src/gevent/testing/six.py -> build/lib.linux-x86_64-3.6/gevent/testing
creating build/lib.linux-x86_64-3.6/gevent/libuv
copying src/gevent/libuv/__init__.py -> build/lib.linux-x86_64-3.6/gevent/libuv
copying src/gevent/libuv/watcher.py -> build/lib.linux-x86_64-3.6/gevent/libuv
copying src/gevent/libuv/_corecffi_build.py -> build/lib.linux-x86_64-3.6/gevent/libuv
copying src/gevent/libuv/loop.py -> build/lib.linux-x86_64-3.6/gevent/libuv
creating build/lib.linux-x86_64-3.6/gevent/_ffi
copying src/gevent/_ffi/__init__.py -> build/lib.linux-x86_64-3.6/gevent/_ffi
copying src/gevent/_ffi/watcher.py -> build/lib.linux-x86_64-3.6/gevent/_ffi
copying src/gevent/_ffi/callback.py -> build/lib.linux-x86_64-3.6/gevent/_ffi
copying src/gevent/_ffi/loop.py -> build/lib.linux-x86_64-3.6/gevent/_ffi
creating build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/thread.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/__init__.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/_addresses.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/dnspython.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/ares.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/blocking.py -> build/lib.linux-x86_64-3.6/gevent/resolver
copying src/gevent/resolver/_hostsfile.py -> build/lib.linux-x86_64-3.6/gevent/resolver
creating build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_udp_server.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threadpool.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__examples.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__hub_join.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_builtins_future.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__hub_join_timeout.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__refcount.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__local.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__select.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_monkey_in_thread.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_async.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_wsgiserver.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/__main__.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_no_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_sigchld_2.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__ares_timeout.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__makefile_ref.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__iwait.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_multiple_imports.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__resolver_dnspython.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socketpair.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__pool.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue467.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__real_greenlet.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__exc_info.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_patched_local.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_dns.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issues461_471.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_blocks_at_top_level.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__queue.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_callback.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_holding_lock_while_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_udp_client.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/__init__.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__nondefaultloop.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__signal.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_watcher.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_imports_at_top_level.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__semaphore.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__thread.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_echoserver.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__getaddrinfo_import.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__backdoor.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_ssl_warning3.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__event.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue330.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__destroy.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_close.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_ssl_warning2.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__hub.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_send_memoryview.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__subprocess_poll.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_portforwarder.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_timer.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__events.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__api.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_sigchld.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__close_backend_fd.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_timeout.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue1686.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__memleak.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_import_patch.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue230.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__refcount_core.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__import_wait.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test___monitor.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_ssl.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_module_run.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_before_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__greenio.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_selectors.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/known_failures.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__compat.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__sleep0.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_fork.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_import_wait.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__greenness.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue6.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__server_pywsgi.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_vs_settrace.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__timeout.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_native_before_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__systemerror.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__api_timeout.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test___config.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__subprocess_interrupted.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__environ.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__subprocess.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_loop_run.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__GreenletExit.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test___monkey_patching.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__core_stat.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_webproxy.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__import_blocking_in_greenlet.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_import_import_patch.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__fileobject.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__execmodules.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__joinall.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_select.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue112.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/lock_tests.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__os.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test___ident.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading_2.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__loop_callback.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threadpool_executor_patched.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__threading.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__lock.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/getaddrinfo_module.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_hub_in_thread.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue639.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__ares_host_result.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue600.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__greenlet.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__order.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__example_wsgiserver_ssl.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue607.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__pywsgi.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_dns6.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__doctests.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__destroy_default_loop.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__server.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_sigchld_3.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__ssl.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_ex.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__issue_728.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__selectors.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/_imports_imports_at_top_level.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_ssl_warning.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_futures_thread.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__contextvars.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_logging.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__util.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey_queue.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__greenletset.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__all__.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__socket_errors.py -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test__monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests
creating build/lib.linux-x86_64-3.6/gevent/libev
copying src/gevent/libev/corecffi.py -> build/lib.linux-x86_64-3.6/gevent/libev
copying src/gevent/libev/__init__.py -> build/lib.linux-x86_64-3.6/gevent/libev
copying src/gevent/libev/watcher.py -> build/lib.linux-x86_64-3.6/gevent/libev
copying src/gevent/libev/_corecffi_build.py -> build/lib.linux-x86_64-3.6/gevent/libev
creating build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/issue302monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/__main__.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/issue1526_with_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/__init__.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/script.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/threadpool_no_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/issue1526_no_monkey.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
copying src/gevent/tests/monkey_package/threadpool_monkey_patches.py -> build/lib.linux-x86_64-3.6/gevent/tests/monkey_package
creating build/lib.linux-x86_64-3.6/gevent/testing/coveragesite
copying src/gevent/testing/coveragesite/sitecustomize.py -> build/lib.linux-x86_64-3.6/gevent/testing/coveragesite
copying src/gevent/tests/keycert.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/2_7_keycert.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/https_svn_python_org_root.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/badkey.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/wrongcert.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/badcert.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/nullcert.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/sha256.pem -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/server.crt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test_server.crt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/tests_that_dont_monkeypatch.txt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/tests_that_dont_do_leakchecks.txt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/hosts_file.txt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/tests_that_dont_use_resolver.txt -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/test_server.key -> build/lib.linux-x86_64-3.6/gevent/tests
copying src/gevent/tests/server.key -> build/lib.linux-x86_64-3.6/gevent/tests
running build_ext
generating cffi module 'build/temp.linux-x86_64-3.6/gevent.libuv._corecffi.c'
creating build/temp.linux-x86_64-3.6
Running '(cd "/tmp/pip-build-zdmqucai/gevent/deps/libev" && sh ./configure -C > configure-output.txt )' in /tmp/pip-build-zdmqucai/gevent
generating cffi module 'build/temp.linux-x86_64-3.6/gevent.libev._corecffi.c'
Not configuring libev, 'config.h' already exists
Not configuring libev, 'config.h' already exists
building 'gevent.libev.corecext' extension
creating build/temp.linux-x86_64-3.6/src
creating build/temp.linux-x86_64-3.6/src/gevent
creating build/temp.linux-x86_64-3.6/src/gevent/libev
gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -DLIBEV_EMBED=1 -DEV_COMMON= -DEV_CLEANUP_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_PERIODIC_ENABLE=0 -DEV_USE_REALTIME=1 -DEV_USE_MONOTONIC=1 -DEV_USE_FLOOR=1 -I/usr/include/python3.6m -I/usr/include/python3.6m -I/tmp/pip-build-zdmqucai/gevent/deps -I/tmp/pip-build-zdmqucai/gevent/src/gevent/libev -I/tmp/pip-build-zdmqucai/gevent/deps/libev -Isrc/gevent -Isrc/gevent/libev -Isrc/gevent/resolver -I. -I/usr/include/python3.6m -c src/gevent/libev/corecext.c -o build/temp.linux-x86_64-3.6/src/gevent/libev/corecext.o
src/gevent/libev/corecext.c:95:10: fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1 ----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-zdmqucai/gevent/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-cazpmkxb-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-zdmqucai/gevent/

大概意思是在安装gevent时发生错误,找不到Python.h文件

gevent是Python web开发时保证高并发性能的一个工具,导致此错误的原因大概是没有安装python-dev

于是去安装python-dev

直接安装:

sudo yum install python-dev

又报错:

Repository epel is listed more than once in the configuration
Last metadata expiration check: 0:35:25 ago on Fri 14 May 2021 03:39:58 PM CST.
No match for argument: python-dev
Error: Unable to find a match: python-dev

换一种安装方式,

我的是CentOS8.2(支持yum的系统都行),可以采用以下命令先找到包

yum search python | grep -i devel

安装:

yum  install python36-devel.x86_64

参考博客:

https://blog.csdn.net/xiaoguaihai/article/details/43157415?utm_medium=distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromMachineLearnPai2~default-2.control&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~BlogCommendFromMachineLearnPai2~default-2.control

https://i.cnblogs.com/posts/edit

记录一个错误:Unable to find a match: python-dev的更多相关文章

  1. 11月28日 记录一个错误❌,看ruby on rails --active support core extensions--present? && presence && duplicable?

    ❌错误 1. @job.resume.count: 提示❌   undefined method `resume' ✅: @job.resumes.count  //解释:调出某一个job的所有简历, ...

  2. 记录一个错误,在bundle install时候出现 shoulda-mathcers bundle install fails with git error

    复制粘体错误到google.找到解决方案: https://github.com/thoughtbot/shoulda-matchers/issues/1057 GIT remote: https:/ ...

  3. 开发错误记录8:Unable to instantiate application com

    开发错误记录8:Unable to instantiate application com.android.tools.fd.runtime.BootstrapApplication 这是因为在And ...

  4. 记录一个bootstrap惨痛的错误

    记录一个bootstrap的错误,这个错误因为我删除了一个class就导致了页面上显示的错误,这是一个惨痛的教训,特此记录,提醒自己在做前端的修改时,一定要慎之又慎.如果真的要做改动,改完之后也要测一 ...

  5. 记录Python类与继承的一个错误

    今天在学python的类与继承的时候遇到一个错误,原来是自己在ctrl+c  ctrl+v的时候漏了一个括号 class Car(): def __init__(self,make,year,mode ...

  6. CentOS8 AnolisOS8 yum安装 No match for argument: htop Error: Unable to find a match: htop

    这里写自定义目录标题 CentOS8 AnolisOS8 yum安装失败 安装失败原因 阿里云官方镜像主页 正确的操作步骤 学习交流 My Blog 技术交流 CentOS8 AnolisOS8 yu ...

  7. Mongodb:修改文档结构后出现错误:Element '***' does not match any field or property of class ***.

    Mongodb:修改文档结构后出现错误:Element '***' does not match any field or property of class ***. Mongodb是一种面向文档的 ...

  8. DBMS_ERRLOG记录DML错误日志(一)

    当一个DML运行的时候,如果遇到了错误,则这条语句会整个回滚,就好像没有执行过.不过对于一个大的DML而言,如果个别数据错误而导致整个语句的回滚,会浪费很多的资源和运行时间,从10g开始Oracle支 ...

  9. JMeter一个错误the target server failed to respond--JMeter坑

    问题:1.在测试一个http景象,特别是集波动TPS时刻,出现了一个错误.它现在是一个必须错误(压力顺利时却零星的错误,甚至很少见): 每次必现错误(開始一直怀疑是网络或程序的问题)   2.失败事务 ...

  10. 实例学习SSIS(四)--使用日志记录和错误流重定向

    原文:实例学习SSIS(四)--使用日志记录和错误流重定向 导读: 实例学习SSIS(一)--制作一个简单的ETL包 实例学习SSIS(二)--使用迭代 实例学习SSIS(三)--使用包配置 实例学习 ...

随机推荐

  1. [转帖]cx_Oracle.DatabaseError: ORA-28040

    背景: python第三方库cx-Oracle连接Oracle数据库报错 ORA-28040 cx_Oracle.DatabaseError: ORA-28040: No matching authe ...

  2. [转帖]Arm CPU风起,补齐国产大芯片最后一块拼图 | 甲子光年

    https://rmh.pdnews.cn/Pc/ArtInfoApi/article?id=30960014 最近一年,国产CPU火了. 今年6月24日,龙芯中科在科创板挂牌上市,公司主营自研Loo ...

  3. [转帖]【k8s】5、资源管理命令-声明式

    文章目录 一. yaml和json介绍 1.yuml语言介绍 2.k8s支持的文件格式 3.yaml和json的主要区别 二.声明式对象管理 1.命令式对象配置 2.声明式对象配置 3.声明式对象管理 ...

  4. 通过写脚本的方式自动获取JVM内的进程堆栈信息等内容

    公司转java之后 经常会遇到java进程占用CPU特别多的情况. 每次连上机器进行处理都比较慢了. 索性自己写一个脚本, 把想要查询的信息直接汇总进去. 这样的话 就简单很多了. 脚本也很简单主要如 ...

  5. Opentelemetry Metrics SDK

    Metrics SDK 目录 Metrics SDK 目标 期望 SDK 术语 数据流图表 要求 SDK MeterProvider Shutdown SDK:Instrument注册 SDK: Re ...

  6. [Python] 基于RapidFuzz库实现字符串模糊匹配

    RapidFuzz是一个用于快速字符串模糊匹配的Python库,它能够快速计算两个字符串之间的相似度,并提供与Fuzzywuzzy(已停用)和TheFuzz(Fuzzywuzzy的升级版)类似的接口. ...

  7. vue3获取数据的注意点

    场景描述 在使用vue3的时候.我们很多人喜欢一个页面分成几个几个部分来写 这样做的目的是为了区分. 做的彼此的逻辑互相独立,互不干扰 但是有的时候,我们可能会去获取不属于自己区域的函数 这个时候我们 ...

  8. 【JS 逆向百例】医保局 SM2+SM4 国产加密算法实战

    关注微信公众号:K哥爬虫,QQ交流群:808574309,持续分享爬虫进阶.JS/安卓逆向等技术干货! 声明 本文章中所有内容仅供学习交流,抓包内容.敏感网址.数据接口均已做脱敏处理,严禁用于商业用途 ...

  9. 常见的for循环优化方式

    ?> 前言 经常使用一些循环,进行耗时计算的操作,特别是 for 循环,它是一种重复计算的操作,如果处理不好,耗时就比较大,如果处理书写得当,将大大提高效率,下面总结几条 for 循环的常见优化 ...

  10. IDEA破解激活

    !!!不要使用最新2021.2.3以后的版本,没有30天免费试用.推荐使用2021年之前的版本!!! 1: IDEA安装后使用30天免费试用进入,然后找到图中位置点击 2: 点击下图链接下载破解jar ...