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

get error while installing #95

Open
ghorbanpirizad opened this issue May 8, 2018 · 3 comments
Open

get error while installing #95

ghorbanpirizad opened this issue May 8, 2018 · 3 comments

Comments

@ghorbanpirizad
Copy link

ghorbanpirizad commented May 8, 2018

I get this error when want install in both py2 , py3 why.
/data/user/0/org.qpython.qpy/files/bin/qpython3-android5.sh "/data/user/0/org.qpython.qpy/files/bin/pip4console3.py" && exit
les/bin/pip4console3.py" && exit <
Input pip commands, ie: pip3 install {module}
-->pip3 install python-gsmmodem
Downloading/unpacking python-gsmmodem
Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (8 Downloading python-gsmmodem-0.9.tar.gz (87kB): 87kB downloaded
Running setup.py egg_info for package python-gsmmodem
Traceback (most recent call last):
File "", line 16, in File "/storage/emulated/0/qpython/cache/pip-build/python-gsmmodem/setup.py", line 25, in
class RunUnitTests(Command):
File "/storage/emulated/0/qpython/cache/pip-build/python-gsmmodem/setup.py", line 29, in RunUnitTests
description = doc[1:]
TypeError: 'NoneType' object is not subscriptable
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "", line 16, in

File "/storage/emulated/0/qpython/cache/pip-build/python-gsmmodem/setup.py", line 25, in

class RunUnitTests(Command):

File "/storage/emulated/0/qpython/cache/pip-build/python-gsmmodem/setup.py", line 29, in RunUnitTests

description = __doc__[1:]

TypeError: 'NoneType' object is not subscriptable


Command python setup.py egg_info failed with error code 1 in /storage/emulated/0/qpython/cache/pip-build/python-gsmmodem
Storing complete log in /sdcard/qpython/.pip/pip.log
-->

@tomchy
Copy link

tomchy commented May 8, 2018

Hi!
It seems that your problem is not related to the library itself, but to the python interpreter that you are using ( similar issue ).

Additionally you may consider moving to the python-gsmmodem-new package, which is recommended if you want to use it under python3 or with non-ascii characters.

@ghorbanpirizad
Copy link
Author

ghorbanpirizad commented May 8, 2018

I get same issue on python-gsmmodem-new.
Is this for my py ver. That's 3.2 or because android?!

@tomchy
Copy link

tomchy commented Aug 16, 2018

I have a strong feeling that it is because you are using QPython. You may also modify manually the package and replace __doc__ with a meaningful text, but this change will not be up-merged as the usage of __doc__ is 100% valid in python.

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

2 participants