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.


    Using pip to install nltk

    Pythonista
    3
    5
    4668
    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.
    • MichaelC
      MichaelC last edited by

      A nubile question. I have just installed Pythonista on y new iPad Pro and can not work out how to run pip.
      I would like to be able to use nltk.
      Search of the FAQ did not help, and entering pip in the console returns "invalid syntax"
      Any pointers welcome - thanks.

      1 Reply Last reply Reply Quote 1
      • Webmaster4o
        Webmaster4o last edited by

        Pythonista doesn't include pip. That would violate Apple's app review policies. However, StaSh does include it.

        You can install StaSh by pasting

        import urllib2; exec urllib2.urlopen('http://bit.ly/get-stash').read()
        

        into the console.

        1 Reply Last reply Reply Quote 1
        • Tizzy
          Tizzy last edited by

          @Webmaster4o is correct, as long as you're using Pythonista 2, not the Pythonista 3 beta (which you can find info about on this forum)

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

            @MichaelC basically after you install stash, force quit Pythonista, then to launch stash you run the newly installed "launch Stash" script, then from the Stash prompt you can do pip

            1 Reply Last reply Reply Quote 1
            • MichaelC
              MichaelC last edited by

              Worked first time! Thanks everyone.
              Lots to learn ......

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