vzhd1701/enex2notion

[Bug]: module 'numpy' has no attribute 'ndarray'

Opened this issue · 0 comments

7852897552 enex2notion version

0.3.1_4

What OS are you using?

MacOS

OS Version / Linux distribution

macOS Sonoma 14.1.1

Bug description

Thanks for your hard work on enex2notion, I'm exited to use it! However, I cannot get enex2notion to run. I've installed it, uninstalled it, and re-installed it. This is what is output when I run enex2notion -h, enex2notion --version or enex2notion <any command here>.

Can you provide me with any insight on what I can do to absolve this? Thanks!

Output:

  File "/usr/local/bin/enex2notion", line 5, in <module>
    from enex2notion.cli import main
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/enex2notion/cli.py", line 8, in <module>
    from enex2notion.cli_notion import get_root
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/enex2notion/cli_notion.py", line 5, in <module>
    from notion.client import NotionClient
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/notion/client.py", line 27, in <module>
    from .store import RecordStore
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/notion/store.py", line 8, in <module>
    from dictdiffer import diff
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/dictdiffer/__init__.py", line 32, in <module>
    LIST_TYPES += (numpy.ndarray, )
                   ^^^^^^^^^^^^^
AttributeError: module 'numpy' has no attribute 'ndarray'

Log excerpt

Traceback (most recent call last):
  File "/usr/local/bin/enex2notion", line 5, in <module>
    from enex2notion.cli import main
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/enex2notion/cli.py", line 8, in <module>
    from enex2notion.cli_notion import get_root
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/enex2notion/cli_notion.py", line 5, in <module>
    from notion.client import NotionClient
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/notion/client.py", line 27, in <module>
    from .store import RecordStore
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/notion/store.py", line 8, in <module>
    from dictdiffer import diff
  File "/usr/local/Cellar/enex2notion/0.3.1_4/libexec/lib/python3.12/site-packages/dictdiffer/__init__.py", line 32, in <module>
    LIST_TYPES += (numpy.ndarray, )
                   ^^^^^^^^^^^^^
AttributeError: module 'numpy' has no attribute 'ndarray'