Forum Archive

How to Put objc_tools in my site-packages folder

shiro

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

@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

shiro

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

@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.

cvp

@shiro Did you succeed?

shiro

Dear cvp

I succeed!

Thank you for your kindness!

I reary appricieded.

thanks a lot!