How do I add path to PYTHONPATH in C shell? Unicorn Meta Zoo #1: Why another podcast? ...

"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?

Where was the County of Thurn und Taxis located?

Obeylines and gappto from etoolbox

Drawing a german abacus as in the books of Adam Ries

What is this word supposed to be?

A strange hotel

How to avoid introduction cliches

Is there any pythonic way to find average of specific tuple elements in array?

As an international instructor, should I openly talk about my accent?

Contradiction proof for inequality of P and NP?

Unable to completely uninstall Zoom meeting app

How do I reattach a shelf to the wall when it ripped out of the wall?

The weakest link

How bug prioritization works in agile projects vs non agile

Map material from china not allowed to leave the country

A Paper Record is What I Hamper

Multiple options vs single option UI

Can I criticise the more senior developers around me for not writing clean code?

How to not starve gigantic beasts

`microtype`: Set Minimum Width of a Space

Do I need to watch Ant-Man and the Wasp and Captain Marvel before watching Avengers: Endgame?

Why did C use the -> operator instead of reusing the . operator?

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

view price of already bought and installed apps on play sotr



How do I add path to PYTHONPATH in C shell?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraTo install Markdown's extensions by PythonDeleted /usr/bin/python* by mistake, how can I recover it?issue with my path variablePath variable broken Windows 7?Installing Python wrapper for METIS: Cannot locate METIS_DLL shared libraryJava PATH issuesaireplay-ng command not foundAdd SONAR_RUNNER_HOME correctly to PATHHow do I run a Python script from a C shell without specifying whole path?How to prevent MobaXterm from prepending the path?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am trying to add a path to PYTHONPATH in .cshrc with the following



setenv FITPACK /work/JAM/zyy/jet_mellin_qb/fitpack2
setenv PATH ${FITPACK}/bin:${PATH}
setenv PYTHONPATH ${FITPACK}:${PYTHONPATH}


I save it, source it, no error message is printed, but when I test it with some Python script, the subdirectories of /work/JAM/zyy/jet_mellin_qb/fitpack2 is not recognized.



I am using .cshrc because it is what the supercomputer uses. Also when I try to ssh into the same machine after I did source .cshrc, I got the message PYTHONPATH: Undefined variable.



Could someone please help me?



Thanks in advance!










share|improve this question





























    0















    I am trying to add a path to PYTHONPATH in .cshrc with the following



    setenv FITPACK /work/JAM/zyy/jet_mellin_qb/fitpack2
    setenv PATH ${FITPACK}/bin:${PATH}
    setenv PYTHONPATH ${FITPACK}:${PYTHONPATH}


    I save it, source it, no error message is printed, but when I test it with some Python script, the subdirectories of /work/JAM/zyy/jet_mellin_qb/fitpack2 is not recognized.



    I am using .cshrc because it is what the supercomputer uses. Also when I try to ssh into the same machine after I did source .cshrc, I got the message PYTHONPATH: Undefined variable.



    Could someone please help me?



    Thanks in advance!










    share|improve this question

























      0












      0








      0








      I am trying to add a path to PYTHONPATH in .cshrc with the following



      setenv FITPACK /work/JAM/zyy/jet_mellin_qb/fitpack2
      setenv PATH ${FITPACK}/bin:${PATH}
      setenv PYTHONPATH ${FITPACK}:${PYTHONPATH}


      I save it, source it, no error message is printed, but when I test it with some Python script, the subdirectories of /work/JAM/zyy/jet_mellin_qb/fitpack2 is not recognized.



      I am using .cshrc because it is what the supercomputer uses. Also when I try to ssh into the same machine after I did source .cshrc, I got the message PYTHONPATH: Undefined variable.



      Could someone please help me?



      Thanks in advance!










      share|improve this question














      I am trying to add a path to PYTHONPATH in .cshrc with the following



      setenv FITPACK /work/JAM/zyy/jet_mellin_qb/fitpack2
      setenv PATH ${FITPACK}/bin:${PATH}
      setenv PYTHONPATH ${FITPACK}:${PYTHONPATH}


      I save it, source it, no error message is printed, but when I test it with some Python script, the subdirectories of /work/JAM/zyy/jet_mellin_qb/fitpack2 is not recognized.



      I am using .cshrc because it is what the supercomputer uses. Also when I try to ssh into the same machine after I did source .cshrc, I got the message PYTHONPATH: Undefined variable.



      Could someone please help me?



      Thanks in advance!







      python path csh






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      zyyzyy

      1106




      1106






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fsuperuser.com%2fquestions%2f1429210%2fhow-do-i-add-path-to-pythonpath-in-c-shell%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 Super User!


          • 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%2fsuperuser.com%2fquestions%2f1429210%2fhow-do-i-add-path-to-pythonpath-in-c-shell%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

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...