Hugo22O / How-to-install-PRET-on-Termux

A guide helping you install PRET on Termux.
MIT License
3 stars 0 forks source link

[Solved] Why cant I install colorama & pysnmp with pip2? #1

Open killzhack opened 5 years ago

killzhack commented 5 years ago

when write pip2 install colorama pysnmp still error.. and when i write pip2 install upgrade pip2 still error. do you have contact? so i can send the screenshoot ?

Hugo22O commented 5 years ago

Hi Killzhack,

First make sure you have Python 2 installed not Python 3 , which you can do by executing the following command in Termux: pkg install python2 If you get an error that it hasn't installed anything that's good because it means Python2 is already installed.

Now that you've installed python 2 type in Termux pip2 if you get a list of commands outputted pip2 is installed, if not retry installing Python2.

Now you try install colorama & pysnmp using the following command: pip2 install colorama pysnmp

If everything goes well you won't encounter any errors. [Click here to follow the rest of the steps in the tutorial. ](pip2 install colorama pysnmp)

If it is still not working or you have any other questions don't hesitate to comment below.

Kind regards, Hugo.

david-lev commented 4 years ago

Hi. I have the same problem. My device is not rooting and Installed ADB termius but the command 'pip2 install colorama' And also the command 'pip2 install colorama pysnmp' not working for me. What should I do? 🙏🙏

Hugo22O commented 4 years ago

Hey! @davidlev053

Make sure you have pip2 installed and not pip 3. Please provided the errors you are getting, without them I won't be able to provide any further assistance.

Regards, Hugo

cmcodes1 commented 4 years ago

ERROR: Command errored out with exit status 1: command: /data/data/com.termux/files/usr/bin/python2 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-_XhVYY/pycryptodomex/setup.py'"'"'; file='"'"'/data/data/com.termux/files/usr/tmp/pip-install-_XhVYY/pycryptodomex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-Qm1MYK/install-record.txt --single-version-externally-managed --compile cwd: /data/data/com.termux/files/usr/tmp/pip-install-_XhVYY/pycryptodomex/ Complete output (593 lines): Testing support for clang Target does not support clang Testing support for gcc Target does not support gcc Testing support for stdint.h header Target does not support stdint.h header Testing support for 128-bit integer Target does not support 128-bit integer Testing support for cpuid.h header Target does not support cpuid.h header Testing support for intrin.h header Target does not support intrin.h header Testing support for posix_memalign Target does not support posix_memalign Testing support for memalign Target does not support memalign Testing support for SSE2(intrin.h) Target does not support SSE2(intrin.h) Testing support for SSE2(x86intrin.h) Target does not support SSE2(x86intrin.h) Testing support for SSE2(emmintrin.h) Target does not support SSE2(emmintrin.h) Warning: compiler does not support AESNI instructions

srb1mal commented 4 years ago

Screenshot_20200404-071434

Please help me I am not able to download coloroma but I update the python version to latest.

Hugo22O commented 4 years ago

Screenshot_20200404-071434

Please help me I am not able to download coloroma but I update the python version to latest.

Hello,

You're misspelling the package. It should be "colorama" not "coloroma". The correct syntax to is pip2 install colorama like explained in the guide.

Let me know if you're still having problems!

mikean29 commented 4 years ago

Can't install coloroma

Hugo22O commented 4 years ago

Can't install coloroma

Hello! Could you elaborate? What kind of errors are you getting, etc..

Harold11010 commented 2 years ago

![Uploading Screenshot_20220718-104525_Termux.jpg…]()

Harold11010 commented 2 years ago

![Uploading Screenshot_20220718-104653_Termux.jpg…]()