-
-
Save michaelsproul/b640555d7b14ee18aaa4ef61b68328a9 to your computer and use it in GitHub Desktop.
Viper Python Errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(viper-venv) michael: vyper $ make test | |
python setup.py test | |
running pytest | |
running egg_info | |
writing viper.egg-info/PKG-INFO | |
writing dependency_links to viper.egg-info/dependency_links.txt | |
writing requirements to viper.egg-info/requires.txt | |
writing top-level names to viper.egg-info/top_level.txt | |
reading manifest file 'viper.egg-info/SOURCES.txt' | |
writing manifest file 'viper.egg-info/SOURCES.txt' | |
running build_ext | |
Traceback (most recent call last): | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pytest-3.3.1-py3.6.egg/_pytest/config.py", line 328, in _getconftestmodules | |
return self._path2confmods[path] | |
KeyError: local('/Users/michael/Programming/vyper/tests') | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pytest-3.3.1-py3.6.egg/_pytest/config.py", line 359, in _importconftest | |
return self._conftestpath2mod[conftestpath] | |
KeyError: local('/Users/michael/Programming/vyper/tests/conftest.py') | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pytest-3.3.1-py3.6.egg/_pytest/config.py", line 365, in _importconftest | |
mod = conftestpath.pyimport() | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/py-1.5.2-py3.6.egg/py/_path/local.py", line 668, in pyimport | |
__import__(modname) | |
File "<frozen importlib._bootstrap>", line 971, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked | |
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pytest-3.3.1-py3.6.egg/_pytest/assertion/rewrite.py", line 212, in load_module | |
py.builtin.exec_(co, mod.__dict__) | |
File "/Users/michael/Programming/vyper/tests/conftest.py", line 4, in <module> | |
from ethereum.tools import tester | |
File "<frozen importlib._bootstrap>", line 971, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked | |
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/ethereum-2.1.3-py3.6.egg/ethereum/__init__.py", line 11, in <module> | |
from . import slogging # noqa | |
File "<frozen importlib._bootstrap>", line 971, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked | |
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/ethereum-2.1.3-py3.6.egg/ethereum/slogging.py", line 6, in <module> | |
from ethereum.utils import bcolors, is_numeric | |
File "<frozen importlib._bootstrap>", line 971, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked | |
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/ethereum-2.1.3-py3.6.egg/ethereum/utils.py", line 2, in <module> | |
from Crypto.Hash import keccak | |
File "<frozen importlib._bootstrap>", line 971, in _find_and_load | |
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked | |
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked | |
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pycryptodome-3.4.6-py3.6-macosx-10.12-x86_64.egg/Crypto/Hash/keccak.py", line 73, in <module> | |
""") | |
File "/Users/michael/viper-venv/lib/python3.6/site-packages/pycryptodome-3.4.6-py3.6-macosx-10.12-x86_64.egg/Crypto/Util/_raw_api.py", line 171, in load_pycryptodome_raw_lib | |
raise OSError("Cannot load native module '%s'" % name) | |
OSError: Cannot load native module 'Crypto.Hash._keccak' | |
ERROR: could not load /Users/michael/Programming/vyper/tests/conftest.py |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment