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.


    How to Put objc_tools in my site-packages folder

    Pythonista
    2
    6
    2665
    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.
    • shiro
      shiro last edited by

      Hellow. I am japanese.

      I cought Pythonista3.

      I would like to run python code bellow,

      ・py code

      from objc_tools.scenekit.util import SUPPORTED_FORMATS, LightType

      but, run error.

      ModuleNotFoundError
      No module named 'objc_tools'

      In the README.md、

      Put objc_tools in your site-packages folder.

      https://github.com/scj643/objc_tools

      but I am bigginer iphone and pythonista3.

      How can I put objc_tools in my site-packages folder ?

      My environment is,

      ・pythonista3、stash、icloud Drive

      ・iOs12、iphoneXR

      cvp 1 Reply Last reply Reply Quote 0
      • cvp
        cvp @shiro last edited by

        @shiro on the GitHub page of your link, at the top right, tap the green "clone or download", then the blue "download zip", then "options", "Pythonista", "import file".
        The zip is now in your root of Pythonista
        Up to you to extract the zip and move the needed directory to site-packages

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

          Dear cvp

          Thanks a lot.

          I could extract zip file.

          Then, in "This iphone" , I get "objc_tools-master" folder.

          but I am bigginer iphone, I do not know how

          move the "objc_tools" directory to site-packages

          I am glad how to do it.

          cvp 2 Replies Last reply Reply Quote 0
          • cvp
            cvp @shiro last edited by

            @shiro
            If you tap on your folder, you get another folder, you tap it and you see the wanted folder objc_tools
            You tap the menu "edit", then you select the folder, then at the bottom, you tap on the icon of a folder and an right arrow in it .
            You receive a dialog named "move to" and there you select site-package and it is done.

            1 Reply Last reply Reply Quote 0
            • cvp
              cvp @shiro last edited by

              @shiro Did you succeed?

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

                Dear cvp

                I succeed!

                Thank you for your kindness!

                I reary appricieded.

                thanks a lot!

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