Closed glaksmono closed 3 years ago
Other than pytest, eth_utils
is the very first library to get loaded when running tests. Are you 100% sure that you are running pytest in the environment that has you ran pip freeze
from?
@carver yes, I did it sequentially all within the venv
@glaksmono sometimes I get this error when pytest
is not picked up from virtualenv
but rather from a global installation.
Something like this happens:
(vyper) ➜ vyper git:(master) ✗ which pytest
/usr/local/bin/pytest
deactivating
and activating
virtualenv
usually helps in such a case.
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/_pytest/config.py
If you look at this path carefully, then it doesn't look like a virtualenv
to me
PS: I'm not 100% sure that this is the problem in your case, but worth giving it a try.
I started from fresh, did
pip install -e .[dev]
, tried to runpytest
, and I'm getting this error:Here's the
pip freeze
output: