터미널 창을 연다.

아래의 명령어를 입력한다.

sudo killall -STOP -c usbd

다시 연결 시도하면 해결된다.

반응형
블로그 이미지

조이풀 라이프

Lift is short, enjoy the life

,

Python All Package Update

IT/Python 2020. 11. 29. 17:29

Python All Package Update

 

$ pip freeze > requirements.txt

 

open the text file, replace the == with >= , and execute

 

$ pip install -r requirements.txt --upgrade

 

If you have a problem with a certain package stalling the upgrade (numpy sometimes), just go to the directory ($), comment out the name (add a # before it) and run the upgrade again. You can later uncomment that section back. This is also great for copying python global environments.

 


Another way:

 

I also like the pip-review method:

 

py2

$ pip install pip-review

 

$ pip-review --local --interactive

 

py3

$ pip3 install pip-review

 

$ pip-review --local --interactive

반응형

'IT > Python' 카테고리의 다른 글

아나콘다 배포 패키지 설치 및 아나콘다 관리하기  (0) 2016.12.06
블로그 이미지

조이풀 라이프

Lift is short, enjoy the life

,

Elastic Search + Kibana  설치 및 구동

 

wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.7.1-amd64.deb

wget https://artifacts.elastic.co/downloads/kibana/kibana-7.7.1-amd64.deb

 

sudo dpkg -i elasticsearch-7.7.1-amd64.deb

sudo dpkg -i kibana-7.7.1-amd64.deb

 

 

sudo service elasticsearch start

 

sudo service kibana start

 

 

 

yfkwon@DESKTOP-A0P47SN$ sudo service kibana stop

kibana stopped.

yfkwon@DESKTOP-A0P47SN$ sudo service elasticsearch stop

* Stopping Elasticsearch Server

반응형
블로그 이미지

조이풀 라이프

Lift is short, enjoy the life

,