BYU-PRISM / GEKKO

GEKKO Python for Machine Learning and Dynamic Optimization
https://machinelearning.byu.edu
Other
595 stars 104 forks source link

m.GUI() server not found #19

Closed nwoodbury closed 6 years ago

nwoodbury commented 6 years ago

Running Python 3 in a Windows 10 environment. When calling m.GUI(), a server is created, but when navigating to the page specified by the port, a 404 (page not found) error is returned.

loganbeal commented 6 years ago

@dhill2522 The Vue "static" folder didn't make it into the pip package.

dhill2522 commented 6 years ago

@loganbeal Somehow it is still not including the static files even with your latest commit (5b8dc47). I just tried it with pip install gekko in a fresh virtualenv. The first time it looked like it worked because the browser had cached the page, but on a hard refresh it doesn't.

loganbeal commented 6 years ago

@dhill2522 I think I fixed it in the latest commit and pip package

dhill2522 commented 6 years ago

Thanks! It works great now as far as I can tell.

dhill2522 commented 6 years ago

@nwoodbury If you are interested in trying this again a pip install --upgrade gekko should do the trick now.