-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck between two error codes: ImportError...(PyInit__imaging) and 407 duplicate symbols #752
Comments
I uninstalled Xcode and reinstalled. That fixed the issue. |
Nevermind, 407 duplicates happened again... I realized if clone from github, i get 407 duplicates, if I 407 duplicates (see above)
Build Successful:
However, This crashes upon open.
|
If I remove pandas from my codebase it builds and runs properly on device... only on the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have ran through this at least 100 times now... trying various combinations of builds, orders, while trying different 'fixes' each time... I think i've narrowed down to two errors that prevent me from moving forward.
Also, i've had this same Kivy app build successfully a few weeks ago. Only changes to the app were more screens, no new python libraries.
-->
Versions
To Reproduce first Error
$ cd usr/dev/projects
$ git clone https://github.com/kivy/kivy-ios.git
$ cd kivy-ios/
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install -e .
$ pip install cython
$ toolchain build python3 kivy pillow
$ toolchain status
$ toolchain pip list
$ toolchain create myapp /usr/dev/projects/company/app
$ open myapp-ios/myapp.xcodeproj/
In Xcode
CMD + SHIFT + K : Clean Successful
target -> signing and capabilities : Set Team
Run app.
Build Fail
error:
I've done a lot of research on this, can't find anything that relates to kivy. I tried to delete either one of those files and neither fixed the problem. I'm not familiar with xcode and new to programming so if this is an obvious fix I apologize in advance for wasting your time lol... I didn't see anything about this in issues either.
Expected behavior
These three builds alone shouldn't have any error. It should prompt me with a module not found error looking for Kivymd, Pandas, etc to install through
toolchain pip install
**To Reproduce other Error **
$ cd usr/dev/projects
$ git clone https://github.com/kivy/kivy-ios.git
$ cd kivy-ios/
$ python3 -m venv venv
$ . venv/bin/activate
$ pip install -e .
$ pip install cython
$ toolchain build python3 kivy
$ toolchain pip install kivymd
$ toolchain status
$ toolchain pip list
$ toolchain create myapp /location
$ open myapp/xcodeproj
In Xcode
CMD + SHIFT + K : Clean Successful
target -> signing and capabilities : Set Team
Run app.
Build Successfull
Installs, then brings up black screen and crashes
So for this error code, i found issue #644 where the solution is to build pillow before
toolchain pip install kivymd
, but that's what i did in my first attempt.So now I can try to
$ toolchain build pillow
and
$ toolchain update myapp-ios
rerun app in xcode
407 duplicate error from above
but now I have mismatched versions of Pillow
Build: 8.2.0
Pip: 9.3
I fix that, and still 407 duplicates.
So i'm in a circle and can't find my way out. Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: