smjle / python-for-android

Automatically exported from code.google.com/p/python-for-android
Apache License 2.0
1 stars 0 forks source link

Error while importing modules #82

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Python for android-Import modules
2.Requests-2.2.1-zip
3.Ok

What is the expected output? What do you see instead?
Errorjava.io.FileNotFoundException:/data/data/com.googlecode.pythonforandroid/fi
les/egg-info/requests-2.2.1-zipp/files.txt: open failed: ENOENT(No such file or 
directory)

What version of the product are you using? On what operating system?
7(Tried older versions without any use)

Please provide any additional information below.

Original issue reported on code.google.com by ssdragon...@gmail.com on 15 May 2014 at 6:14

Attachments:

GoogleCodeExporter commented 9 years ago
Tried importing three modules till now. All of them return the same error.

Original comment by ssdragon...@gmail.com on 15 May 2014 at 6:15

GoogleCodeExporter commented 9 years ago
same

Original comment by elingqis...@gmail.com on 17 Nov 2014 at 12:11

GoogleCodeExporter commented 9 years ago
I found a workaround for this problem. Converting the modules to egg files and 
then importing them on Python for Android works fine.

Original comment by ssdragon...@gmail.com on 17 Nov 2014 at 12:37

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
can you share the needed egg files?
i have trouble in building the egg files by myself
thank you

Original comment by elingqis...@gmail.com on 18 Nov 2014 at 5:08

GoogleCodeExporter commented 9 years ago
Please let me know what modules you need and I will mail them.
Anyway, try this:
python setup.py bdist_egg
in the folder that contains the setup.py of the module. The egg file will be 
created in a folder called dist in that folder.

Original comment by ssdragon...@gmail.com on 18 Nov 2014 at 10:16

GoogleCodeExporter commented 9 years ago
I need these , thank you very very much.
https://python-for-android.googlecode.com/files/python-lib_r16.zip
https://python-for-android.googlecode.com/files/python_r16.zip
https://python-for-android.googlecode.com/files/python_extras_r14.zip
https://python-for-android.googlecode.com/files/python_scripts_r13.zip

Original comment by elingqis...@gmail.com on 18 Nov 2014 at 10:47

GoogleCodeExporter commented 9 years ago
I dont think you need to import them. There is an apk version of Python for 
Android available which you use.

Original comment by ssdragon...@gmail.com on 18 Nov 2014 at 10:50

GoogleCodeExporter commented 9 years ago
but when i use the  python-for-android.apk it download these files but it occur 
this problem when it unzip the zip files

Original comment by elingqis...@gmail.com on 18 Nov 2014 at 11:01