Learning Sky
  • Home
  • Review
  • Travel
  • AIoT
  • Blockchain
  • Cloud Platform
  • Front-End & Back-End
  • Programming language
  • DevOps
  • Tools & Solution

Tools

A collection of 39 posts

Tools

【 Tools 】macOS 安装 sshpass

內容 學習目標 前言 前置準備作業 安裝 sshpass 前言 sshpass 是 ansible 輸入密碼的必要套件 前置準備作業 準備一台可上網的 macOS 安裝 sshpass Step 1. 下載 sshpass 檔案 請在終端機中輸入下方指令wget https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

Archer Archer
Python

【 Tools 】Ubuntu 安裝 Pygame

內容 學習目標 前置準備作業 安裝 Pygame 學習目標 在 Ubuntu 安裝 Pygame 前置準備作業 已安裝 Python 3 Ubuntu 安裝教學 https://learningsky.io/python-development-on-ubuntu-with-pyenv-virtualenv/ 安裝 Pygame Step 1. 更新軟體的最新資訊及列表 請在終端機中輸入下方指令sudo apt-get update Step 2. 安裝相依套件 請在終端機中輸入下方指令 sudo

Archer Archer
Tools

【 Tools 】NVIDIA® Jetson AGX Xavier 安裝 EDIMAX EW-7811Un V2 無線網卡

內容 學習目標 前置準備作業 安裝 EDIMAX EW-7811Un V2 無線網卡 Driver 學習目標 在 NVIDIA® Jetson AGX Xavier 安裝 EDIMAX EW-7811Un V2 無線網卡 前置準備作業 準備 NVIDIA® Jetson AGX Xavier 準備 EDIMAX EW-7811Un V2 無線網卡 安裝 EDIMAX

Archer Archer
Ubuntu

【 Solutions 】解決 Python3: ModuleNotFoundError: No module named '_ctypes'

問題 Python3 安裝套件出現下方訊息 from _ctypes import Union, Structure, Array ModuleNotFoundError: No module named '_ctypes' make: *** [Makefile:1132: install] Error 1 解決方案 Ubuntu 環境 請在終端機輸入下方指令sudo apt-get install libffi-dev GitHub ArcherHuang @ GitHub List of

Archer Archer
Tools

【 VM 】如何在 Oracle VirtualBox 中安裝 Ubuntu

內容 學習目標 前置準備作業 安裝 Oracle VirtualBox 學習目標 在 Oracle VirtualBox 中安裝 Ubuntu 前置準備作業 已下載 Ubuntu 安裝檔 本範例使用 Ubuntu 18.04 64-bit PC (AMD64) desktop image 安裝 Oracle VirtualBox Step 1. 下載並安裝 請透過瀏覽器開啟下方網址https://www.

Archer Archer
Tools

【 Tools 】如何在 Ubuntu 環境中移除 Java

內容 學習目標 前置準備作業 移除 Java 學習目標 如何在 Ubuntu 環境中移除 Java 前置準備作業 Ubuntu 中已安裝 Java 移除 Java Step 1. 移除 Java 相關套件 請在終端機中輸入下方指令 dpkg-query -W -f='${binary:Package}\n' | grep -E -e '^

Archer Archer
Tools

【 Tools 】Ubuntu 安裝 Visual Studio Code

內容 學習目標 前置準備作業 安裝 VS Code 學習目標 如何在 Ubuntu 環境中安裝 Visual Studio Code ( 簡稱 VS Code ) 前置準備作業 已安裝 Ubuntu Ubuntu 已能正常上網 安裝 VS Code Step 1. 下載 Ubuntu 版本的 VS Code 請透過瀏覽器連到下方網址 https:

Archer Archer
Tools

【 Tools 】Ubuntu 18.04 安裝 JDK 8

內容 學習目標 前置準備作業 安裝 JDK 8 學習目標 於 Ubuntu 18.04 安裝 JDK 8 前置準備作業 已安裝 Ubuntu 本範例使用的 Ubuntu 版本為 Ubuntu 18.04.5 LTS 版本確認 請在終端機中輸入下方指令 lsb_release -a 安裝 JDK 8

Archer Archer
Tools

【 Tools 】調整 Parallels Desktop 中 Ubuntu 的螢幕解析度

內容 學習目標 前置準備作業 預設解析度 解析度調整 學習目標 調整 Parallels Desktop 中 Ubuntu 預設的螢幕解析度 前置準備作業 已在 Parallels Desktop 中安裝 Ubuntu 本範例使用的 Ubuntu 版本為 Ubuntu 18.04.5 LTS 預設解析度 開啟解析度畫面 點選右上角的 ▼ 中左下角的 板手 符號 點選左角下的

Archer Archer
Tools

【 Tools 】使用 Microsoft Network Monitor 出現 None of the network adapters are bound to the netmon driver

內容 學習目標 前置準備作業 問題描述 解決方案 前置準備作業 已安裝 Microsoft Network Monitor 3.4 下載網址 https://www.microsoft.com/en-us/download/4865 問題 執行 Microsoft Network Monitor 軟體時出現以下問題 解決方案 Step 1. 開啟 電腦管理 在搜尋框輸入 電腦管理

Archer Archer
Tools

【 Tools 】於 VS Code 中設定 JSX Emmet

內容 學習目標 前置準備作業 設定 Emmet 學習目標 於 JSX 中啟用 Emmet 功能 前置準備作業 Visual Studio Code 下載網址 https://code.visualstudio.com/ 設定 Emmet Step 1. 開啟 VS Code Step 2. 開啟 settings.json Windows

Archer Archer
Tools

【 Tools 】於 VS Code 中顯示 ASCII Art

內容 學習目標 前置準備作業 安裝套件 使用套件 學習目標 將一般文字轉換為 ASCII Art 前置準備作業 Visual Studio Code 下載網址 https://code.visualstudio.com/ 安裝套件 Step 1. 開啟 VS Code 並點選左邊的 Extensions Step 2. 搜尋 MDTools 左上方搜尋框輸入 MDTools 並點選

Archer Archer
Python

【 Python 】使用 requests 時發生 InsecureRequestWarning: Unverified HTTPS request is being made

問題 透過 Python 呼叫帶有 https 的 API 時發生以下錯誤 : InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) 解決方案

Archer Archer
Tools

【 Tools 】VS Code 中直接複檔案名稱

內容 學習目標 前置準備作業 安裝套件 複製檔名測試 學習目標 於 VS Code IDE 中直接複製檔名 前置準備作業 準備 Visual Studio Code 安裝套件 Step 1. 開啟 VS Code Step 2. 安裝 copy filename 套件 點選左邊的四方格 在搜尋框輸入 copy filename 點選

Archer Archer
Tools

【 Tools 】取得本機對外 IP

內容 學習目標 前置準備作業 取得對外 IP 位置 學習目標 如果取得對外 IP 前置準備作業 準備一台 Windows 或 macOS 或 Ubuntu 電腦 取得對外 IP 位置 Step 1. 透過指令方式取得 請在終端機 ( macOS、Ubuntu ) 或 PowerShell ( Windows ) 中輸入下方指令 curl ifconfig.me

Archer Archer
Tools

【 Solutions 】解決安裝 Adobe Air 發生 Adobe AIR.framework is damaged and can't be opened ( 已損壞無法開啟 )

問題 於 macOS Catalina 10.15 安裝 Adobe Air 發生 Adobe AIR.framework is damaged and can't be opened ( 已損壞無法開啟 ) 解決方案 Step 1. 移除與允許 Adobe AIR 執行 請在終端機輸入下方指令sudo xattr -r -d com.apple.

Archer Archer
Cloud Platform

【 Cloud 】透過 PowerShell 登入到 Azure VM

內容 學習目標 前置準備作業 透過 Windows PowerShell 登入到 Azure VM 學習目標 如何透過 Windows PowerShell 登入到 Azure VM 前置準備作業 已建立 Azure Ubuntu VM 透過 Windows PowerShell 登入到 Azure VM Step 1. 開啟 PowerShell 點選左下角的 Windows

