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.


    Can’t install Gmpy using Stash

    Pythonista
    3
    3
    1150
    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.
    • jh2020
      jh2020 last edited by

      I’m trying to install gmpy2. But, I get the following error when using pip install gmpy2.

      Querying PyPI ...
      Downloading package ...
      Opening: https://files.pythonhosted.org/packages/26/37/2184c13cee81e1dbeaebbb13570195247e73ab2138a3db0c9d2c5347e372/gmpy-1.17.zip

      Save as: /private/var/mobile/Containers/Data/Application/7399F6D4-CF53-4A0F-B1F6-53BFC656AF4F/tmp//gmpy-1.17.zip (147636 bytes)
      [====================] 100.00% | 144.2KiB
      Extracting archive file ...
      Running setup file ...
      WARNING: Extension modules are skipped: [<distutils.extension.Extension('gmpy') at 0x11203cb38>]
      PipError('failed to find packages or py_modules arguments in setup call',)
      Failed to run setup.py
      Fall back to directory guessing ...
      Error: Cannot locate packages. Manual installation required.

      What an I doing wrong? Any help would be greatly appreciated.

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

        It is not a pure Python package so it will not install on Pythonista...

        • C 71.9%
        • Objective-C 18.8%
        • C++ 6.5%
        • Python 2.8%
        1 Reply Last reply Reply Quote 0
        • stephen
          stephen last edited by stephen

          @jh2020 try https://pypi.org/project/mpmath

          EDIT:

          mpmath i believe is already included in Pythonista. someone please correct me if im wrong lol

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