Code Monkey home page Code Monkey logo

Comments (7)

jameskermode avatar jameskermode commented on July 18, 2024

You might need to add whichever directory the script had been copied to to your PATH. For example, if you installed with python setup.py install —user this would be ~/.local/bin

from f90wrap.

ChaoyiZhu93 avatar ChaoyiZhu93 commented on July 18, 2024

I just installed it on my mac using the same method and there is no problem running f90wrap. the f90wrap executable in mac is in the /anaconda/bin.

On my windows laptop, the f90wrap is in the /anaconda/script along with the f2py. I can run f2py on the terminal but not the f90wrap.

from f90wrap.

jameskermode avatar jameskermode commented on July 18, 2024

Sorry, I’ve not used anaconda on Windows and know nothing about how paths are specified there. Must be a general issue though, not specific to f90wrap. It sounds like you need to add /anaconda/scripts to the console search path, but I don’t know how to do this in Windows.

from f90wrap.

ChaoyiZhu93 avatar ChaoyiZhu93 commented on July 18, 2024

Thanks for the prompt reply. This tool will be very helpful for my work to wrap around a huge fortran90 repository. If it temporarily doesn't work out on the windows, I will just stick with my mac.

In fact, I already added the directory /anaconda/scripts to my PATH otherwise the f2py wouldn't be able to run. However, the f2py is in the format of an executable file .exe whereas the f90wrap does not have a file extension ..

from f90wrap.

pakachiku avatar pakachiku commented on July 18, 2024

I would also like a solution to this problem. There is not executable generated in this path, I find only the these files under the Scripts folder: f90wrap, f90doc, f2py-script.py and f2py-f90wrap. Is there any way to compile them into an executable?

from f90wrap.

jameskermode avatar jameskermode commented on July 18, 2024

As above, I’ve not used Python in general of f90wrap in particular on Windows so am unable to help. If anyone else can make a suggestion that would be great. It should not be necessary to build an executable, since these are standard Python scripts, and if necessary could be invoked as python f90wrap etc, but I’m sure there’s a better solution than that.

from f90wrap.

bilderbuchi avatar bilderbuchi commented on July 18, 2024

In principle conda packages should just pick up the scripts entry from setup.py (that was broken some time around 2016, see conda/conda-build#1471), so that should work. However, the f90wrap recipe is not built on Windows, sadly. It might be worth it to report this over at https://github.com/conda-forge/f90wrap-feedstock/issues

from f90wrap.

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.