Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pip install fails thanks to gevent #74

Open
lasersPew opened this issue Feb 3, 2023 · 2 comments
Open

Pip install fails thanks to gevent #74

lasersPew opened this issue Feb 3, 2023 · 2 comments

Comments

@lasersPew
Copy link

Well, pip install fails.

pip logs:

> pip install -r requirements.txt
Collecting mutagen==1.45.1
  Using cached mutagen-1.45.1-py3-none-any.whl (218 kB)
Collecting requests==2.28.1
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting yt-dlp==2022.6.29
  Using cached yt_dlp-2022.6.29-py2.py3-none-any.whl (2.6 MB)
Collecting gevent==21.8.0
  Using cached gevent-21.8.0.tar.gz (6.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting gevent-websocket==0.10.1
  Using cached gevent_websocket-0.10.1-py3-none-any.whl (22 kB)
Collecting Flask==2.1.3
  Using cached Flask-2.1.3-py3-none-any.whl (95 kB)
Collecting Flask-SocketIO==5.2.0
  Using cached Flask_SocketIO-5.2.0-py3-none-any.whl (17 kB)
Collecting Flask-Migrate==3.1.0
  Using cached Flask_Migrate-3.1.0-py3-none-any.whl (20 kB)
Collecting Flask-JSGlue2==0.3.3
  Using cached Flask-JSGlue2-0.3.3.tar.gz (2.1 kB)
  Preparing metadata (setup.py) ... done
Collecting Flask-SQLAlchemy==2.5.1
  Using cached Flask_SQLAlchemy-2.5.1-py2.py3-none-any.whl (17 kB)
Collecting musicbrainzngs==0.7.1
  Using cached musicbrainzngs-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting sponsorblock.py==0.2.2
  Using cached sponsorblock.py-0.2.2-py3-none-any.whl (17 kB)
Collecting python-dateutil==2.8.2
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting python-dotenv==0.20.0
  Using cached python_dotenv-0.20.0-py3-none-any.whl (17 kB)
Collecting python-magic==0.4.27
  Using cached python_magic-0.4.27-py2.py3-none-any.whl (13 kB)
Collecting ffmpeg-python==0.2.0
  Using cached ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting youtube-search-python==1.6.6
  Using cached youtube_search_python-1.6.6-py3-none-any.whl (89 kB)
Collecting spotipy==2.20.0
  Using cached spotipy-2.20.0-py3-none-any.whl (27 kB)
Collecting urllib3==1.26.10
  Using cached urllib3-1.26.10-py2.py3-none-any.whl (139 kB)
Collecting deezer-python==5.3.3
  Using cached deezer_python-5.3.3-py3-none-any.whl (20 kB)
Collecting charset-normalizer<3,>=2
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting certifi>=2017.4.17
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting idna<4,>=2.5
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting brotli
  Using cached Brotli-1.0.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (2.7 MB)
Collecting pycryptodomex
  Using cached pycryptodomex-3.17-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
Collecting websockets
  Using cached websockets-10.4-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106 kB)
Collecting zope.event
  Using cached zope.event-4.6-py2.py3-none-any.whl (6.8 kB)
Collecting greenlet<2.0,>=1.1.0
  Using cached greenlet-1.1.3.post0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (156 kB)
Collecting zope.interface
  Using cached zope.interface-5.5.2-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (258 kB)
Requirement already satisfied: setuptools in /home/carlo/env/webyt/lib/python3.10/site-packages (from gevent==21.8.0->-r requirements.txt (line 4)) (65.5.0)
Collecting click>=8.0
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting Werkzeug>=2.0
  Using cached Werkzeug-2.2.2-py3-none-any.whl (232 kB)
Collecting Jinja2>=3.0
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting itsdangerous>=2.0
  Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting python-socketio>=5.0.2
  Using cached python_socketio-5.7.2-py3-none-any.whl (56 kB)
Collecting alembic>=0.7
  Using cached alembic-1.9.2-py3-none-any.whl (210 kB)
Collecting SQLAlchemy>=0.8.0
  Using cached SQLAlchemy-2.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
Collecting six>=1.5
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting future
  Using cached future-0.18.3.tar.gz (840 kB)
  Preparing metadata (setup.py) ... done
Collecting httpx>=0.14.2
  Using cached httpx-0.23.3-py3-none-any.whl (71 kB)
Collecting redis>=3.5.3
  Using cached redis-4.4.2-py3-none-any.whl (237 kB)
Collecting Mako
  Using cached Mako-1.2.4-py3-none-any.whl (78 kB)
Collecting rfc3986[idna2008]<2,>=1.3
  Using cached rfc3986-1.5.0-py2.py3-none-any.whl (31 kB)
Collecting sniffio
  Using cached sniffio-1.3.0-py3-none-any.whl (10 kB)
Collecting httpcore<0.17.0,>=0.15.0
  Using cached httpcore-0.16.3-py3-none-any.whl (69 kB)
Collecting MarkupSafe>=2.0
  Using cached MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting bidict>=0.21.0
  Using cached bidict-0.22.1-py3-none-any.whl (35 kB)
Collecting python-engineio>=4.3.0
  Using cached python_engineio-4.3.4-py3-none-any.whl (52 kB)
Collecting async-timeout>=4.0.2
  Using cached async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting typing-extensions>=4.2.0
  Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Collecting anyio<5.0,>=3.0
  Using cached anyio-3.6.2-py3-none-any.whl (80 kB)
Collecting h11<0.15,>=0.13
  Using cached h11-0.14.0-py3-none-any.whl (58 kB)
Building wheels for collected packages: gevent
  Building wheel for gevent (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for gevent (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [350 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/util.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/events.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_util.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_socket3.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/builtins.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_ident.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/pool.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/local.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/baseserver.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/pywsgi.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/monkey.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/resolver_ares.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/resolver_thread.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_tblib.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_semaphore.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_socket2.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/core.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/threadpool.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_abstract_linkable.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/contextvars.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/ares.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_tracer.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_compat.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_imap.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/server.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_ssl3.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/subprocess.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/threading.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_fileobjectposix.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/thread.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/selectors.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_ssl2.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_waiter.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_hub_primitives.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_monitor.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_greenlet_primitives.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/win32util.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_config.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/backdoor.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_interfaces.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/signal.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_socketcommon.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_util_py2.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/exceptions.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/ssl.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/queue.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/timeout.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/hub.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/time.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/os.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/event.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_sslgte279.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/lock.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/greenlet.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_hub_local.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_fileobjectcommon.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_patcher.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/socket.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/fileobject.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/select.py -> build/lib.linux-x86_64-cpython-310/gevent
      copying src/gevent/_threading.py -> build/lib.linux-x86_64-cpython-310/gevent
      creating build/lib.linux-x86_64-cpython-310/gevent/libuv
      copying src/gevent/libuv/loop.py -> build/lib.linux-x86_64-cpython-310/gevent/libuv
      copying src/gevent/libuv/_corecffi_build.py -> build/lib.linux-x86_64-cpython-310/gevent/libuv
      copying src/gevent/libuv/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/libuv
      copying src/gevent/libuv/watcher.py -> build/lib.linux-x86_64-cpython-310/gevent/libuv
      creating build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__backdoor.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test___ident.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threadpool_executor_patched.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/known_failures.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__getaddrinfo_import.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_dns.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__GreenletExit.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_selectors.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_send_memoryview.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__systemerror.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_ssl_warning2.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_patched_local.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__refcount.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_sigchld.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__os.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/lock_tests.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__nondefaultloop.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issues461_471.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_builtins_future.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_close.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue230.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__close_backend_fd.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__greenlet.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__hub.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__subprocess.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_ssl_warning.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_timeout.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_logging.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__subprocess_poll.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__hub_join_timeout.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_imports_imports_at_top_level.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_callback.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__sleep0.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__semaphore.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_no_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_vs_settrace.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__queue.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_hub_in_thread.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_import_import_patch.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__contextvars.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/__main__.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_ex.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test___config.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_monkey_in_thread.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__signal.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__environ.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__iwait.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__server.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_ssl.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__api.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__hub_join.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__import_blocking_in_greenlet.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__import_wait.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_wsgiserver.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__greenio.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__api_timeout.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__ssl.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__doctests.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_webproxy.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_blocks_at_top_level.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__makefile_ref.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue1686.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_loop_run.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__memleak.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__ares_timeout.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_import_wait.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__lock.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue607.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__loop_callback.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_2.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__greenletset.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__real_greenlet.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__compat.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__exc_info.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__server_pywsgi.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue112.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__pywsgi.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__fileobject.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_watcher.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_module_run.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__events.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__destroy_default_loop.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_udp_server.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_select.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_async.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__examples.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__timeout.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_wsgiserver_ssl.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_ssl_warning3.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_echoserver.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_sigchld_3.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_native_before_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__joinall.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue639.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_fork.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_udp_client.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__util.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_sigchld_2.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue467.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_imports_at_top_level.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test___monitor.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__pool.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_dns6.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__order.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socket_errors.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_futures_thread.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test___monkey_patching.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_before_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__execmodules.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_timer.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threadpool.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__select.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__destroy.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__selectors.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__threading_holding_lock_while_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__socketpair.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__all__.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__resolver_dnspython.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__thread.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__core_stat.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__ares_host_result.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__greenness.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__event.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_multiple_imports.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__subprocess_interrupted.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/getaddrinfo_module.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/_import_patch.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__monkey_queue.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue330.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue6.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__local.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue_728.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__issue600.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__example_portforwarder.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test__refcount_core.py -> build/lib.linux-x86_64-cpython-310/gevent/tests
      creating build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/util.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/sysinfo.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/leakcheck.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/params.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/testcase.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/monkey_test.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/exception.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/six.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/travis.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/testrunner.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/patched_tests_setup.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/sockets.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/flaky.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/support.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/modules.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/errorhandler.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/switching.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/hub.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/timing.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/openfiles.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/resources.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      copying src/gevent/testing/skipping.py -> build/lib.linux-x86_64-cpython-310/gevent/testing
      creating build/lib.linux-x86_64-cpython-310/gevent/libev
      copying src/gevent/libev/_corecffi_build.py -> build/lib.linux-x86_64-cpython-310/gevent/libev
      copying src/gevent/libev/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/libev
      copying src/gevent/libev/corecffi.py -> build/lib.linux-x86_64-cpython-310/gevent/libev
      copying src/gevent/libev/watcher.py -> build/lib.linux-x86_64-cpython-310/gevent/libev
      creating build/lib.linux-x86_64-cpython-310/gevent/_ffi
      copying src/gevent/_ffi/loop.py -> build/lib.linux-x86_64-cpython-310/gevent/_ffi
      copying src/gevent/_ffi/callback.py -> build/lib.linux-x86_64-cpython-310/gevent/_ffi
      copying src/gevent/_ffi/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/_ffi
      copying src/gevent/_ffi/watcher.py -> build/lib.linux-x86_64-cpython-310/gevent/_ffi
      creating build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/blocking.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/dnspython.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/ares.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/thread.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/_hostsfile.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      copying src/gevent/resolver/_addresses.py -> build/lib.linux-x86_64-cpython-310/gevent/resolver
      creating build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/issue1526_no_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/__main__.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/threadpool_no_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/__init__.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/issue302monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/script.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/issue1526_with_monkey.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/monkey_package/threadpool_monkey_patches.py -> build/lib.linux-x86_64-cpython-310/gevent/tests/monkey_package
      copying src/gevent/tests/badcert.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/wrongcert.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/https_svn_python_org_root.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/badkey.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/nullcert.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/2_7_keycert.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/sha256.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/keycert.pem -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/server.crt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test_server.crt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/hosts_file.txt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/tests_that_dont_monkeypatch.txt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/tests_that_dont_do_leakchecks.txt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/tests_that_dont_use_resolver.txt -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/test_server.key -> build/lib.linux-x86_64-cpython-310/gevent/tests
      copying src/gevent/tests/server.key -> build/lib.linux-x86_64-cpython-310/gevent/tests
      creating build/lib.linux-x86_64-cpython-310/gevent/testing/coveragesite
      copying src/gevent/testing/coveragesite/sitecustomize.py -> build/lib.linux-x86_64-cpython-310/gevent/testing/coveragesite
      running build_ext
      generating cffi module 'build/temp.linux-x86_64-cpython-310/gevent.libuv._corecffi.c'
      creating build/temp.linux-x86_64-cpython-310
      Running '(cd  "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/deps/libev"  && sh ./configure -C > configure-output.txt )' in /tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799
      configure: error: in `/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/deps/libev':
      configure: error: no acceptable C compiler found in $PATH
      See `config.log' for more details
      Traceback (most recent call last):
        File "/home/carlo/env/webyt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 351, in <module>
          main()
        File "/home/carlo/env/webyt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 333, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/home/carlo/env/webyt/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 249, in build_wheel
          return _build_backend().build_wheel(wheel_directory, config_settings,
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 413, in build_wheel
          return self._build_with_temp_dir(['bdist_wheel'], '.whl',
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 398, in _build_with_temp_dir
          self.run_setup()
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 484, in run_setup
          super(_BuildMetaLegacyBackend,
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 335, in run_setup
          exec(code, locals())
        File "<string>", line 481, in <module>
        File "<string>", line 348, in run_setup
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 108, in setup
          return distutils.core.setup(**attrs)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
          return run_commands(dist)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1213, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 325, in run
          self.run_command("build")
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1213, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 132, in run
          self.run_command(cmd_name)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
          self.distribution.run_command(command)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1213, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/cffi/setuptools_ext.py", line 143, in run
          ext.sources[0] = make_mod(self.build_temp, pre_run)
        File "/tmp/pip-build-env-vr5ema1s/overlay/lib/python3.10/site-packages/cffi/setuptools_ext.py", line 128, in make_mod
          pre_run(ext, ffi)
        File "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/_setuputils.py", line 364, in pre_run
          action()
        File "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/_setuplibev.py", line 55, in configure_libev
          system(libev_configure_command)
        File "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/_setuputils.py", line 195, in system
          if _system(cmd, cwd=cwd, env=env, **kwargs):
        File "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/_setuputils.py", line 191, in _system
          return check_call(cmd, cwd=cwd, env=env, **kwargs)
        File "/usr/lib/python3.10/subprocess.py", line 369, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '(cd  "/tmp/pip-install-u5u5nek1/gevent_ff668e1e3738401aa7e23cdee8bca799/deps/libev"  && sh ./configure -C > configure-output.txt )' returned non-zero exit status 1.
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for gevent
Failed to build gevent
ERROR: Could not build wheels for gevent, which is required to install pyproject.toml-based projects

@lasersPew
Copy link
Author

Solution:

  1. Create a venv from python3.9 or earlier
  2. Reinstall gevent by typing pip uninstall gevent and pip install -r requirements.txt

@lasersPew
Copy link
Author

Reopened as this should be compatible on later versions of python.

@lasersPew lasersPew reopened this Jul 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant