일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- Unity
- port
- flutter
- 라즈베리파이
- PyQt
- 리눅스
- IOS
- Linux
- urllib
- 날짜
- GIT
- 다이어트
- ubuntu
- PER
- javascript
- tensorflow
- 유니티
- node.js
- sqlite
- PyQt5
- Excel
- MS-SQL
- 맛집
- swift
- pandas
- mssql
- ASP
- 함수
- MySQL
- python
목록랭귀지/python (239)
아미(아름다운미소)
pip uninstall -y numpy pip uninstall -y setuptools pip install setuptools pip install numpy
pip이란 python으로 작성된 패키지의 설치 및 관리를 해주는 프로그램입니다. pip은 Python 2.x용, pip3는 Python 3.x용 프로그램입니다. apt-get install python-pip apt-get install python3-pip 예제) pip bs4 pandas lxml pip3 bs4pandas lxml
Linux에서 설치 python 2.X sudo apt-get install python-pip python 3.X sudo apt-get install python3-pip MAC에서 설치 sudo easy_install pip

soup = BeautifulSoup(html, "html.parser") soup = BeautifulSoup(html, 'html.parser', from_encoding='euc-kr')

pip install beautifulsoup You're trying to run a very old release of Beautiful Soup under Python 3 "You're trying to run a very old release of Beautiful Soup under Python 3. This will not work.""Please use Beautiful Soup 4, available through the pip package 'beautifulsoup4'." pip install beautifulsoup4

1. 기본 python 버전을 확인합니다. $python --version 2. 기본 Python의 위치(PATH)를 확인합니다. $which python 3. 변경할 새로운 Python 3.X 의 위치(PATH)를 확인합니다. $which python3 4. 아래 명령어를 사용하여 디폴트 파이썬을 바꿔줍니다. $sudo ln -sf [new_python_path] [privious_python_path]
pyqt5 레이블 배경색 self.label = QtWidgets.QLabel(self) self.label.setGeometry(QtCore.QRect(10, 350, 280, 30)) self.label.setObjectName("conditionListlabel1") self.label.setStyleSheet('color:navy;background:#ffff99;') self.label.setText(" 글씨색 navy 배경색 #ffff99 적용 ")

pyinstaller No module named pkg_resources.py2_warn 환경(윈도우7, 아나콘다3 : 파이썬3.7 가상환경) 에러메세지(Pyinstaller 에러 시(Version 3.7)) Pyinstaller 에러 시(Version 3.7) 삭제 후 재설치 pip uninstall pyinstaller pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
requires.txt에 패키지 목록이 있으면 -r 옵션을 통해 손쉽게 설치할 수도 있습니다. pip install -r 파일명 == 버전으로 특정 버전을 설치할 수 있습니다. pip install module==1.10 예)pip install pyinstaller==3.5