PokemonGo-Bot icon indicating copy to clipboard operation
PokemonGo-Bot copied to clipboard

installing requirements error

Open hamdicatal opened this issue 10 years ago • 10 comments

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-build-94u813q6/pycryptodomex/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-_fofnak7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-94u813q6/pycryptodomex/

Other Information

OS: OpenSuse Leap 42.1 Git Commit: 4182e93f9bfbe471d07b74e95c55cdfbacda127b Python Version: Python 2.7.12

hamdicatal avatar Aug 02 '16 12:08 hamdicatal

you need python 2.7 not 3. also you need to provide full log and the branch

maestroi avatar Aug 02 '16 12:08 maestroi

cloned from master branch if you saying this. when i try to install requirements, i'm having this error and of course i'cant run pokecli.py

which log do you want? while installing requirements?

hamdicatal avatar Aug 02 '16 13:08 hamdicatal

Did you use python 2.7 this time?

maestroi avatar Aug 02 '16 13:08 maestroi

I had the same issue. Running the requirements command with pip2 instead of pip worked for me if I remember correctly.

ChrisEngstrom avatar Aug 02 '16 13:08 ChrisEngstrom

@ChrisStory that is more common on windows, you are not using opensuse i guess?

maestroi avatar Aug 02 '16 13:08 maestroi

I'm using Python 2.7.12 already.

There is no option like pip2 :(

hamdicatal avatar Aug 02 '16 13:08 hamdicatal

Oops, my bad. Forgot to check thelegendy's OS. You are correct though, was a Windows issue for me.

ChrisEngstrom avatar Aug 02 '16 13:08 ChrisEngstrom

@thelegendy "/usr/bin/python3 -u is python 3 not 2, please provide new error, pip2 is in windows.

maestroi avatar Aug 02 '16 13:08 maestroi

I got this and I installed gcc then it worked.

hackenho avatar Aug 02 '16 22:08 hackenho

I already installed gcc :) but still don't work

hamdicatal avatar Aug 03 '16 07:08 hamdicatal