http://noplanlife.com/?p=949
'Programming > Python' 카테고리의 다른 글
scrapy 설치는 성공했으나 command가 실행되지 않을때 (0) | 2018.01.08 |
---|---|
sudo pip install something[any] 명령이 no matches found를 발생시킬때 (728) | 2017.11.21 |
Python for loop시 두개이상의 배열을 한묶음으로 처리하기 (0) | 2017.10.23 |
MacBookPro:~|⇒ scrapy Traceback (most recent call last): File "/usr/local/bin/scrapy", line 7, in from scrapy.cmdline import execute File "/Library/Python/2.7/site-packages/scrapy/cmdline.py", line 9, in from scrapy.crawler import CrawlerProcess File "/Library/Python/2.7/site-packages/scrapy/crawler.py", line 7, in from twisted.internet import reactor, defer File "/Library/Python/2.7/site-packag..
MacBookPro:~|⇒ scrapy
Traceback (most recent call last):
File "/usr/local/bin/scrapy", line 7, in <module>
from scrapy.cmdline import execute
File "/Library/Python/2.7/site-packages/scrapy/cmdline.py", line 9, in <module>
from scrapy.crawler import CrawlerProcess
File "/Library/Python/2.7/site-packages/scrapy/crawler.py", line 7, in <module>
from twisted.internet import reactor, defer
File "/Library/Python/2.7/site-packages/twisted/internet/reactor.py", line 38, in <module>
from twisted.internet import default
File "/Library/Python/2.7/site-packages/twisted/internet/default.py", line 56, in <module>
install = _getInstallFunction(platform)
File "/Library/Python/2.7/site-packages/twisted/internet/default.py", line 50, in _getInstallFunction
from twisted.internet.selectreactor import install
File "/Library/Python/2.7/site-packages/twisted/internet/selectreactor.py", line 18, in <module>
from twisted.internet import posixbase
File "/Library/Python/2.7/site-packages/twisted/internet/posixbase.py", line 18, in <module>
from twisted.internet import error, udp, tcp
File "/Library/Python/2.7/site-packages/twisted/internet/tcp.py", line 28, in <module>
from twisted.internet._newtls import (
File "/Library/Python/2.7/site-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/Library/Python/2.7/site-packages/twisted/protocols/tls.py", line 63, in <module>
from twisted.internet._sslverify import _setAcceptableProtocols
File "/Library/Python/2.7/site-packages/twisted/internet/_sslverify.py", line 38, in <module>
TLSVersion.TLSv1_1: SSL.OP_NO_TLSv1_1,
AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1'
아래 명령을 수행하면 해결된다.
MacBookPro:~|⇒ sudo pip install Twisted==16.4.1
reference
https://stackoverflow.com/questions/42225773/install-scrapy-on-mac-successful-but-run-error
'Programming > Python' 카테고리의 다른 글
파이썬을 이용해 bash 명령 실행하기 (653) | 2018.04.16 |
---|---|
sudo pip install something[any] 명령이 no matches found를 발생시킬때 (728) | 2017.11.21 |
Python for loop시 두개이상의 배열을 한묶음으로 처리하기 (0) | 2017.10.23 |
zsh에서 sudo를 이용한 command가 아래와 같이 오류를 발생시킨다. zsh이 square bracket을 globbing, pattern matching용으로 사용하기 때문이다. (http://square brackets for globbing / pattern matching)sudo pip install 'ansible-container[docker,k8s]' zsh: no matches found: ansible-container[docker,k8s] 이를 피하기 위해 홑따옴표로 설치할 패키지를 감싸주고 실행시키자. sudo pip install 'ansible-container[docker,k8s]' https://stackoverflow.com/questions/30539798/zsh-..
zsh에서 sudo를 이용한 command가 아래와 같이 오류를 발생시킨다.
zsh이 square bracket을 globbing, pattern matching용으로 사용하기 때문이다. (http://square brackets for globbing / pattern matching)
sudo pip install 'ansible-container[docker,k8s]'
zsh: no matches found: ansible-container[docker,k8s]
이를 피하기 위해 홑따옴표로 설치할 패키지를 감싸주고 실행시키자.
sudo pip install 'ansible-container[docker,k8s]'
https://stackoverflow.com/questions/30539798/zsh-no-matches-found-requestssecurity
'Programming > Python' 카테고리의 다른 글
파이썬을 이용해 bash 명령 실행하기 (653) | 2018.04.16 |
---|---|
scrapy 설치는 성공했으나 command가 실행되지 않을때 (0) | 2018.01.08 |
Python for loop시 두개이상의 배열을 한묶음으로 처리하기 (0) | 2017.10.23 |
for x, y in zip(a, b): # x is from a, y is from b https://stackoverflow.com/questions/10080379/better-way-to-iterate-over-two-or-multiple-lists-at-once
for x, y in zip(a, b):
# x is from a, y is from b
'Programming > Python' 카테고리의 다른 글
파이썬을 이용해 bash 명령 실행하기 (653) | 2018.04.16 |
---|---|
scrapy 설치는 성공했으나 command가 실행되지 않을때 (0) | 2018.01.08 |
sudo pip install something[any] 명령이 no matches found를 발생시킬때 (728) | 2017.11.21 |
- Total
- Today
- Yesterday
- 은전한닢
- PIP
- docker-machine
- PubSub
- boot2docker
- GCP
- AWS
- MacOS
- ansible-container
- MongoDB
- zsh
- Paw
- mecab
- Spring Boot
- Elasticsearch
- scrapy
- TDD
- Python
- IntelliJ
- kubernetes
- xpath
- pymongo
- git
- Ansible
- X-Pack
- Netty
- pycharm
- docker
- Redis
- spring #lombok
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |