GithubHelp home page GithubHelp logo

Comments (4)

yagebu avatar yagebu commented on June 19, 2024

With setuptools_scm (#84), there's no need to bump versions and such, tagging is enough. I'll make a first release today.

from smart_importer.

yagebu avatar yagebu commented on June 19, 2024

Done.

@johannesjh Let me know if I should add you as a maintainer on PyPI

from smart_importer.

johannesjh avatar johannesjh commented on June 19, 2024

Hi, thank you for publishing the package. And thank you for cleaning up the setup configuration, setuptools_scm looks very nice. If you could add me (account name: johannesjh) on pypi, that would be great, thank you.

from smart_importer.

matthew-piziak avatar matthew-piziak commented on June 19, 2024

When I install smart_importer = "*" with pipenv, I get numpy incompatibility errors.

ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

This happens at runtime with import smart_importer. I am sandboxed with no numpy outside of my pipenv's virtualenv.

Full traceback:

Traceback (most recent call last):
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/bin/bean-extract", line 4, in <module>
    from beancount.ingest.extract import main; main()
  File "/nix/store/7fj046k7zm3430wm0mcs62rxq0qj8n1l-python3-3.7.2-env/lib/python3.7/site-packages/beancount/ingest/extract.py", line 250, in main
    return scripts_utils.trampoline_to_ingest(sys.modules[__name__])
  File "/nix/store/7fj046k7zm3430wm0mcs62rxq0qj8n1l-python3-3.7.2-env/lib/python3.7/site-packages/beancount/ingest/scripts_utils.py", line 132, in trampoline_to_ingest
    return run_import_script_and_ingest(parser)
  File "/nix/store/7fj046k7zm3430wm0mcs62rxq0qj8n1l-python3-3.7.2-env/lib/python3.7/site-packages/beancount/ingest/scripts_utils.py", line 191, in run_import_script_and_ingest
    mod = runpy.run_path(args.config)
  File "/nix/store/4ag8gng51y7yw6nr3imwyppqfci3j643-python3-3.7.2/lib/python3.7/runpy.py", line 263, in run_path
    pkg_name=pkg_name, script_name=fname)
  File "/nix/store/4ag8gng51y7yw6nr3imwyppqfci3j643-python3-3.7.2/lib/python3.7/runpy.py", line 96, in _run_module_code
    mod_name, mod_spec, pkg_name, script_name)
  File "/nix/store/4ag8gng51y7yw6nr3imwyppqfci3j643-python3-3.7.2/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "ledger.config", line 2, in <module>
    from smart_importer import PREDICTPOSTINGS, apply_hooks
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/lib/python3.7/site-packages/smart_importer/__init__.py", line 5, in <module>
    from smart_importer.predictor import EntryPredictor
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/lib/python3.7/site-packages/smart_importer/predictor.py", line 8, in <module>
    from sklearn.pipeline import make_pipeline, FeatureUnion
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/lib/python3.7/site-packages/sklearn/__init__.py", line 64, in <module>
    from .base import clone
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/lib/python3.7/site-packages/sklearn/base.py", line 13, in <module>
    from .utils.fixes import signature
  File "/home/matt/.local/share/virtualenvs/beancount-1FhiBumi/lib/python3.7/site-packages/sklearn/utils/__init__.py", line 12, in <module>
    from .murmurhash import murmurhash3_32
  File "__init__.pxd", line 918, in init sklearn.utils.murmurhash
ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C header, got 192 from PyObject

from smart_importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.