AWS on Ubuntu WSLAWS Ubuntu Spectre - instance dying?Permissions on WSLCreate .netrc-file in WSL/UbuntuLinux kernel development in WSL
Driving distance between O'Hare (ORD) and Downtown Chicago is 20.5 mi and 1H 17min?
What does Bitcoin policy language offer the developer that Miniscript doesn't? What is the difference between Bitcoin policy language and Miniscript?
How do I experimentally measure the surface area of a rock?
Warranty on lock damaged during attempted theft
その without a following noun?
What are standard cryptographic assumptions?
What is the maximum number of squares 8 queens and 8 nightriders can attack on a 16x16 board?
Use field calculator QGIS: if value in one column, then value in new column
How can kinetic energy increase during a collision?
Is this a pure function?
Completing the square to solve limit problems
Does knowledge of data structure compromise AES encryption?
Is policy routing bad?
My boss wants me to recreate everything I have done for my previous employer
How to avoid after work hours team dinner?
Under international law, can a country partially withdraw from a treaty?
Can a landlord ask a tenant to sign an addendum to the lease that changes the terms of the first lease?
When nothing is defined, what does Mathematica take for #1?
50% portfolio in single stock, JPM - appropriate for 80 year old?
How to correctly use newtxtext and newtxmath with luatex
I have stack-exchanged through my undergrad math program. Am I likely to succeed in mathematics PhD programs?
Am I being run backwards?
Conditionals across a new environment
How to present boolean options along with selecting exactly 1 of them as "primary"?
AWS on Ubuntu WSL
AWS Ubuntu Spectre - instance dying?Permissions on WSLCreate .netrc-file in WSL/UbuntuLinux kernel development in WSL
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one...
/mnt/c/Users/jonathan.lafleur/web objects aws --version zsh:
/mnt/c/Program Files/Python36/Scripts//aws: bad interpreter:
c:program: no such file or directory ✘
/mnt/c/Users/jonathan.lafleur/web objects where aws /mnt/c/Program
Files/Python36/Scripts//aws
But I know AWS is installed since I got this message :
Successfully installed PyYAML-5.1 awscli-1.16.207 botocore-1.12.197
colorama-0.3.9 docutils-0.14 futures-3.3.0 jmespath-0.9.4 pyasn1-0.4.5
python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.12.0
urllib3-1.25.3
If I echo my path :
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Program
Files/Docker/Docker/Resources/bin:/mnt/c/Program Files (x86)/Common
Files/Oracle/Java/javapath:/mnt/c/Program
Files/PHP/v5.3:/mnt/c/Program Files/Python36/Scripts/:/mnt/c/Program
Files/Python36/:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program
Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program
Files/PuTTY/:/mnt/c/Program
Files/Git/cmd:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/nvm:/mnt/c/Program
Files/nodejs:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin64/:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin32/:/mnt/c/Users/jonathan.lafleur/AppData/Local/JetBrains/Toolbox/apps/WebStorm/ch-0/173.4548.30/bin:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance Too:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance
Toolkit/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/Microsoft VS
Code/bin:/mnt/c/nodejs/:/mnt/c/PHP/7.1:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program
Files/Intel/Intel(R) Management Engine
Components/DAL:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program
Files/PowerShell/6/:/mnt/c/Users/jonathan.lafleur/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/npm:/mnt/c/MinGW/msys/1.0/bin:/mnt/c/MinGW/bin:/mnt/c/Program
Files (x86)/FontForgeBuilds
Any idea how to fix that ?
windows-subsystem-for-linux aws
add a comment
|
I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one...
/mnt/c/Users/jonathan.lafleur/web objects aws --version zsh:
/mnt/c/Program Files/Python36/Scripts//aws: bad interpreter:
c:program: no such file or directory ✘
/mnt/c/Users/jonathan.lafleur/web objects where aws /mnt/c/Program
Files/Python36/Scripts//aws
But I know AWS is installed since I got this message :
Successfully installed PyYAML-5.1 awscli-1.16.207 botocore-1.12.197
colorama-0.3.9 docutils-0.14 futures-3.3.0 jmespath-0.9.4 pyasn1-0.4.5
python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.12.0
urllib3-1.25.3
If I echo my path :
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Program
Files/Docker/Docker/Resources/bin:/mnt/c/Program Files (x86)/Common
Files/Oracle/Java/javapath:/mnt/c/Program
Files/PHP/v5.3:/mnt/c/Program Files/Python36/Scripts/:/mnt/c/Program
Files/Python36/:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program
Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program
Files/PuTTY/:/mnt/c/Program
Files/Git/cmd:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/nvm:/mnt/c/Program
Files/nodejs:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin64/:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin32/:/mnt/c/Users/jonathan.lafleur/AppData/Local/JetBrains/Toolbox/apps/WebStorm/ch-0/173.4548.30/bin:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance Too:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance
Toolkit/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/Microsoft VS
Code/bin:/mnt/c/nodejs/:/mnt/c/PHP/7.1:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program
Files/Intel/Intel(R) Management Engine
Components/DAL:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program
Files/PowerShell/6/:/mnt/c/Users/jonathan.lafleur/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/npm:/mnt/c/MinGW/msys/1.0/bin:/mnt/c/MinGW/bin:/mnt/c/Program
Files (x86)/FontForgeBuilds
Any idea how to fix that ?
windows-subsystem-for-linux aws
add a comment
|
I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one...
/mnt/c/Users/jonathan.lafleur/web objects aws --version zsh:
/mnt/c/Program Files/Python36/Scripts//aws: bad interpreter:
c:program: no such file or directory ✘
/mnt/c/Users/jonathan.lafleur/web objects where aws /mnt/c/Program
Files/Python36/Scripts//aws
But I know AWS is installed since I got this message :
Successfully installed PyYAML-5.1 awscli-1.16.207 botocore-1.12.197
colorama-0.3.9 docutils-0.14 futures-3.3.0 jmespath-0.9.4 pyasn1-0.4.5
python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.12.0
urllib3-1.25.3
If I echo my path :
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Program
Files/Docker/Docker/Resources/bin:/mnt/c/Program Files (x86)/Common
Files/Oracle/Java/javapath:/mnt/c/Program
Files/PHP/v5.3:/mnt/c/Program Files/Python36/Scripts/:/mnt/c/Program
Files/Python36/:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program
Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program
Files/PuTTY/:/mnt/c/Program
Files/Git/cmd:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/nvm:/mnt/c/Program
Files/nodejs:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin64/:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin32/:/mnt/c/Users/jonathan.lafleur/AppData/Local/JetBrains/Toolbox/apps/WebStorm/ch-0/173.4548.30/bin:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance Too:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance
Toolkit/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/Microsoft VS
Code/bin:/mnt/c/nodejs/:/mnt/c/PHP/7.1:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program
Files/Intel/Intel(R) Management Engine
Components/DAL:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program
Files/PowerShell/6/:/mnt/c/Users/jonathan.lafleur/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/npm:/mnt/c/MinGW/msys/1.0/bin:/mnt/c/MinGW/bin:/mnt/c/Program
Files (x86)/FontForgeBuilds
Any idea how to fix that ?
windows-subsystem-for-linux aws
I'm using Ubuntu WSL and I installed AWSCLI but since it's also installed on Windows, Ubuntu throw an error since it's trying to use the Windows version one...
/mnt/c/Users/jonathan.lafleur/web objects aws --version zsh:
/mnt/c/Program Files/Python36/Scripts//aws: bad interpreter:
c:program: no such file or directory ✘
/mnt/c/Users/jonathan.lafleur/web objects where aws /mnt/c/Program
Files/Python36/Scripts//aws
But I know AWS is installed since I got this message :
Successfully installed PyYAML-5.1 awscli-1.16.207 botocore-1.12.197
colorama-0.3.9 docutils-0.14 futures-3.3.0 jmespath-0.9.4 pyasn1-0.4.5
python-dateutil-2.8.0 rsa-3.4.2 s3transfer-0.2.1 six-1.12.0
urllib3-1.25.3
If I echo my path :
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/ProgramData/DockerDesktop/version-bin:/mnt/c/Program
Files/Docker/Docker/Resources/bin:/mnt/c/Program Files (x86)/Common
Files/Oracle/Java/javapath:/mnt/c/Program
Files/PHP/v5.3:/mnt/c/Program Files/Python36/Scripts/:/mnt/c/Program
Files/Python36/:/mnt/c/ProgramData/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Program
Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program
Files/PuTTY/:/mnt/c/Program
Files/Git/cmd:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/nvm:/mnt/c/Program
Files/nodejs:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin64/:/mnt/c/Program Files (x86)/Druide/Antidote
9/Application/Bin32/:/mnt/c/Users/jonathan.lafleur/AppData/Local/JetBrains/Toolbox/apps/WebStorm/ch-0/173.4548.30/bin:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance Too:/mnt/c/Program
Files (x86)/Windows Kits/8.1/Windows Performance
Toolkit/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/Microsoft VS
Code/bin:/mnt/c/nodejs/:/mnt/c/PHP/7.1:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program
Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files
(x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program
Files/Intel/Intel(R) Management Engine
Components/DAL:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program
Files/PowerShell/6/:/mnt/c/Users/jonathan.lafleur/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/jonathan.lafleur/AppData/Roaming/npm:/mnt/c/MinGW/msys/1.0/bin:/mnt/c/MinGW/bin:/mnt/c/Program
Files (x86)/FontForgeBuilds
Any idea how to fix that ?
windows-subsystem-for-linux aws
windows-subsystem-for-linux aws
asked Jul 29 at 19:13
Jonathan LafleurJonathan Lafleur
1011 bronze badge
1011 bronze badge
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
The problem is Windows & Linux Interopability, you can disable it through flags or conf files, here is the solution: https://stackoverflow.com/a/51345880/435514
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
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/4.0/"u003ecc by-sa 4.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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1161976%2faws-on-ubuntu-wsl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The problem is Windows & Linux Interopability, you can disable it through flags or conf files, here is the solution: https://stackoverflow.com/a/51345880/435514
add a comment
|
The problem is Windows & Linux Interopability, you can disable it through flags or conf files, here is the solution: https://stackoverflow.com/a/51345880/435514
add a comment
|
The problem is Windows & Linux Interopability, you can disable it through flags or conf files, here is the solution: https://stackoverflow.com/a/51345880/435514
The problem is Windows & Linux Interopability, you can disable it through flags or conf files, here is the solution: https://stackoverflow.com/a/51345880/435514
answered Jul 30 at 14:18
Jonathan LafleurJonathan Lafleur
1011 bronze badge
1011 bronze badge
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- 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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1161976%2faws-on-ubuntu-wsl%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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