반응형
macOS에서 파이썬 3.9를 사용하여 stormssh를 설치하는 방법
stormssh는 최신 Python 환경보다 Python 3.9에서 더 안정적으로 동작하는 경우가 많습니다.
이미 pyenv가 설치되어 있다면 이를 활용해 독립된 실행 환경을 구성하는 것이 가장 안전합니다.
1. pyenv 환경 초기화
쉘 환경에 pyenv를 등록합니다.
vim ~/.zshrc
내용 추가
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
적용
source ~/.zshrc
2. Python 3.9 설치
pyenv install 3.9.19
python-build: use openssl@3 from homebrew
python-build: use readline from homebrew
Downloading Python-3.9.19.tar.xz...
-> https://www.python.org/ftp/python/3.9.19/Python-3.9.19.tar.xz
Installing Python-3.9.19...
python-build: use tcl-tk from homebrew
python-build: use readline from homebrew
python-build: use ncurses from homebrew
python-build: use zlib from xcode sdk
Installed Python-3.9.19 to /Users/mac_user/.pyenv/versions/3.9.19
설치 시 Homebrew 라이브러리를 자동으로 사용합니다.
- openssl
- readline
- ncurses
- tcl-tk
설치 완료 후
pyenv local 3.9.19
버전 확인
python --version
Python 3.9.19
3. StormSSH 설치
pip install stormssh
Collecting stormssh
Using cached stormssh-0.7.0-py3-none-any.whl
Requirement already satisfied: paramiko in /opt/homebrew/lib/python3.14/site-packages (from stormssh) (4.0.0)
Requirement already satisfied: termcolor in /opt/homebrew/lib/python3.14/site-packages (from stormssh) (3.3.0)
Requirement already satisfied: flask in /opt/homebrew/lib/python3.14/site-packages (from stormssh) (3.1.3)
Requirement already satisfied: six in /opt/homebrew/lib/python3.14/site-packages (from stormssh) (1.17.0)
Requirement already satisfied: blinker>=1.9.0 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (1.9.0)
Requirement already satisfied: click>=8.1.3 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (8.3.1)
Requirement already satisfied: itsdangerous>=2.2.0 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (2.2.0)
Requirement already satisfied: jinja2>=3.1.2 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (3.1.6)
Requirement already satisfied: markupsafe>=2.1.1 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (3.0.3)
Requirement already satisfied: werkzeug>=3.1.0 in /opt/homebrew/lib/python3.14/site-packages (from flask->stormssh) (3.1.7)
Requirement already satisfied: bcrypt>=3.2 in /opt/homebrew/lib/python3.14/site-packages (from paramiko->stormssh) (5.0.0)
Requirement already satisfied: cryptography>=3.3 in /opt/homebrew/lib/python3.14/site-packages (from paramiko->stormssh) (46.0.6)
Requirement already satisfied: invoke>=2.0 in /opt/homebrew/lib/python3.14/site-packages (from paramiko->stormssh) (2.2.1)
Requirement already satisfied: pynacl>=1.5 in /opt/homebrew/lib/python3.14/site-packages (from paramiko->stormssh) (1.6.2)
Requirement already satisfied: cffi>=2.0.0 in /opt/homebrew/lib/python3.14/site-packages (from cryptography>=3.3->paramiko->stormssh) (2.0.0)
Requirement already satisfied: pycparser in /opt/homebrew/lib/python3.14/site-packages (from cffi>=2.0.0->cryptography>=3.3->paramiko->stormssh) (3.0)
Installing collected packages: stormssh
Successfully installed stormssh-0.7.0
4. pip 최신화
pip install --upgrade pip
Requirement already satisfied: pip in ./.pyenv/versions/3.9.19/lib/python3.9/site-packages (23.0.1)
Collecting pip
Downloading pip-26.0.1-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 19.9 MB/s eta 0:00:00
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 23.0.1
Uninstalling pip-23.0.1:
Successfully uninstalled pip-23.0.1
Successfully installed pip-26.0.1
5. StormSSH 버전 확인
storm --version
0.7.0
728x90
반응형
'리눅스' 카테고리의 다른 글
| 웹 서버의 최대 동시 접속자 수 및 TPS(Transactions Per Second) 측정하는 방법 (0) | 2026.03.25 |
|---|---|
| 우분투에서 Squid 기반으로 WPAD(Web Proxy Auto-Discovery)를 구성하는 방법 (0) | 2026.03.24 |
| 파이썬 람다 함수란 (0) | 2026.03.19 |
| 우분투 24.04에서 Redis Cluster를 구성하는 방법 (0) | 2026.03.17 |
| VMware ESXi 8.0에서 관리자 계정 생성 및 Administrator 권한 부여 방법 (1) | 2026.03.12 |