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

OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb' #21

Closed
kasagon opened this issue Jul 28, 2016 · 5 comments
Closed

OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb' #21

kasagon opened this issue Jul 28, 2016 · 5 comments
Assignees
Labels

Comments

@kasagon
Copy link

kasagon commented Jul 28, 2016

I just installed this application locally with Python 2.7.12 and tried to run this.
After running I immediately got this error:

C:\PokeManager>python ".\pogo\demo.py" -a google -u "myemail@gmail.com" -p "mypassword" -l "xx.lat , xx.long"
Traceback (most recent call last):
  File ".\pogo\demo.py", line 14, in <module>
    from api import PokeAuthSession
  File "C:\PokeManager\pogo\api.py", line 10, in <module>
    from gpsoauth import perform_master_login, perform_oauth
  File "C:\Python27\lib\site-packages\gpsoauth\__init__.py", line 4, in <module>
    from . import google
  File "C:\Python27\lib\site-packages\gpsoauth\google.py", line 4, in <module>
    from Cryptodome.PublicKey import RSA
  File "C:\Python27\lib\site-packages\Cryptodome\PublicKey\RSA.py", line 79, in <module>
    from Cryptodome.IO import PKCS8, PEM
  File "C:\Python27\lib\site-packages\Cryptodome\IO\PKCS8.py", line 73, in <module>
    from Cryptodome.IO._PBES import PBES1, PBES2, PbesError
  File "C:\Python27\lib\site-packages\Cryptodome\IO\_PBES.py", line 44, in <module>
    from Cryptodome.Cipher import DES, ARC2, DES3, AES
  File "C:\Python27\lib\site-packages\Cryptodome\Cipher\__init__.py", line 78, in <module>
    from Cryptodome.Cipher._mode_ecb import _create_ecb_cipher
  File "C:\Python27\lib\site-packages\Cryptodome\Cipher\_mode_ecb.py", line 46, in <module>
    """
  File "C:\Python27\lib\site-packages\Cryptodome\Util\_raw_api.py", line 168, in load_pycryptodome_raw_lib
    raise OSError("Cannot load native module '%s'" % name)
OSError: Cannot load native module 'Cryptodome.Cipher._raw_ecb'

Some information about my software:

Python 2.7.12
pip 8.1.2
git version 2.9.2.windows.1
java version 1.8.0_102-b14 64-bit
Windows 10 pro 64-bit

@cglatot
Copy link
Owner

cglatot commented Jul 28, 2016

Have you followed the Readme instructions?

Installed the requirements.txt?

Are you using 2 Factor Authorisation?

Have you tried updating python and pip?

Tried updating the requirements.txt (using --upgrade for pip)?

@cglatot cglatot self-assigned this Jul 28, 2016
@kasagon
Copy link
Author

kasagon commented Jul 28, 2016

@cglatot
I followed the Readme instructions.txt
I installed the requirements
I am using 2 Faction Authorisation
I fresh installed Python and pip this morning
Tried to update the requirements.txt as well

I don't know if something has to do with it, but according to other github projects and Reddit it is possible that they are busy patching the API's at this moment.

@cglatot
Copy link
Owner

cglatot commented Jul 28, 2016

Did you follow what I said on the Readme about 2FA?

@kasagon
Copy link
Author

kasagon commented Jul 28, 2016

@cglatot About the App Password?
I haven't seen that, so I did not follow that.

But, when I follow that link, I get this error (translated) on the Google site:

The setting you are searching, is not available for your account

@cglatot
Copy link
Owner

cglatot commented Jul 28, 2016

@cglatot cglatot closed this as completed Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants