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

ImportError: cannot import name node #191

Closed
alexreg opened this issue Jan 27, 2020 · 2 comments
Closed

ImportError: cannot import name node #191

alexreg opened this issue Jan 27, 2020 · 2 comments
Labels
invalid The problem is caused by not meeting the documented requirements or badly configured dependencies

Comments

@alexreg
Copy link
Contributor

alexreg commented Jan 27, 2020

I get this when running the command. Seems like a bug.

Traceback (most recent call last):
  File "/usr/local/Cellar/hg-fast-export/190913/bin/hg-fast-export.py", line 6, in <module>
    from mercurial import node
ImportError: cannot import name node
/usr/local/Cellar/git/2.25.0/libexec/git-core/git-fast-import statistics:
---------------------------------------------------------------------
Alloc'd objects:       5000
Total objects:            0 (         0 duplicates                  )
      blobs  :            0 (         0 duplicates          0 deltas of          0 attempts)
      trees  :            0 (         0 duplicates          0 deltas of          0 attempts)
      commits:            0 (         0 duplicates          0 deltas of          0 attempts)
      tags   :            0 (         0 duplicates          0 deltas of          0 attempts)
Total branches:           0 (         0 loads     )
      marks:           1024 (         0 unique    )
      atoms:              0
Memory total:          2360 KiB
       pools:          2048 KiB
     objects:           312 KiB
---------------------------------------------------------------------
pack_report: getpagesize()            =       4096
pack_report: core.packedGitWindowSize = 1073741824
pack_report: core.packedGitLimit      = 35184372088832
pack_report: pack_used_ctr            =          0
pack_report: pack_mmap_calls          =          0
pack_report: pack_open_windows        =          0 /          0
pack_report: pack_mapped              =          0 /          0
---------------------------------------------------------------------

@frej frej added the invalid The problem is caused by not meeting the documented requirements or badly configured dependencies label Jan 28, 2020
@frej
Copy link
Owner

frej commented Jan 28, 2020

Make sure to fulfill the requirements as documented in the readme.

@frej frej closed this as completed Jan 28, 2020
@alexreg
Copy link
Contributor Author

alexreg commented Jan 29, 2020

Ah, the problem turned out to be that I needed pip's Mercurial installed, not Homebrew's version. Odd, but that does it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid The problem is caused by not meeting the documented requirements or badly configured dependencies
Projects
None yet
Development

No branches or pull requests

2 participants