Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error: no module named 'textfsm' #334

Open
Ralithune opened this issue Aug 7, 2023 · 0 comments
Open

Installation error: no module named 'textfsm' #334

Ralithune opened this issue Aug 7, 2023 · 0 comments

Comments

@Ralithune
Copy link

Went to try this out today and found an error that looks like a problem with 'g'textfsm:

Collecting gtextfsm
  Using cached gtextfsm-0.2.1.tar.gz (20 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [9 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/4r/9gn9dqtn7f1gk8hk42grpykw0000gn/T/pip-install-nza1eug8/gtextfsm_f7d4373935b8469eabc8bcd757a2cbde/setup.py", line 19, in <module>
          import textfsm
        File "/private/var/folders/4r/9gn9dqtn7f1gk8hk42grpykw0000gn/T/pip-install-nza1eug8/gtextfsm_f7d4373935b8469eabc8bcd757a2cbde/textfsm/__init__.py", line 2, in <module>
          __version__ = textfsm.__version__
                        ^^^^^^^
      NameError: name 'textfsm' is not defined
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

From my quick googling, it looks like gtextfsm doesn't have a way to post issues? Is there a reason Trigger uses the 'g' version instead of the regular 'textfsm'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant