omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Installing 'newspaper3k' with StaSh

    Pythonista
    modules stash pip newspaper
    4
    4
    3913
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • victordomingos
      victordomingos last edited by

      Hi there.

      I have been trying to install the module 'newspaper3k' using stash v.0.6.19, without success.

      https://github.com/codelucas/newspaper

      I even tried to install individually some of its dependencies, but no progress. When I run 'pip install newpaper3k', I get the following output:

      '
      [~/Documents]$ pip install newspaper3k

      Querying PyPI ...
      Downloading package ...
      Opening: https://pypi.python.org/packages/15/39/eeae424f95aaf4d4a4453e8bac75cc4d2139e080eefb030019d2e1cdee6c/newspaper3k-0.2.2.tar.gz
      Save as: /private/var/mobile/Containers/Data/Application/C9956F10-6446-4CA6-9B2E-DC528AF81F1E/tmp//newspaper3k-0.2.2.tar.gz (191834 bytes)
      191834 [100.00%]
      Extracting archive file ...
      Archive extracted.
      Running setup file ...
      [~/Documents]$
      '

      Then, no signs of the supposedly downloaded and installed package. Any tips?...

      Thanks in advance.

      Phuket2 1 Reply Last reply Reply Quote 0
      • ccc
        ccc last edited by ccc

        https://github.com/codelucas/newspaper/blob/master/requirements.txt#L5 Is a problem. See https://forum.omz-software.com/topic/3319/modules-in-pythonista-template

        1 Reply Last reply Reply Quote 0
        • ihf
          ihf last edited by

          So getting newspaper to work requires a newer version of lxml (which presumably can only be done by @omz)?

          1 Reply Last reply Reply Quote 0
          • Phuket2
            Phuket2 @victordomingos last edited by

            @victordomingos , I can't help. But I tried the web test URL . Very impressive on the scrapping. Good info return. I gave it a strange URL.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB Forums | Contributors