You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you pay close attention to some lines in your output (ie /usr/lib/python2.7/site-packages), you are trying to install pytos in Python 2 (which in turn tries to install dnspython3 in Python 2).
You have to make sure to use Python 3 when installing pytos, for example python3 -m pip install pytos, or in any other way appropriate to your system that will guarantee that Python 3 is being used to install pytos.
Have tried it in python 2.7 as well as 3.6.. same issue
Collecting pytos
Using cached https://files.pythonhosted.org/packages/57/33/0b7c43fe2b6d7dc9afd7a2f4dfd526f6bd1122605ab9dc89a66a9d8f083e/pytos-0.0.3.tar.gz
Requirement already satisfied: netaddr>=0.7.14 in /usr/lib/python2.7/site-packages (from pytos) (0.7.19)
Collecting paramiko>=1.15.2 (from pytos)
Using cached https://files.pythonhosted.org/packages/3e/db/cb7b6656e0e7387637ce850689084dc0b94b44df31cc52e5fc5c2c4fd2c1/paramiko-2.4.1-py2.py3-none-any.whl
Requirement already satisfied: requests>=2.6.0 in /usr/lib/python2.7/site-packages (from pytos) (2.14.2)
Collecting requests_toolbelt==0.7.1 (from pytos)
Using cached https://files.pythonhosted.org/packages/dd/85/519354e995d8a926ce3121034dc2144a5ae70435dad3e1155a19bbde8011/requests_toolbelt-0.7.1-py2.py3-none-any.whl
Collecting pyinotify==0.9.6 (from pytos)
Using cached https://files.pythonhosted.org/packages/e3/c0/fd5b18dde17c1249658521f69598f3252f11d9d7a980c5be8619970646e1/pyinotify-0.9.6.tar.gz
Collecting netifaces==0.10.5 (from pytos)
Using cached https://files.pythonhosted.org/packages/a7/4c/8e0771a59fd6e55aac993a7cc1b6a0db993f299514c464ae6a1ecf83b31d/netifaces-0.10.5.tar.gz
Collecting dnspython3==1.15.0 (from pytos)
Using cached https://files.pythonhosted.org/packages/f0/bb/f41cbc8eaa807afb9d44418f092aa3e4acf0e4f42b439c49824348f1f45c/dnspython3-1.15.0.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-kXzltC/dnspython3/setup.py", line 25
"""+"="*78, file=sys.stdout)
^
SyntaxError: invalid syntax
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-kXzltC/dnspython3/
The text was updated successfully, but these errors were encountered: