Giter Club home page Giter Club logo

aws_errors's Introduction

AWS and VSCode errors

Connect with PuTTy:

  • 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

Reconnect with puTTy

  • 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.

Connecting AWS with VSCode

Followed this video untill the minute (1:30) then ran into an error

  • Error: process tried to write to a nonexistent pipe preceded by Garabage 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

Enabling bash debugger on vscode and aws machine

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.

Debug bash file that needs arguments/operands

๐Ÿ‘ instead of arguments placeholder '$0, $1, $2' write their equivalent strings; ".."

Reactivate Conda environment in VSCode

๐Ÿ‘ Follow this answer where the steps are:

  1. ctrl + shift + p on vscode, search for select interpreter
  2. Select the Anaconda environment (probably 1st env)

Can't see a module that's definitely downloaded by (pip) and (sudo pip)

๐Ÿ‘ Re-check that you're selecting the python interpreter that you're installing at, and that you're standing at

To get previous commands used in your linux (Reverse history)

  • Press ctrl + R

Unable to install pip while trying to make sudo apt-get python-pip

  • 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 or 3 instead of 2

VSCode error while Installing libraries "Reload Required" even after reloading

  • Need to install the latest version of vscode and have the same python interpreter version locally and remotely on vscode

VSCode: error while trying to select interpreter

  • 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%%

aws_errors's People

Contributors

hosnaa avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.