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

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

Open
3raxton opened this issue Mar 1, 2024 · 0 comments
Open

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

3raxton opened this issue Mar 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@3raxton
Copy link

3raxton commented Mar 1, 2024

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'
@3raxton 3raxton added the bug Something isn't working label Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant