I can't import Python modules in Xcode 11 using PythonKit

后端 未结 3 664
鱼传尺愫
鱼传尺愫 2020-12-11 06:01

I am now using Swift Package Manager.

Using that, I imported PythonKit into my Swift project.

I can\'t import the Python modules using the PythonKit now.

3条回答
  •  情话喂你
    2020-12-11 06:26

    iOS does not have a python interpreter. thats the reason it is not being able to understand any pyhtonkit api. so the way this works for MacOS it wont work for iOS. Pythonkit does not support iOS for the same reason and has not been tested for the same.

提交回复
热议问题