question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The sh Python module could not be found

See original GitHub issue

Running on Windows 10, Python 3.6.4, installed the current (2018-02-09) version of p4a from GitHub with pip install -e. When running p4a, it exits with

ERROR: The sh Python module could not be found, please install version 1.10 or higher

I have installed sh-1.12.14 but nothing changed. Also tried installing with pip install git+https://github.com/kivy/python-for-android.git and pip install python-for-android with no change. The same error still shows up. Any hints? Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
SwagatRanjit84commented, Feb 20, 2019

@inclement @haywirephoenix Won’t it work on windows?

1reaction
alensiljakcommented, Feb 11, 2018

I wonder what is the reason for that. Both Python and Android SDK work fine on Windows. Clearly I’ve missed any such statement in the texts I’ve read about p4a. Pity

Read more comments on GitHub >

github_iconTop Results From Across the Web

No module named sh [duplicate] - python - Stack Overflow
Solved: 1.to here https://pypi.org/project/sh/#files download sh-1...14.tar.gz. 2.executive command: sudo easy_install ...
Read more >
sh 1.14.0 documentation - GitHub Pages
sh is a full-fledged subprocess replacement for Python 2.6 - 3.8, PyPy and PyPy3 that allows you to call any program as if...
Read more >
Why Can't Python Find My Modules? - Real Python
A common error that new Pythonistas will come across is that the packages they think they've installed are not actually being recognized by...
Read more >
subprocess — Subprocess management — Python 3.11.1 ...
Source code: Lib/subprocess.py The subprocess module allows you to spawn new processes, connect to their input/output/error pipes, and obtain their return ...
Read more >
Python package works on the command line but cannot be ...
You might have installed the serial module in your user's pip path, but it may not be present in root user's pip path...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found