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

src folder not found #5

Open
menn0 opened this issue Dec 27, 2024 · 1 comment
Open

src folder not found #5

menn0 opened this issue Dec 27, 2024 · 1 comment

Comments

@menn0
Copy link

menn0 commented Dec 27, 2024

Hi Alex,

I cannot run the script (windows10) due to missing module;

C:\Users\lnmsd\portfolio2>python cli.py -fc 'EUR' -o './output/' -v './input/Master_Data.csv' './input/ledgers.csv' -cm '{"XBT-EUR": "BTC-EUR"}
Traceback (most recent call last):
File "C:\Users\lnmsd\portfolio2\cli.py", line 10, in
from src.portfolio_performance_rate_provider import PortfolioPerformanceRateProvider
ModuleNotFoundError: No module named 'src'

This is how the folder looks like;

C:\Users\lnmsd\portfolio2>dir
Volume in drive C is Local Disk
Volume Serial Number is 92EB-4520

Directory of C:\Users\lnmsd\portfolio2

27-Dec-24 20:09

.
27-Dec-24 20:09 ..
27-Dec-24 20:07 231 .gitattributes
27-Dec-24 20:07 .github
27-Dec-24 20:07 113 .gitignore
27-Dec-24 20:08 2,956 cli.py
27-Dec-24 20:07 32,632 CONTRIBUTING.md
27-Dec-24 18:13 2,074 ledgers.csv
27-Dec-24 20:07 11,717 LICENSE
27-Dec-24 19:54 135 Master_Data.csv
27-Dec-24 20:07 name.abuchen.portfolio
27-Dec-24 20:07 name.abuchen.portfolio.bootstrap
27-Dec-24 20:07 name.abuchen.portfolio.feature
27-Dec-24 20:07 name.abuchen.portfolio.junit
27-Dec-24 20:07 name.abuchen.portfolio.tests
27-Dec-24 20:07 name.abuchen.portfolio.ui
27-Dec-24 20:07 name.abuchen.portfolio.ui.tests
27-Dec-24 20:07 portfolio-app
27-Dec-24 20:07 portfolio-product
27-Dec-24 20:07 portfolio-target-definition
27-Dec-24 20:07 2,580 README.md
8 File(s) 52,438 bytes

email: [email protected]

Thanks

@AlexanderLill
Copy link
Owner

Hey,

I can't see the src folder in your directory listing, are you sure the whole repository is properly cloned?
How did you setup the project?

@AlexanderLill AlexanderLill changed the title Help ModuleNotFoundError: No module named 'src' Dec 28, 2024
@AlexanderLill AlexanderLill changed the title ModuleNotFoundError: No module named 'src' src folder not found Dec 28, 2024
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

2 participants