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

ModuleNotFoundError: No module named 'reader' #1

Open
Francescocirigliano opened this issue Mar 8, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'reader' #1

Francescocirigliano opened this issue Mar 8, 2023 · 3 comments

Comments

@Francescocirigliano
Copy link

Maybe is a dumb question (i'm new on python and still try to understand) , but when try to run the example that you have posted i receive a ModuleNotFoundError: No module named 'reader' relative to line: from reader import FortniteReplayReader. I installed the library from pip.

@spiff88
Copy link

spiff88 commented Mar 25, 2023

Hi there!
I have the same problem.

The line

from reader import FortniteReplayReader

gives the error "Import 'reader' could not be resolved"

I can use this

import fortnite_replay_parser

but then no classes or functions are available for fortnite_replay_parser.

Any ideas?

@Francescocirigliano
Copy link
Author

From what i understood the problem is the path when the package are created for using with pip. Only solution that i have found for using decompressor is copy all source file in your project folder and fixing manually the path.

@spiff88
Copy link

spiff88 commented Mar 26, 2023

Thanks - but this is still a little bit outside my experience.

Looking at the code, and trying to see how the various *.py files go together, I start to get into problems. For example, there are two 'reader.py' files - one in the root directory, and one in the models folder.

I can't figure out how to get this working without editing each of the *.py files.

Wish I knew more about how packages are installed and should work, so I could fix this one which doesn't seem to work.

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