jedelman8 / pycsco

python modules to simplify the use of working with cisco nexus switches
Other
50 stars 25 forks source link

pycsco compatibility issue with Python3 #44

Open Guru67724 opened 4 years ago

Guru67724 commented 4 years ago

pip3 install pycsco

Collecting pycsco Using cached pycsco-0.3.5.tar.gz (54 kB) Collecting xmltodict>=0.9.2 Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB) Collecting gtextfsm==0.2.1 Using cached gtextfsm-0.2.1.tar.gz (20 kB) ERROR: Command errored out with exit status 1: command: py3venv/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-erxq7jps/gtextfsm/setup.py'"'"'; file='"'"'/tmp/pip-install-erxq7jps/gtextfsm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qh7831ka cwd: /tmp/pip-install-erxq7jps/gtextfsm/ Complete output (7 lines): Traceback (most recent call last): File "", line 1, in File "/tmp/pip-install-erxq7jps/gtextfsm/setup.py", line 19, in import textfsm File "/tmp/pip-install-erxq7jps/gtextfsm/textfsm/init.py", line 2, in version = textfsm.version NameError: name 'textfsm' is not defined

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Guru67724 commented 4 years ago

Even textfsm installation also not solving the issue. Kindly let us know

srbharadwaj commented 4 years ago

can you check this out? https://github.com/Cisco-SAN/mdssdk