Archer Archer
Tools

【 Solutions 】解決 gpgkeys: protocol `https' not supported

問題 在 Ubuntu 中安裝 CUDA Driver 發生下方錯誤訊息 gpgkeys: protocol `https' not supported gpg: no handler for keyserver scheme `https' gpg: WARNING: unable to fetch URI https://developer.download.nvidia.com/compute/cuda/repos/

Archer Archer
Tools

【 Solutions 】解決 AttributeError: module 'sipbuild.api' has no attribute 'prepare_metadata_for_build_wheel'

問題 在 Ubuntu 中安裝 PyQt5 發生下方錯誤訊息 解決方案 請在終端機輸入下方指令sudo apt install python3-pyqt5 GitHub ArcherHuang @ GitHub List of blogs https://oranwind.org/author/archer/ https://learningsky.io/author/archer/

Archer Archer
Tools

【 Solutions 】解決更新套件或安裝套件遇到 - 無法將 /var/lib/dpkg/lock 鎖定

問題 在 Ubuntu 中更新套件或安裝套件發生下方錯誤訊息 解決方案 找出目前使用 /var/lib/dpkg/lock 的程序 請在終端機輸入下方指令 sudo lsof /var/lib/dpkg/lock 刪除此程序 由上步驟得知 unattende 程式正在使用,其 PID 為 3968 請在終端機輸入下方指令 sudo kill -9 PID 刪除成功後即可正常安裝或更新套件 GitHub

Archer Archer
Python

【 Solutions 】解決 _tkinter.TclError: no display name and no $DISPLAY environment variable

問題 因在終端下無 GUI 所造成的問題 解決方案 將 matplotlib 設置為不使用 Xwindowsecho "backend : Agg" > ~/.config/matplotlib/matplotlibrc GitHub ArcherHuang @ GitHub List of blogs https://oranwind.org/author/archer/ https://learningsky.io/author/archer/

Archer Archer
Python

【 Solutions 】解決 ImportError cv2.cpython-37m-arm-linux-gnueabihf.so

問題 在 Raspberry Pi 4 中 import cv2 發生下方錯誤訊息 解決方案 因新版的 openCV 不支援 Raspberry Pi,故請在終端機輸入下方指令pip3 install opencv-python==3.4.6.27 GitHub ArcherHuang @ GitHub List of blogs https://oranwind.org/author/archer/

Archer Archer
Tools

【 Tools 】在目錄視窗中開啟 PowerShell 或終端機

內容 學習目標 前置準備作業 Windows 中在目前路徑中開起 PowerShell macOS 中在目前目錄中開啟終端機 學習目標 在 Windows 或 macOS 中快速將 PowerShell (Windows) 或終端機 (macOS) 開啟在指定路徑 前置準備作業 Windows 或 macOS 作業系統的電腦 Windows 中在目前路徑中開起 PowerShell Step 1. 透過檔案總管到指定資料夾 Step 2. 開啟功能選單

Archer Archer
Tools

【 Tools 】設定 Visual Studio Code 為 UTF-8 編碼

內容 學習目標 前置準備作業 開啟工具列 開啟活動列 設定 UTF-8 編碼 學習目標 設定 Visual Studio Code 編碼 顯示工具列 ( Tool Bar ) 與活動列 ( Activity Bar ) 前置準備作業 已安裝 Visual Studio Code 開啟工具列 Step 1. 啟動 Visual Studio Code Step

Archer Archer
Tools

【 Tools 】切換成繁體中文版 Visual Studio Code

內容 學習目標 前置準備作業 切換 VS Code 成繁體中文版 學習目標 將 Visual Studio Code 切換成繁體中文介面 前置準備作業 已安裝 Visual Studio Code 切換 VS Code 成繁體中文版 Step 1. 開啟 VS Code Step 2. 安裝繁體中文套件 點選左側 Extensions 游標移至

Archer Archer
Learning Sky © 2021
Latest Posts Ghost