JuliaPy / JuliaPy/pyjulia

Broken pipe when running script in Anaconda

Open
#288 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
893
Forks
101
PR merge metrics
No merged PRs in 30d

Description

This line:

jl.eval('run_ac_opf("pglib_opf_case5_pjm.m", IpoptSolver())')

gives a broken pipe error:

JuliaError: Exception 'IOError: write: broken pipe (EPIPE)' occurred while calling julia code:
run_ac_opf("pglib_opf_case5_pjm.m", IpoptSolver())

But only if I've already run the script. After restarting the terminal everything runs ok the first time. Looking at other issues I think this has something to do with precompilation? Is there some way I can kill Julia every time I run the script without having to manually restart the terminal?

I'm using Spyder/Anaconda/Ubuntu with Julia(compiled_modules=False)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.