GoEvaCom / eosjs_python

http://eva.coop/
MIT License
43 stars 10 forks source link

Cannot find module 'eosjs-ecc-eva' #10

Open Scaldfat opened 5 years ago

Scaldfat commented 5 years ago

Python 3.6.5 |Anaconda, Inc.| (default, Apr 26 2018, 08:42:37) [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)] on darwin Type "help", "copyright", "credits" or "license" for more information.

from eosjs_python import Eos key_pair = Eos.generate_key_pair() Traceback (most recent call last): File "", line 1, in File "/Users/awesomeo/miniconda3/lib/python3.6/site-packages/eosjs_python/init.py", line 27, in generate_key_pair raise GenerateKeysException(response.stderr) eosjs_python.Exceptions.GenerateKeysException: b"module.js:549\n throw err;\n ^\n\nError: Cannot find module 'eosjs-ecc-eva'\n at Function.Module._resolveFilename (module.js:547:15)\n at Function.Module._load (module.js:474:25)\n at Module.require (module.js:596:17)\n at require (internal/module.js:11:18)\n at Object. (/Users/awesomeo/miniconda3/lib/python3.6/site-packages/eosjs_python/js/GenerateKeys.js:2:7)\n at Module._compile (module.js:652:30)\n at Object.Module._extensions..js (module.js:663:10)\n at Module.load (module.js:565:32)\n at tryModuleLoad (module.js:505:12)\n at Function.Module._load (module.js:497:3)\n"

already tried "npm i --save eosjs@16.0.9"

please help me

ankitwandx commented 4 years ago

were you able to resolve this?

ems123 commented 4 years ago

Do this too. npm i --save eosjs-ecc-eva@4.0.6

(use sudo if its global)

It worked for me.