It’s a pretty tedious situation I’ve gotten myself into. Basically it goes like this, I’ve inherited a project which uses a .whl file to install. When that wheel was made, py3.5 was the name of the game, and the pinned requirement made sense. Fast forward a few years to today, and I need to spin up a copy of this project on like hardware, using Ubuntu16, which ships with py3.5. The pip 3 installed by apt (python3-pip, alongside python3-dev and python3-setuptools) fails installing another lib (cryptography-3.4.6) and states that updating pip should fix it, redirecting the user to https://pip.pypa.io/en/stable/installing/#upgrading-pip However if you do this on python 3.5, which is officially discontinued, the version of pip that gets installed cannot run in py3.5 because format strings:
$ python3 -m pip install -U pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl (1.5MB)
100% |████████████████████████████████| 1.5MB 334kB/s
Installing collected packages: pip
Successfully installed pip-8.1.1
You are using pip version 8.1.1, however version 21.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
$ pip --version
Traceback (most recent call last):
File "/home/nio/.local/bin/pip", line 7, in <module>
from pip._internal.cli.main import main
File "/home/nio/.local/lib/python3.5/site-packages/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
So I upgraded to python3.7, which still seems like the right choice (other than the current stable 3.9, of course), and got pip working right again (extra tedious). So now that all of that is figured out, here I am, trying to pip install
my wheel, with its legacy dependencies, and pyzmq~=14.7. The terminal output in my OP was reproducing the issue outside of my ansible environment.
Now it turns out that the only reason I have to use this wheel is because of some other legacy stuff that I actually have a solution for. Given that solution, I can install a more modern wheel for this project, which doesn’t even have this (pyzmq) dependency (nothing personal, of course).
I do vaguely recall dealing with this problem around the release of py3.6 and format strings, and I believe that there is an intermediate version of pip that can be installed that would also solve (some of?) my problem(s). I’m just not sure that it’s worth going on that goose chase to keep running old code.
So tl;dr, I think I have the answer to my problem, as you suggested, I need to upgrade away from some of these legacy packages. Thanks!
-
akay0402
- Posts: 15
- Joined: Sat Apr 06, 2019 12:12 pm
Unable to install pyzmq and RPi.GPIO from requirements.txt
Hi Team,
I’m trying to install «pyzmq» and «RPi.GPIO» for a project
I have a raspberry pi zero (Model: WH)
Raspbian Stretch lite installed
I’m using the below command
Code: Select all
pip install -r "${DIR}/requirements.txt"
- pyzmq==15.2.0
- RPi.GPIO==0.5.11
Failed building wheel for pyzmq
Failed building wheel for RPi.GPIO
The code I’m working on is from this url https://github.com/nathanpjones/GaragePi
I’m fairly new to Python and any help would be greatly appreciated
Thanks
Arul.
-
croston
- Posts: 723
- Joined: Sat Nov 26, 2011 12:33 pm
- Location: Blackpool
Re: Unable to install pyzmq and RPi.GPIO from requirements.txt
Sat Apr 06, 2019 1:47 pm
The latest version of RPi.GPIO is 0.6.5. The version you are trying to install is 0.5.11, which is four years old. This is not your immediate problem however but it shows just how out of date the project instructions are.
Things to try:
1) sudo apt install python3-dev
2) Change requirements.txt to remove ‘==version’ from RPi.GPIO and pyzmq lines
-
akay0402
- Posts: 15
- Joined: Sat Apr 06, 2019 12:12 pm
Re: Unable to install pyzmq and RPi.GPIO from requirements.txt
Sat Apr 06, 2019 10:16 pm
croston wrote: ↑
Sat Apr 06, 2019 1:47 pm
The latest version of RPi.GPIO is 0.6.5. The version you are trying to install is 0.5.11, which is four years old. This is not your immediate problem however but it shows just how out of date the project instructions are.Things to try:
1) sudo apt install python3-dev
2) Change requirements.txt to remove ‘==version’ from RPi.GPIO and pyzmq lines
Hi Croston,
This worked perfectly
However now, I don’t know how to proceed
the installation completed successfully (All done!)
But I don’t know how I access the webportal from here. I tried accessing (http://192.x.x.x or https://192.x.x.x), but there’s no webpage there and it refused to connect
The garagepi service was running
Although lighttpd service had failed
And also since the installation I had rebooted the pi, and don’t know how to start everything
Thanks,
Arul.
Return to “Python”
Hi All,
I am trying to install JupyterLab on FreeBSD 13 and I get the following error.
Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Using legacy 'setup.py install' for tornado, since package 'wheel' is not installed.
Using legacy 'setup.py install' for MarkupSafe, since package 'wheel' is not installed.
Using legacy 'setup.py install' for cffi, since package 'wheel' is not installed.
Building wheels for collected packages: pyzmq
Building wheel for pyzmq (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyzmq (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [195 lines of output]
running bdist_wheel
running build
running build_py
copying zmq/error.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/asyncio.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/_future.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/decorators.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/log
copying zmq/log/__main__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/log
copying zmq/log/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/log
copying zmq/log/handlers.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/log
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/frame.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/poll.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/context.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/constants.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/tracker.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/version.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/attrsettr.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/socket.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/stopwatch.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
copying zmq/eventloop/ioloop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
copying zmq/eventloop/_deprecated.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
copying zmq/eventloop/zmqstream.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
copying zmq/eventloop/future.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
copying zmq/eventloop/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/ioloop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/concurrent.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/util.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/log.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
copying zmq/eventloop/minitornado/stack_context.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/auto.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/windows.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/interface.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/posix.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
copying zmq/eventloop/minitornado/platform/common.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/eventloop/minitornado/platform
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/ssh
copying zmq/ssh/tunnel.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/ssh
copying zmq/ssh/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/ssh
copying zmq/ssh/forward.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/ssh
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green
copying zmq/green/core.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green
copying zmq/green/device.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green
copying zmq/green/poll.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green
copying zmq/green/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green/eventloop
copying zmq/green/eventloop/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green/eventloop
copying zmq/green/eventloop/zmqstream.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green/eventloop
copying zmq/green/eventloop/ioloop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/green/eventloop
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/proxydevice.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/basedevice.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/proxysteerabledevice.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/monitoredqueue.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/devices/monitoredqueuedevice.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_monqueue.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_monitor.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_security.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_cffi_backend.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_context.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_zmqstream.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_device.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_z85.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_poll.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_imports.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_message.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_mypy.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_constants.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_asyncio.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_includes.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_multipart.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/conftest.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_future.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_pubsub.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_ssh.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_retry_eintr.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_win32_shim.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_error.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_version.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_cython.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_reqrep.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_decorators.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_draft.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_auth.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_log.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_socket.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_proxy_steerable.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_pair.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_etc.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
copying zmq/tests/test_ioloop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/tests
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend
copying zmq/backend/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend
copying zmq/backend/select.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/constants.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/_poll.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/devices.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/utils.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/socket.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/message.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/context.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/backend/cffi/error.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/interop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/jsonapi.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/strtypes.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/monitor.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/win32.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/constant_names.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/z85.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/garbage.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
creating build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/thread.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/ioloop.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/__init__.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/base.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/asyncio.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/auth/certs.py -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/auth
copying zmq/__init__.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/__init__.pyi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/py.typed -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq
copying zmq/sugar/constants.pyi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/sugar/__init__.pyi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/sugar
copying zmq/devices/monitoredqueue.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/devices
copying zmq/backend/constants.pyi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend
copying zmq/backend/__init__.pyi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend
copying zmq/backend/cython/libzmq.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/message.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/checkrc.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/socket.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/__init__.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/context.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/constant_enums.pxi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cython/constants.pxi -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cython
copying zmq/backend/cffi/_cdefs.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/backend/cffi
copying zmq/utils/buffers.pxd -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/mutex.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/getpid_compat.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/zmq_compat.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/zmq_constants.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/ipcmaxlen.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/pyversion_compat.h -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/compiler.json -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
copying zmq/utils/config.json -> build/lib.freebsd-13.0-RELEASE-p7-amd64-3.8/zmq/utils
running build_ext
running configure
/tmp/pip-build-env-04ak583u/overlay/lib/python3.8/site-packages/setuptools/_distutils/dist.py:275: UserWarning: Unknown distribution option: 'cffi_modules'
warnings.warn(msg)
Using bundled libzmq
already have bundled/zeromq
already have platform.hpp
************************************************
************************************************
building 'zmq.libzmq' extension
creating build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/buildutils
creating build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled
creating build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq
creating build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c buildutils/initlibzmq.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/buildutils/initlibzmq.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/address.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/address.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/channel.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/channel.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/client.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/client.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/clock.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/clock.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/ctx.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/ctx.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/curve_client.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/curve_client.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/curve_mechanism_base.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/curve_mechanism_base.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/curve_server.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/curve_server.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/dealer.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/dealer.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/decoder_allocators.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/decoder_allocators.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/devpoll.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/devpoll.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/dgram.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/dgram.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/dish.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/dish.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/dist.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/dist.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/endpoint.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/endpoint.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/epoll.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/epoll.o
c++ -pthread -std=c++11 -pthread -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -DZMQ_HAVE_CURVE=1 -DZMQ_USE_TWEETNACL=1 -DZMQ_USE_KQUEUE=1 -DZMQ_IOTHREADS_USE_KQUEUE=1 -DZMQ_POLL_BASED_ON_POLL=1 -Ibundled/zeromq/include -Ibundled -I/usr/home/michael/.venvML/include -I/usr/local/include/python3.8 -c bundled/zeromq/src/err.cpp -o build/temp.freebsd-13.0-RELEASE-p7-amd64-3.8/bundled/zeromq/src/err.o
bundled/zeromq/src/err.cpp:394:10: fatal error: 'libunwind.h' file not found
#include <libunwind.h>
^~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/c++' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyzmq
Failed to build pyzmq
ERROR: Could not build wheels for pyzmq, which is required to install pyproject.toml-based projects
[.venvML] michael@schroter:~ %
libunwind
is already installed in the system. I saw this answer. But do not know how to use it properly. Would anyone be able to help me in this regards.
Thanks & Best Regards
Schroter Michael
EDIT: I tried install JupyterLab via pip in a python virtual environment. Thanks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Я обновил Python до 3.11 и хотел установить библиотеку Aiogram но получаю такую ошибку
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
Building wheel for yarl (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for yarl (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [37 lines of output]
C:UsersUSERAppDataLocalTemppip-build-env-r8x1eh1soverlayLibsite-packagessetuptoolsconfigsetupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead.
warnings.warn(msg, warning_class)
**********************
* Accelerated build *
**********************
running bdist_wheel
running build
running build_py
creating build
creating buildlib.win-amd64-cpython-311
creating buildlib.win-amd64-cpython-311yarl
copying yarl_quoting.py -> buildlib.win-amd64-cpython-311yarl
copying yarl_quoting_py.py -> buildlib.win-amd64-cpython-311yarl
copying yarl_url.py -> buildlib.win-amd64-cpython-311yarl
copying yarl__init__.py -> buildlib.win-amd64-cpython-311yarl
running egg_info
writing yarl.egg-infoPKG-INFO
writing dependency_links to yarl.egg-infodependency_links.txt
writing requirements to yarl.egg-inforequires.txt
writing top-level names to yarl.egg-infotop_level.txt
reading manifest file 'yarl.egg-infoSOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.cache' found anywhere in distribution
warning: no previously-included files found matching 'yarl*.html'
warning: no previously-included files found matching 'yarl*.so'
warning: no previously-included files found matching 'yarl*.pyd'
no previously-included directories found matching 'docs_build'
adding license file 'LICENSE'
writing manifest file 'yarl.egg-infoSOURCES.txt'
copying yarl__init__.pyi -> buildlib.win-amd64-cpython-311yarl
copying yarl_quoting_c.pyi -> buildlib.win-amd64-cpython-311yarl
copying yarl_quoting_c.pyx -> buildlib.win-amd64-cpython-311yarl
copying yarlpy.typed -> buildlib.win-amd64-cpython-311yarl
running build_ext
building 'yarl._quoting_c' extension
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for yarl
Failed to build frozenlist multidict yarl
ERROR: Could not build wheels for frozenlist, multidict, yarl, which is required to install pyproject.toml-based projects