I'm developing an app with kivy using the boto3 library.
When I build my project on XCode, I have an error "AttributeError: module 'subprocess' has no attribute 'Popen'".
I don't understand why because I can launch my app with no problem from my computer but not with XCode...
Can someone help me ?
Thanks
I finally find a workaround thanks to this link : https://github.com/kivy/kivy-ios/issues/372
But now, I have a new issue. boto3 use this file : https://github.com/python/cpython/blob/main/Lib/multiprocessing/connection.py and Xcode gives me the following error : "ModuleNotFoundError: No module named '_multiprocessing'"
If someone has an idea...
Related
Am getting the following and trying to install a new library in PyCharm. I have never came across this error before. I have tried going to google for a solution, but I can't find any that helps. The error is below
Error loading package list:unknown protocol: c
Please I need help to finish a project am working on.
You might need to set up a proxy in PyCharm. Here is a similar issue with details on JetBrains Comunity site:
Error Loading Package List
I don't know whether I've just installed them wrong or there's another problem. I installed the ebay sdk but whenever I try to import it I get
ModuleNotFoundError: No module named 'ebaysdk'
Are there any common problems with this I could check for a solution? It shouldn't be the code as I copied it from the example code off the website.
Thanks for any help.
P.S I'm using 3.6
When running the commands in idle I can get an API call to work using oauth2. Then when trying to use the same lines of code in web2py I was getting an error that the web2py module wasn't found. So I installed Oauth2 into the module folder of the web2py project files.
This changed the error from the oauth2 module not found to
(ImportError('No module named version',), )
Any ideas to find a fix would be appreciated.
As an update I figured out that the issue was because Web2py doesn't support python 3 at this point in time.
I've been having troubles import pysftp. I currently have a server running some python scripts on a database, and decided to try and update this module which some of the scripts use. It broke a bunch of the scripts and then I had to go back and fix the versioning and to allow everything to function.
So far the only module I'm not able to import or use is pysftp. It throws the attached error. I've tried going into sites-manager and removing the files from there, however it has yet to help. Everything else has been working. Updating doesn't work either.
Any indication on how to resolve this error is greatly appreciated.
Error is:
ImportError: cannot import name util
I haven't been able to find a package called util to install. Please help! Attached link is of the trace.
http://imgur.com/a/9lQUj
I'm working with the google-api-python-client library with the following setup:
Python3.4.3 in a virtual environment (using pip8.1.1)
I'm getting error from the following code: AttributeError: 'module' object has no attribute 'file'
store = oauth2client.file.Storage(credential_path)
The code is from the Google Python Quickstart example and runs fine under Python 2.7.10
Thanks in advance!
I was able to get it to work by rewriting the import statement:
from oauth2client.file import Storage
Not sure why this works, but it does.