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

Problem Installing Panda Models #905

Closed
Aivlyz opened this issue Feb 12, 2024 · 2 comments
Closed

Problem Installing Panda Models #905

Aivlyz opened this issue Feb 12, 2024 · 2 comments

Comments

@Aivlyz
Copy link

Aivlyz commented Feb 12, 2024

Hello everyone,

I am new to julia and struggle to install PandaModels. I followed the instructions available. I think julia should be installed correctly since ] test PowerModels works. Whenever I try to run code in Spyder I get a windows fatal error. I tried to reinstall and looked for solutions, but wasn't successful. I would appreciate any ideas on how to solve the issue.

import julia.PowerModels

Windows fatal exception: code 0xc0000139

Main thread:
Current thread 0x00000178 (most recent call first):
File "C:\Users\koica07\anaconda3\Lib\site-packages\julia\libjulia.py", line 332 in init_julia
File "C:\Users\koica07\anaconda3\Lib\site-packages\julia\core.py", line 497 in init
File "C:\Users\koica07\anaconda3\Lib\site-packages\julia\core.py", line 242 in julia
File "C:\Users\koica07\anaconda3\Lib\site-packages\julia\core.py", line 254 in create_module
File "", line 573 in module_from_spec
File "", line 676 in _load_unlocked
File "", line 1147 in _find_and_load_unlocked
File "", line 1176 in _find_and_load
File "C:\Users\koica07\AppData\Local\Temp\ipykernel_19700\1033055077.py", line 1 in

@Aivlyz Aivlyz closed this as completed Feb 12, 2024
@Aivlyz Aivlyz reopened this Feb 12, 2024
@odow
Copy link
Collaborator

odow commented Feb 12, 2024

struggle to install PandaModels

This repo is for PowerModels. Are you talking about https://github.com/e2nIEE/PandaModels.jl?

Whenever I try to run code in Spyder I get a windows fatal error

This looks like you're using Python. PowerModels is a Julia package.

@Aivlyz
Copy link
Author

Aivlyz commented Feb 13, 2024

Sorry you are right. I followed the link here from the installation documentation, since it involves setting up the julia interface. But I think the problem is on the python side. Thank you for pointing it out.

@Aivlyz Aivlyz closed this as completed Feb 13, 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