Skip to content

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

@AlbertoEAF

Description

@AlbertoEAF

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 [email protected]:kedder/ofxstatement.git

# (optional for the next part) Clone some plugin repos
git clone [email protected]:kedder/ofxstatement-sample.git
git clone [email protected]:kedder/ofxstatement-iso20022.git
git clone [email protected]: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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions