Git Product home page Git Product logo

Comments (3)

SamPrinceFranklin avatar SamPrinceFranklin commented on May 25, 2024

Facing the same issue

from plotneuralnet.

SamPrinceFranklin avatar SamPrinceFranklin commented on May 25, 2024

Hi all,

I am getting this error when running the example:


../tikzmake.sh: line 5: pdflatex: command not found
rm: cannot remove '*.aux': No such file or directory
rm: cannot remove '*.log': No such file or directory
rm: cannot remove '*.vscodeLog': No such file or directory
../tikzmake.sh: line 13: xdg-open: command not found

I am not sure why this happens. I have installed MikTex and it is added to my path: image

The following method worked for me

Adding pdflatex to PATH on Windows

  1. Find the Path to pdflatex:

    • Open File Explorer.
    • Navigate to the directory where pdflatex is installed. By default, if you've installed LaTeX using MiKTeX, it might be located in C:\Program Files\MiKTeX<version>\miktex\bin or C:\Program Files (x86)\MiKTeX<version>\miktex\bin if you're using a 32-bit version.
  2. Add pdflatex to System Environment Variables:

    • Right-click on "This PC" or "My Computer" (depending on your Windows version) and select "Properties".
    • In the System window, click on "Advanced system settings" on the left panel.
    • In the System Properties window, click on the "Environment Variables" button at the bottom.
    • In the Environment Variables window, under the "System variables" section, find the "Path" variable and select it, then click on "Edit".
    • Click on "New" and add the path to the directory where pdflatex is located. Ensure each path in the list is separated by a semicolon (;).
    • Click "OK" to close each window.
  3. Verify Installation:

    • Open Command Prompt (search for "cmd" in the Start menu).
    • Type pdflatex --version and press Enter.
    • If pdflatex is correctly added to the PATH, you should see version information printed in the Command Prompt.

from plotneuralnet.

RandyChen233 avatar RandyChen233 commented on May 25, 2024

Hi, thanks for the instructions!
However, even though the pdflatex version info shows up when I type pdflatex --version in a command prompt, I'm still facing the same error

from plotneuralnet.

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.