Comments (6)
For all these days struggling for this issue, where M2Crypto is really hard to compile, I have found another way to install python-adb based on the helpful commit 4b555e6 by @bif-g .
After merged ,the source codes in github for now differ slightly from the PyPi package mainly on the M2Crypto changing parts.
-
So we first install the github version by cloning to the local and execute
python setup.py install
or directly use the VCS method of pip withpip install -e git+https://github.com/google/python-adb.git#egg=adb
. This will install cryptography or rsa as dependency instead of the erroneous M2Crypto. -
This will install a python-adb package which could be listed by
pip list
butconda list
, that unfortunately I used to mistake as installation unsuccess, causing a lot of backward trouble for poor me. -
For others, the installation could end here. But for me, the bugs continue. I then come across the error of libusb issue, which indicate that I don't have the .dll file in the right path. So I download the zip from the original url and extract the .dll file through
libusb-1.0.22\MinGW64\dll\libusb-1.0.dll
. Then copy it toC:\Windows\System32
according to the README instruction in the zip file. This should end up bugless.
Change the path to use relative to your own condition.
May the issus be closed by my experience.
from python-adb.
Install pycryptodome, which has precompiled wheels, and that’ll work as a replacement for M2Crypto
from python-adb.
I had the same issue on Ubuntu.
pip install --no-binary :all: M2Crypto installed the dependency, after that installing adb worked fine.
from python-adb.
Mine the same error unsolved
from python-adb.
Same error
from python-adb.
when would someone handsome update the pypi source with a non-M2Crypto version?
from python-adb.
Related Issues (20)
- Can't run abootool-TypeError: __init__() takes exactly 1 argument (2 given) HOT 1
- Problems installing through pip (ubunutu) HOT 5
- Segmentation fault: 11 on MacOSX 10.4.5
- Cannot loop through devices
- TypeError: from_buffer() cannot return the address of a unicode object HOT 3
- TCP Connection Error on API29
- Out-of-date package HOT 1
- New package `adb-shell` HOT 6
- can we get a new realease? HOT 4
- Bug Bankruptcy, Chapter 11 Bug Debt -- October 16, 2019
- 'sign_cryptography' import error HOT 1
- i did not recieve auth key from the other devices even if i revoqued etc.
- Help wanted - fastboot update method
- missing 'sign_cryptography' from 'adb'
- Demo is broken HOT 1
- Old adb server version (31) is not supported using AdbDeviceTcp HOT 1
- Pip not installing adb HOT 2
- Adb
- usb1.USBErrorNotSupported: LIBUSB_ERROR_NOT_SUPPORTED [-12]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-adb.