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

Unable to install any module with pip or QPypi #113

Open
Melab opened this issue Mar 15, 2018 · 6 comments
Open

Unable to install any module with pip or QPypi #113

Melab opened this issue Mar 15, 2018 · 6 comments

Comments

@Melab
Copy link

Melab commented Mar 15, 2018

I am running the latest version of QPython 3 (I have not installed the Python 3.6 plugin) and I am unable install any module using QPyPI or pip.

Here is the output of running pip install binwalk:

qpython.sh "/data/data/org.qpython.qpy3/files/bin/pip4console.py" && exit                     <
Input pip commands, ie: pip install {module}
-->pip install binwalk
Downloading/unpacking binwalk
  Running setup.py egg_info for package binwalk

Installing collected packages: binwalk
  Running setup.py install for binwalk
    error: invalid Python installation: unable to open /sdcard/qpython/lib/python3.2/config-3.2m/Makefile (No such file or directory)
    Complete output from command /data/data/org.qpython.qpy3/files/bin/python -c "import setuptools;__file__='/storage/emulated/0/qpython/cache/pip-build/binwalk/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /storage/emulated/0/qpython/cache/pip-gllaoy-record/install-record.txt --single-version-externally-managed:
    running install

error: invalid Python installation: unable to open /sdcard/qpython/lib/python3.2/config-3.2m/Makefile (No such file or directory)

----------------------------------------
Command /data/data/org.qpython.qpy3/files/bin/python -c "import setuptools;__file__='/storage/emulated/0/qpython/cache/pip-build/binwalk/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /storage/emulated/0/qpython/cache/pip-gllaoy-record/install-record.txt --single-version-externally-managed failed with error code 1 in /storage/emulated/0/qpython/cache/pip-build/binwalk
Storing complete log in /sdcard/qpython/.pip/pip.log
-->

This is the output of trying to install the QPython version of IPython:

-i  http://qpypi3.qpython.org/simple/  --extra-index-url  https://pypi.python.org/simple/  && exit                          <
Downloading/unpacking ipython-qpython
  Running setup.py egg_info for package ipython-qpython

    package init file 'IPython/core/profile/__init__.py' not found (or not a regular file)
    package init file 'IPython/core/tests/daft_extension/__init__.py' not found (or not a regular file)
Downloading/unpacking traitlets (from ipython-qpython)
  Running setup.py egg_info for package traitlets
    ERROR: traitlets requires Python version 2.7 or 3.3 or above.
    Complete output from command python setup.py egg_info:
    ERROR: traitlets requires Python version 2.7 or 3.3 or above.

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /storage/emulated/0/qpython/cache/pip-build/traitlets
Storing complete log in /sdcard/qpython/.pip/pip.log
1|u0_a157@mango:/ $
@jordanwilson230
Copy link

Same

@alirezaimi
Copy link

same with paho-mqtt

@jrdutra
Copy link

jrdutra commented Sep 12, 2018

Same here..

@rizerphe
Copy link

same with scipy, numpy, pillow...
No solution?
I found that maybe the problem is because it downloads windows code, not c/python/android, but I'm not completely sure, and also I don't know how to fix it.

@ErikSchiegg
Copy link

ErikSchiegg commented Nov 22, 2018

same with esptool

created the missing dirs manually, still doesn't work

@DracoY-code
Copy link

The problem is still there. I tried discord.py and dotenv.

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

7 participants