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

Help/bug? How to import plugins from source #330

Open
AlbertoEAF opened this issue Jan 1, 2025 · 0 comments
Open

Help/bug? How to import plugins from source #330

AlbertoEAF opened this issue Jan 1, 2025 · 0 comments

Comments

@AlbertoEAF
Copy link

AlbertoEAF commented Jan 1, 2025

Hello,

First time using this.

I followed the instructions and directly installed ofxstatement from source by cloning the repo.

Then I followed the commands in the README and ran:

git clone git@github.com:kedder/ofxstatement.git

# (optional for the next part) Clone some plugin repos
git clone git@github.com:kedder/ofxstatement-sample.git
git clone git@github.com:kedder/ofxstatement-iso20022.git
git clone git@github.com:mlaitinen/ofxstatement-revolut.git

# Install main repo
cd ofxstatement
pipenv sync --dev
pipenv shell
pytest # tests pass

# install sample plugin & list plugins
pip install -e ../ofxstatement-sample
ofxstatement list-plugins  # cool, reports the sample plugin like in the docs

If now I install & import any other plugin the same way, e.g.:

pip install -e ../ofxstatement-iso20022
ofxstatement list-plugins

I get the following errors when listing the plugins:

  File "/home/alberto/.local/share/virtualenvs/ofxstatement-iR3sKQru/bin/ofxstatement", line 5, in <module>
    from ofxstatement.tool import run
ModuleNotFoundError: No module named 'ofxstatement.tool'

I'm surely doing something wrong. Can you assist? Thank you for the help in advance!

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