Code Monkey home page Code Monkey logo

Comments (22)

blink1073 avatar blink1073 commented on July 19, 2024

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.

blink1073 avatar blink1073 commented on July 19, 2024

Actually, also paste the Octave start prompt if you don't mind.

from oct2py.

skhnat avatar skhnat commented on July 19, 2024

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.

moorepants avatar moorepants commented on July 19, 2024

@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.

blink1073 avatar blink1073 commented on July 19, 2024

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.

blink1073 avatar blink1073 commented on July 19, 2024

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.

blink1073 avatar blink1073 commented on July 19, 2024

@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.

moorepants avatar moorepants commented on July 19, 2024

I think we were using 3.8 because of some other issues. How do you find official builds for octave?

from oct2py.

blink1073 avatar blink1073 commented on July 19, 2024

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.

moorepants avatar moorepants commented on July 19, 2024

@spinningplates Can you try Octave 3.6.4 from the download @blink1073 just shared?

from oct2py.

moorepants avatar moorepants commented on July 19, 2024

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.

skhnat avatar skhnat commented on July 19, 2024

@moorepants @blink1073 Confirmed that oct2py works in Octave 3.6.4.

from oct2py.

moorepants avatar moorepants commented on July 19, 2024

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.

blink1073 avatar blink1073 commented on July 19, 2024

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.

skhnat avatar skhnat commented on July 19, 2024

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.

blink1073 avatar blink1073 commented on July 19, 2024

Fixed! I'll make sure it works still on Linux, and fire off a bug fix release.

from oct2py.

blink1073 avatar blink1073 commented on July 19, 2024

Should be good in v2.4.2, pip install -U oct2py

from oct2py.

moorepants avatar moorepants commented on July 19, 2024

Awesome, thanks! I'll pin our software to this version as the dependency (at least for Windows).

from oct2py.

moorepants avatar moorepants commented on July 19, 2024

@spinningplates Can you confirm that the 2.4.2 release works?

pip install --upgrade oct2py

will install the new version.

from oct2py.

skhnat avatar skhnat commented on July 19, 2024

I've just confirmed that the 2.4.2 release works. Thanks!

from oct2py.

blink1073 avatar blink1073 commented on July 19, 2024

Great! You're very welcome!

from oct2py.

uozden avatar uozden commented on July 19, 2024

Dear Blink1075
Which version of oct2py does work with Octave 4.0.0 on Windows ?
Thanks in advance

from oct2py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.