I'm getting an error with both Python 2.7.5 and Python 3.6.9:
ImportError: cannot import name 'Hypothesis'
I didn't see any information in the README about installing requirements (maybe I missed something?) but here's what I tried:
Install hypothesis:
~$ pip install hypothesis
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: hypothesis in ./.local/lib/python3.6/site-packages (5.6.0)
Requirement already satisfied: sortedcontainers<3.0.0,>=2.1.0 in ./.local/lib/python3.6/site-packages (from hypothesis) (2.1.0)
Requirement already satisfied: attrs>=19.2.0 in ./.local/lib/python3.6/site-packages (from hypothesis) (19.3.0)
Run the program:
~$ python3 h_notify.py
Traceback (most recent call last):
File "h_notify.py", line 2, in <module>
from hypothesis import Hypothesis, HypothesisAnnotation
ImportError: cannot import name 'Hypothesis'
For anyone else getting this issue, I was able to solve this by having the hypothesis.py file from https://github.com/judell/Hypothesis/ in the same directory as h_notify.py
I'm getting an error with both
Python 2.7.5
andPython 3.6.9
:I didn't see any information in the
README
about installing requirements (maybe I missed something?) but here's what I tried:Install hypothesis:
Run the program: