TexStudio doesn't find the package “Pygments” although it is installed Announcing the...

Is there night in Alpha Complex?

What could prevent concentrated local exploration?

The Nth Gryphon Number

Why do C and C++ allow the expression (int) + 4*5?

How do I say "this must not happen"?

Noise in Eigenvalues plot

Random body shuffle every night—can we still function?

Restricting the Object Type for the get method in a Java HashMap

What format of font size does Google Docs use?

Fit odd number of triplets in a measure?

How do you cope with tons of web fonts when copying and pasting from web pages?

Magento 2 Editing phtml files in Production Mode

Why not use the yoke to control yaw, as well as pitch and roll?

How do I find my Spellcasting Ability for my D&D character?

Who's this lady in the war room?

Does the main washing effect of soap come from foam?

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

How to get a flat-head nail out of a piece of wood?

Can anyone explain what's the meaning of this in the new Game of Thrones opening animations?

false 'Security alert' from Google - every login generates mails from 'no-reply@accounts.google.com'

Bash script to execute command with file from directory and condition

Escaping $ in listings environment

Is my guitar’s action too high?

Marquee sign letters



TexStudio doesn't find the package “Pygments” although it is installed



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)TeXLipse, Pygments and the minted package not workingTeXstudio: “No dictionary Available”, although it is!TeXStudio cannot find packagesTeXstudio cannot find LaTexIssue installing minted on Windows 10Error in TeXstudio with unicode-data packageOSX Sierra - Pygmentize sometimes not recognizedPackage minted Error: Missing Pygments outputpygments error Texstudio in Windows 10PYGdefault undefined error in TeXstudio - how to remove the __minted_* folder?












0















I'm try to use the minted package in latex to display code in latex document. From Texstudio, I get an error message you must have pygmentize installed to use this package. So I tried to install the package Pygments with brew (my package manager for MacOS)



I typed the following line brew install Pygments but get the following message



==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.


By the way, the if I type pip3 install pygments I get
Requirement already satisfied: pygments in /usr/local/lib/python3.7/site-packages (2.3.1) which means that pip3 has installed on the machine but homebrew doesn't know where it is



So after typing pip3 show Pygments I get the path where that package is installed namely: /usr/local/lib/python3.7/site-packages. Moreover, when I launch python from the Terminal and type import pygments no error message is displayed. That means that it is correctly installed but that the latex editor cannot find it.



What am I doing wrong?









share



























    0















    I'm try to use the minted package in latex to display code in latex document. From Texstudio, I get an error message you must have pygmentize installed to use this package. So I tried to install the package Pygments with brew (my package manager for MacOS)



    I typed the following line brew install Pygments but get the following message



    ==> Searching for a previously deleted formula (in the last month)...
    Warning: homebrew/core is shallow clone. To get complete history run:
    git -C "$(brew --repo homebrew/core)" fetch --unshallow

    Error: No previously deleted formula found.
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    ==> Searching taps...
    ==> Searching taps on GitHub...
    Error: No formulae found in taps.


    By the way, the if I type pip3 install pygments I get
    Requirement already satisfied: pygments in /usr/local/lib/python3.7/site-packages (2.3.1) which means that pip3 has installed on the machine but homebrew doesn't know where it is



    So after typing pip3 show Pygments I get the path where that package is installed namely: /usr/local/lib/python3.7/site-packages. Moreover, when I launch python from the Terminal and type import pygments no error message is displayed. That means that it is correctly installed but that the latex editor cannot find it.



    What am I doing wrong?









    share

























      0












      0








      0








      I'm try to use the minted package in latex to display code in latex document. From Texstudio, I get an error message you must have pygmentize installed to use this package. So I tried to install the package Pygments with brew (my package manager for MacOS)



      I typed the following line brew install Pygments but get the following message



      ==> Searching for a previously deleted formula (in the last month)...
      Warning: homebrew/core is shallow clone. To get complete history run:
      git -C "$(brew --repo homebrew/core)" fetch --unshallow

      Error: No previously deleted formula found.
      ==> Searching for similarly named formulae...
      Error: No similarly named formulae found.
      ==> Searching taps...
      ==> Searching taps on GitHub...
      Error: No formulae found in taps.


      By the way, the if I type pip3 install pygments I get
      Requirement already satisfied: pygments in /usr/local/lib/python3.7/site-packages (2.3.1) which means that pip3 has installed on the machine but homebrew doesn't know where it is



      So after typing pip3 show Pygments I get the path where that package is installed namely: /usr/local/lib/python3.7/site-packages. Moreover, when I launch python from the Terminal and type import pygments no error message is displayed. That means that it is correctly installed but that the latex editor cannot find it.



      What am I doing wrong?









      share














      I'm try to use the minted package in latex to display code in latex document. From Texstudio, I get an error message you must have pygmentize installed to use this package. So I tried to install the package Pygments with brew (my package manager for MacOS)



      I typed the following line brew install Pygments but get the following message



      ==> Searching for a previously deleted formula (in the last month)...
      Warning: homebrew/core is shallow clone. To get complete history run:
      git -C "$(brew --repo homebrew/core)" fetch --unshallow

      Error: No previously deleted formula found.
      ==> Searching for similarly named formulae...
      Error: No similarly named formulae found.
      ==> Searching taps...
      ==> Searching taps on GitHub...
      Error: No formulae found in taps.


      By the way, the if I type pip3 install pygments I get
      Requirement already satisfied: pygments in /usr/local/lib/python3.7/site-packages (2.3.1) which means that pip3 has installed on the machine but homebrew doesn't know where it is



      So after typing pip3 show Pygments I get the path where that package is installed namely: /usr/local/lib/python3.7/site-packages. Moreover, when I launch python from the Terminal and type import pygments no error message is displayed. That means that it is correctly installed but that the latex editor cannot find it.



      What am I doing wrong?







      texstudio minted python pygments





      share












      share










      share



      share










      asked 8 mins ago









      ecjbecjb

      3276




      3276






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "85"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486052%2ftexstudio-doesnt-find-the-package-pygments-although-it-is-installed%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f486052%2ftexstudio-doesnt-find-the-package-pygments-although-it-is-installed%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          IEEEtran - How to include ORCID in TeX/PDF with PdfLatexIs there a standard way to include ORCID in TeX /...

          Cicindela nigrior Przypisy | Menu nawigacyjneCicindela varians unicolorManual for the Identification of the...

          Glossaries-extra: Adding glossaries package to “Clas­sicTh­e­sis” template by Dr. André Miede v. 4.6 ...