How to change the path so that screen can take the default python path?












0















I am using a python script from GitHub to do some of my analysis. To run the script, I required some other programs which are also installed in our server. I linked the software with those programs by the following command.




ln -s /usr/local/bin/clustalo



ln -s /usr/bin/blastn




The script behaves properly when I run it in our server and taking the python from the following path.




/usr/bin/python




But I can't run the program on screen because the python path is now as following and all the dependencies are not in this path.




userdata/student_users/X/software/miniconda2/bin/python




How can I change the path of the screen so that it takes this path?




/usr/bin/python











share|improve this question

























  • what's the path to the dependencies on the server?

    – richflow
    Nov 21 '18 at 5:07











  • also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

    – richflow
    Nov 21 '18 at 5:08











  • Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

    – user266095
    Nov 21 '18 at 6:30
















0















I am using a python script from GitHub to do some of my analysis. To run the script, I required some other programs which are also installed in our server. I linked the software with those programs by the following command.




ln -s /usr/local/bin/clustalo



ln -s /usr/bin/blastn




The script behaves properly when I run it in our server and taking the python from the following path.




/usr/bin/python




But I can't run the program on screen because the python path is now as following and all the dependencies are not in this path.




userdata/student_users/X/software/miniconda2/bin/python




How can I change the path of the screen so that it takes this path?




/usr/bin/python











share|improve this question

























  • what's the path to the dependencies on the server?

    – richflow
    Nov 21 '18 at 5:07











  • also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

    – richflow
    Nov 21 '18 at 5:08











  • Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

    – user266095
    Nov 21 '18 at 6:30














0












0








0








I am using a python script from GitHub to do some of my analysis. To run the script, I required some other programs which are also installed in our server. I linked the software with those programs by the following command.




ln -s /usr/local/bin/clustalo



ln -s /usr/bin/blastn




The script behaves properly when I run it in our server and taking the python from the following path.




/usr/bin/python




But I can't run the program on screen because the python path is now as following and all the dependencies are not in this path.




userdata/student_users/X/software/miniconda2/bin/python




How can I change the path of the screen so that it takes this path?




/usr/bin/python











share|improve this question
















I am using a python script from GitHub to do some of my analysis. To run the script, I required some other programs which are also installed in our server. I linked the software with those programs by the following command.




ln -s /usr/local/bin/clustalo



ln -s /usr/bin/blastn




The script behaves properly when I run it in our server and taking the python from the following path.




/usr/bin/python




But I can't run the program on screen because the python path is now as following and all the dependencies are not in this path.




userdata/student_users/X/software/miniconda2/bin/python




How can I change the path of the screen so that it takes this path?




/usr/bin/python








python path screen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '18 at 6:28







user266095

















asked Nov 21 '18 at 4:57









user266095user266095

54




54













  • what's the path to the dependencies on the server?

    – richflow
    Nov 21 '18 at 5:07











  • also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

    – richflow
    Nov 21 '18 at 5:08











  • Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

    – user266095
    Nov 21 '18 at 6:30



















  • what's the path to the dependencies on the server?

    – richflow
    Nov 21 '18 at 5:07











  • also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

    – richflow
    Nov 21 '18 at 5:08











  • Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

    – user266095
    Nov 21 '18 at 6:30

















what's the path to the dependencies on the server?

– richflow
Nov 21 '18 at 5:07





what's the path to the dependencies on the server?

– richflow
Nov 21 '18 at 5:07













also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

– richflow
Nov 21 '18 at 5:08





also, you may want to edit your post to protect your privacy. the world can see your student username, what university you go to and what department you belong to.

– richflow
Nov 21 '18 at 5:08













Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

– user266095
Nov 21 '18 at 6:30





Hi, Thanks. I edit those. It use /usr/bin or /usr/local/bin

– user266095
Nov 21 '18 at 6:30












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53405505%2fhow-to-change-the-path-so-that-screen-can-take-the-default-python-path%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 Stack Overflow!


  • 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%2fstackoverflow.com%2fquestions%2f53405505%2fhow-to-change-the-path-so-that-screen-can-take-the-default-python-path%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







這個網誌中的熱門文章

Tangent Lines Diagram Along Smooth Curve

Yusuf al-Mu'taman ibn Hud

Zucchini