Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 19:57:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 250380] textproc/py-feedparser: fails to import with lang/python39
Message-ID:  <bug-250380-21822-gQHxmTDxPj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250380-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250380-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250380

smalbec@buffalo.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smalbec@buffalo.edu

--- Comment #30 from smalbec@buffalo.edu ---
I'm having trouble installing feedparser but I should be using python 2.7

hadoop@hadoop-VirtualBox:~/Desktop/project 2$ sudo pip install feedparser
Downloading/unpacking feedparser
  Downloading feedparser-6.0.2.tar.gz (284kB): 284kB downloaded
  Running setup.py (path:/tmp/pip_build_root/feedparser/setup.py) egg_info =
for
package feedparser
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip_build_root/feedparser/setup.py", line 40
        name =3D f"{name}_{os.getenv('NAME_SUFFIX')}"
                                                  ^
    SyntaxError: invalid syntax
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/tmp/pip_build_root/feedparser/setup.py", line 40

    name =3D f"{name}_{os.getenv('NAME_SUFFIX')}"


SyntaxError: invalid syntax

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in
/tmp/pip_build_root/feedparser
Storing debug log for failure in /home/hadoop/.pip/pip.log


Is this relevant? Also does anyone know how to fix it?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250380-21822-gQHxmTDxPj>