AWS CLI on Bash on Ubuntu on Windows (Python path) The 2019 Stack Overflow Developer Survey...

What was the last x86 CPU that did not have the x87 floating-point unit built in?

Was credit for the black hole image misattributed?

How does this infinite series simplify to an integral?

Did God make two great lights or did He make the great light two?

Take groceries in checked luggage

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Why is the object placed in the middle of the sentence here?

The variadic template constructor of my class cannot modify my class members, why is that so?

Finding the path in a graph from A to B then back to A with a minimum of shared edges

How do you keep chess fun when your opponent constantly beats you?

Why not take a picture of a closer black hole?

Are my PIs rude or am I just being too sensitive?

How can I protect witches in combat who wear limited clothing?

Semisimplicity of the category of coherent sheaves?

Am I ethically obligated to go into work on an off day if the reason is sudden?

Can a novice safely splice in wire to lengthen 5V charging cable?

How to test the equality of two Pearson correlation coefficients computed from the same sample?

Would it be possible to rearrange a dragon's flight muscle to somewhat circumvent the square-cube law?

Working through the single responsibility principle (SRP) in Python when calls are expensive

Is a pteranodon too powerful as a beast companion for a beast master?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

Segmentation fault output is suppressed when piping stdin into a function. Why?

Mortgage adviser recommends a longer term than necessary combined with overpayments

Who or what is the being for whom Being is a question for Heidegger?



AWS CLI on Bash on Ubuntu on Windows (Python path)



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Bash on Windows / Windows Subsytem for Linux (WSL) not installing correctly / hangsCannot reach Python Http Server running on Win10 Ubuntu bash from the networkHow to launch Bash on Ubuntu on Windows from third-party application?Running a bash background process on Windows 10 without an open terminalRun bash file on Windows via task schedulercan I share my SSH keys between WSL and Windows?Ubuntu for Windows incorrect path when using symlinkConnection to localhost refused in Ubuntu subsystem on WindowsHow to reset kali linux password in windows subsystem for linuxaws command works in WSL, but not as one-liner from PowerShell





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







0















I'm trying to share ~/.aws/ credentials with both environments (Bash on Ubuntu on Windows + Windows). To do so, I've created a symlink like: ln -s /mnt/c/Users/<user_name>/.aws ~/.aws



From Bash on Ubuntu on Windows, when I run which aws I get a Windows Python path. Not ideal. How is it picking this up?



I created 2 separate Python virtual environments, 1 for Linux and 1 for Windows.



Now when I run aws s3 ls etc from either environment, I get the same results yay!



However, if I don't activate a Linux virtual environment from "Bash on Ubuntu on Windows" and try run aws s3 ls it breaks because it's trying to use Windows' Python aws. I can see this by running echo $PATH



Can I drop the Windows Python path from my Linux subsystem safely?










share|improve this question







New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • This may help stackoverflow.com/a/51345880/8928481

    – Biswapriyo
    yesterday


















0















I'm trying to share ~/.aws/ credentials with both environments (Bash on Ubuntu on Windows + Windows). To do so, I've created a symlink like: ln -s /mnt/c/Users/<user_name>/.aws ~/.aws



From Bash on Ubuntu on Windows, when I run which aws I get a Windows Python path. Not ideal. How is it picking this up?



I created 2 separate Python virtual environments, 1 for Linux and 1 for Windows.



Now when I run aws s3 ls etc from either environment, I get the same results yay!



However, if I don't activate a Linux virtual environment from "Bash on Ubuntu on Windows" and try run aws s3 ls it breaks because it's trying to use Windows' Python aws. I can see this by running echo $PATH



Can I drop the Windows Python path from my Linux subsystem safely?










share|improve this question







New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • This may help stackoverflow.com/a/51345880/8928481

    – Biswapriyo
    yesterday














0












0








0








I'm trying to share ~/.aws/ credentials with both environments (Bash on Ubuntu on Windows + Windows). To do so, I've created a symlink like: ln -s /mnt/c/Users/<user_name>/.aws ~/.aws



From Bash on Ubuntu on Windows, when I run which aws I get a Windows Python path. Not ideal. How is it picking this up?



I created 2 separate Python virtual environments, 1 for Linux and 1 for Windows.



Now when I run aws s3 ls etc from either environment, I get the same results yay!



However, if I don't activate a Linux virtual environment from "Bash on Ubuntu on Windows" and try run aws s3 ls it breaks because it's trying to use Windows' Python aws. I can see this by running echo $PATH



Can I drop the Windows Python path from my Linux subsystem safely?










share|improve this question







New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm trying to share ~/.aws/ credentials with both environments (Bash on Ubuntu on Windows + Windows). To do so, I've created a symlink like: ln -s /mnt/c/Users/<user_name>/.aws ~/.aws



From Bash on Ubuntu on Windows, when I run which aws I get a Windows Python path. Not ideal. How is it picking this up?



I created 2 separate Python virtual environments, 1 for Linux and 1 for Windows.



Now when I run aws s3 ls etc from either environment, I get the same results yay!



However, if I don't activate a Linux virtual environment from "Bash on Ubuntu on Windows" and try run aws s3 ls it breaks because it's trying to use Windows' Python aws. I can see this by running echo $PATH



Can I drop the Windows Python path from my Linux subsystem safely?







windows bash amazon-web-services windows-subsystem-for-linux






share|improve this question







New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









SelfishCosmonautSelfishCosmonaut

1




1




New contributor




SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






SelfishCosmonaut is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • This may help stackoverflow.com/a/51345880/8928481

    – Biswapriyo
    yesterday



















  • This may help stackoverflow.com/a/51345880/8928481

    – Biswapriyo
    yesterday

















This may help stackoverflow.com/a/51345880/8928481

– Biswapriyo
yesterday





This may help stackoverflow.com/a/51345880/8928481

– Biswapriyo
yesterday










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
});


}
});






SelfishCosmonaut is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1424536%2faws-cli-on-bash-on-ubuntu-on-windows-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








SelfishCosmonaut is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















SelfishCosmonaut is a new contributor. Be nice, and check out our Code of Conduct.













SelfishCosmonaut is a new contributor. Be nice, and check out our Code of Conduct.












SelfishCosmonaut is a new contributor. Be nice, and check out our Code of Conduct.
















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%2f1424536%2faws-cli-on-bash-on-ubuntu-on-windows-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







Popular posts from this blog

Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...