- Error
Server refused our key
๐ Always recheck the instance user_name (from here, e.g. ec2-user, ubuntu,...etc) and your Public IPv4 DNS in the Instance details.
Format: instance_user_name@Public_IPv4_DNS
- Error: after it connected once, I tried to connect again but this error
Network Error: Connection timed out
appeared
๐ At each time you stop/start the instance the public DNS changes so you have to update it each time on the Host box in puTTy.
Followed this video untill the minute (1:30) then ran into an error
- Error:
process tried to write to a nonexistent pipe
preceded byGarabage at the end of line..
๐ I had spaces in the path of the.pem
key, so I needed to copy it to another path without spaces and it worked :+1: If you've the .pem in D_drive, change to C_drive :+1: Always check the configuration file is correctly written
Followed this link with all configurations\
- Error:
try to reach unreachable code while setting environment
๐ Check intallation of WSL before linux distros and enable virtualization on your PC through BIOS.
๐ instead of arguments placeholder '$0, $1, $2' write their equivalent strings; ".."
๐ Follow this answer where the steps are:
ctrl + shift + p
on vscode, search for select interpreter- Select the Anaconda environment (probably 1st env)
๐ Re-check that you're selecting the python interpreter that you're installing at, and that you're standing at
- Press
ctrl + R
- Followed the steps here
sudo apt-get install software-properties-common
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install python-pip
sudo apt-get install python2-pip
or3
instead of2
- Need to install the latest version of vscode and have the same python interpreter version locally and remotely on vscode
- error:
command 'python.setInterpreter' not found
- ๐ there are some solutions as this. However, it didn't work for me. What worked for me was to add a default path for the python interpreter in
settings.json
- settings.json path:
C:\Users\%%your_user%%\.vscode\extensions\ms-python.python-2022.4.1\pythonFiles\.vscode\settings.json
- default path of python interpreter can be that of python which can be checked from debugging in vscode, it'll be the first path: e.g.
C:/Users/%%your_user%%/AppData/Local/Programs/Python/Python39/python.exe
- Modify the settings.json to add:
"python.defaultInterpreterPath": %%your_default_path%%