Skip to content
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

ImportError: No module named _io #14

Open
surbhicis opened this issue Jun 18, 2019 · 0 comments
Open

ImportError: No module named _io #14

surbhicis opened this issue Jun 18, 2019 · 0 comments

Comments

@surbhicis
Copy link

surbhicis commented Jun 18, 2019

I followed this

make
. venv/bin/activate
pip install buildozer python-for-android
buildozer android debug deploy run

and got error please guide me

(venv) cis@CISM571:~/scanner/garden.zbarcam$ buildozer android debug deploy run logcat
 Check configuration tokens
WARNING: Config token app android.sdk is deprecated and ignored, but you set value 20
Ensure build layout
Check configuration tokens
Preparing build
 Check requirements for android
Run 'dpkg --version'
Cwd None
Debian 'dpkg' package management program version 1.18.4 (amd64).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
Search for Git (git)
 -> found at /usr/bin/git
 Search for Cython (cython)
 -> found at /home/cis/scanner/garden.zbarcam/venv/bin/cython
Search for Java compiler (javac)
  -> found at /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
 Search for Java keytool (keytool)
  -> found at /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
Install platform
 Run '/home/cis/scanner/garden.zbarcam/venv/bin/python3 -m pip install -q  \'appdirs\' \'colorama>=0.3.3\' \'jinja2\' \'six\' \'enum34; python_version<"3.4"\' \'sh>=1.10; sys_platform!="nt"\' \'pep517\' \'pytoml\' \'virtualenv\''
 Cwd None
 Apache ANT found at /home/cis/.buildozer/android/platform/apache-ant-1.9.4
 Android SDK found at /home/cis/.buildozer/android/platform/android-sdk
 Android NDK found at /home/cis/.buildozer/android/platform/android-ndk-r17c
Check application requirements
 Check garden requirements
 Run 'virtualenv --python=python2.7 ./venv'
Cwd /home/cis/scanner/garden.zbarcam/.buildozer
Traceback (most recent call last):
  File "/home/cis/scanner/garden.zbarcam/venv/lib/python3.5/site-packages/virtualenv.py", line 34, in <module>
    import tempfile
  File "/usr/local/lib/python2.7/tempfile.py", line 32, in <module>
    import io as _io
  File "/usr/local/lib/python2.7/io.py", line 51, in <module>
    import _io
ImportError: No module named _io
Running virtualenv with interpreter /usr/local/bin/python2.7
@AndreMiras AndreMiras transferred this issue from kivy-garden/garden.zbarcam Aug 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant