Traceback (most recent call last):
File "./install.py", line 9, in <module>
import main
File "/home/matt/dotfiles/.scripts/main.py", line 8, in <module>
from python_hosts import Hosts
ImportError: cannot import name 'Hosts'
I have also tried this with version 0.4.5, and I get the same error. It successfully detects the presence of the python_hosts installation, but gives me this import error. My PYTHONPATH is empty. I'm really not sure what is causing this error. This is the same error as reported in #23 , but on a different version. I think it is being caused by something else.
I am using Python 3.6 and python_hosts 0.4.7.
When running my script, I get the traceback:
I have also tried this with version 0.4.5, and I get the same error. It successfully detects the presence of the python_hosts installation, but gives me this import error. My PYTHONPATH is empty. I'm really not sure what is causing this error. This is the same error as reported in #23 , but on a different version. I think it is being caused by something else.