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

Installation error #161

Open
kotobuki09 opened this issue Nov 26, 2021 · 2 comments
Open

Installation error #161

kotobuki09 opened this issue Nov 26, 2021 · 2 comments

Comments

@kotobuki09
Copy link

During my installation for BeagleBone Black, I got this issue. Does anyone know what causes this problem?

pip3 install https://github.com/zeromq/pyre/archive/master.zip
Downloading/unpacking https://github.com/zeromq/pyre/archive/master.zip
Downloading master.zip (unknown size): 53kB downloaded
Running setup.py (path:/tmp/pip-zfc2w121-build/setup.py) egg_info for package from https://github.com/zeromq/pyre/archive/master.zip
/usr/lib/python3.4/distutils/dist.py:260: UserWarning: Unknown distribution option: 'extra_requires'
warnings.warn(msg)

Downloading/unpacking pyzmq (from zeromq-pyre==0.3.4)
Downloading pyzmq-22.3.0.tar.gz (1.2MB): 1.2MB downloaded
Running setup.py (path:/tmp/pip-build-hsdx8dn4/pyzmq/setup.py) egg_info for package pyzmq
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip-build-hsdx8dn4/pyzmq/setup.py", line 260
info(f"Found zmq.h in {include_dir}")
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 17, in

File "/tmp/pip-build-hsdx8dn4/pyzmq/setup.py", line 260

info(f"Found zmq.h in {include_dir}")

                                   ^

SyntaxError: invalid syntax


Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-hsdx8dn4/pyzmq
Storing debug log for failure in /root/.pip/pip.log

@fieldOfView
Copy link
Contributor

f-strings are supported from Python 3.6, and you seem to be using Python 3.4. Since the readme says pyre is comaptible with Python 3.3, the f-string should probably be changed to something like this:

info("Found zmq.h in %s" % include_dir)

@fieldOfView
Copy link
Contributor

pyZMQ, a dependency of pyre, does not seem to support Python 3.4 anymore.

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

2 participants