Comments (22)
Hi @spinningplates, thanks for the report. Can you open up a "cmd" Window and just type "octave" and let me know if Octave starts?
from oct2py.
Actually, also paste the Octave start prompt if you don't mind.
from oct2py.
Octave is able to start and I have successfully run programs using Octave.
This is copy-pasted after initializing Octave:
GNU Octave, version 3.8.1
Copyright (C) 2014 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "i686-w64-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
from oct2py.
@blink1073 I've noticed that anaconda does not work inside a MinGW or Cygwin shell. The Octave binaries for Windows are built with wither MinGW or Cygwin, so maybe there is an incompatibility. How do you install Octave on windows and do you use it with Anaconda on Windows?
from oct2py.
Here's my environment:
$ bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.
User: ~
$ python --version
Python 2.7.7 :: Anaconda 2.0.1 (32-bit)
$ octave --version
GNU Octave, version 3.6.4
Copyright (C) 2013 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Octave was configured for "i686-pc-mingw32".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
from oct2py.
I use Git Bash. I also tested with a clean install of oct2py 2.4.0
. I'll try upgrading Octave to the latest and see if that makes a difference...
from oct2py.
@spinningplates, I see that 3.8 is an unofficial build for Windows. http://wiki.octave.org/Octave_for_Windows#Octave_3.8_MXE_Builds. I do not want to get into the business of supporting unofficial builds. Its hard enough keeping up with all the environments as is...
from oct2py.
I think we were using 3.8 because of some other issues. How do you find official builds for octave?
from oct2py.
I'll make the docs clearer in that I only support the official builds on Windows and do not support Cygwin. http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/. There's a link to the .NET builds on the installation page.
from oct2py.
@spinningplates Can you try Octave 3.6.4 from the download @blink1073 just shared?
from oct2py.
I think this is why I was using 3.8+ on Ubuntu: #35
BTW, 3.8.1 is the default on 14.04 LTS: http://packages.ubuntu.com/trusty/math/octave
from oct2py.
@moorepants @blink1073 Confirmed that oct2py works in Octave 3.6.4.
from oct2py.
Great. So that's the deal. oct2py likely doesn't work on Windows with anything > 3.6.4.
See if our software works. We may need to modify the matlab code to run with 3.6.4.
from oct2py.
I did have to make some changes to accommodate 3.8 on Linux, but its been working for a couple versions now. It sounds like the pipe behavior may have changed between 3.6 and 3.8 (which led me to go back to pty on Linux). I fear oct2py may never work on Windows with Octave 3.8+. How did you install 3.8 on Windows? I can take a look when I get a spare moment.
from oct2py.
I just downloaded 3.8.2 from here: http://mxeoctave.osuv.de/ and installed as I did the other versions of Octave (in an Octave folder on the C drive). I also manually added the Octave/bin folder to the path to get it to work in Windows command line.
from oct2py.
Fixed! I'll make sure it works still on Linux, and fire off a bug fix release.
from oct2py.
Should be good in v2.4.2, pip install -U oct2py
from oct2py.
Awesome, thanks! I'll pin our software to this version as the dependency (at least for Windows).
from oct2py.
@spinningplates Can you confirm that the 2.4.2 release works?
pip install --upgrade oct2py
will install the new version.
from oct2py.
I've just confirmed that the 2.4.2 release works. Thanks!
from oct2py.
Great! You're very welcome!
from oct2py.
Dear Blink1075
Which version of oct2py does work with Octave 4.0.0 on Windows ?
Thanks in advance
from oct2py.
Related Issues (20)
- error: 'upfirdn' undefined near line 121, column 121 HOT 5
- Struct fieldnames that start with number are ignored HOT 1
- Bug: PULL-PUSH-PULL 1D Column vector will convert into 1D Row Vector HOT 4
- push will push Cell HOT 2
- [Question] Properly end session HOT 4
- Using `system ("cat ~/.octaverc")` on Winows HOT 2
- initialization: graphics_toolkit: 2004h toolkit is not available HOT 5
- Run doesn't create new variables in the octave environment HOT 3
- Conflict with opencv HOT 5
- bracketed paste \x1b[?2004h issue HOT 3
- Memory Leak HOT 1
- Problem with calling function; too many outputs HOT 1
- When I use python multiprocessing to open multiple octave displays a timeou HOT 1
- Problem with matlab package folders?
- Thread pool executor leaves ghost-threads that fill up memory
- Calling function script takes 1.5 seconds HOT 1
- error: 'graphics_toolkit' undefined
- Error trying to import octave in Anaconda Spyder using "from oct2py import octave" HOT 8
- _exist function not removing special characters from response HOT 2
- Error on testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oct2py.