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

error calling from model.xxx #42

Open
SebastianTorres393 opened this issue Feb 21, 2023 · 5 comments
Open

error calling from model.xxx #42

SebastianTorres393 opened this issue Feb 21, 2023 · 5 comments
Labels
usability Improve usability

Comments

@SebastianTorres393
Copy link

I am trying to follow the tutorials, but every time I use the vpplib library, I get an error when calling "from model.VPPEnvironment import VPPEnvironment" or "from model xxxx", stating that it does not exist, and the same error occurs for everything else. Can someone help me with this beginner error?

Thanks a lot.

@SebastianTorres393
Copy link
Author

that is the error that i have: ModuleNotFoundError Traceback (most recent call last)
Cell In[1], line 1
----> 1 from model.VPPEnvironment import VPPEnvironment
3 #Values for environment
4 start = '2015-03-01 00:00:00'

ModuleNotFoundError: No module named 'model'

@Pyosch
Copy link
Owner

Pyosch commented Feb 22, 2023

Hi Sebastian,
thats actually not a beginner error. The tutorial I think you refer to just really needs an update. Please have a look at the test-cases in the main folder of the repo to get startet for the time being. I'll upload a newer tutorial once I get around to it.
Sorry for the inconvenience.

@Pyosch Pyosch added the bug Something isn't working label Feb 22, 2023
@SebastianTorres393
Copy link
Author

SebastianTorres393 commented Feb 22, 2023

Ohhh ok! Thank you!! And Thanks you for your quickly answer Have a nice day..

@jiuzhuaxiong
Copy link

I am trying to follow the tutorials, but every time I use the vpplib library, I get an error when calling "from model.VPPEnvironment import VPPEnvironment" or "from model xxxx", stating that it does not exist, and the same error occurs for everything else. Can someone help me with this beginner error?

Thanks a lot.

Can you send me a picture?

@Pyosch
Copy link
Owner

Pyosch commented Sep 8, 2023

Do you have a specific question @jiuzhuaxiong? I removed the outdated tutorial. This issue is just a reminder to add an update at some point. For now, if you want to get started with the library, please try the test**.py files which correspond to each of the technologies.

@Pyosch Pyosch added usability Improve usability and removed bug Something isn't working labels Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
usability Improve usability
Projects
None yet
Development

No branches or pull requests

3 participants