티스토리 뷰
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 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Spring Boot
- AWS
- zsh
- GCP
- MongoDB
- Elasticsearch
- kubernetes
- pycharm
- MacOS
- Paw
- X-Pack
- docker
- xpath
- boot2docker
- scrapy
- Redis
- pymongo
- TDD
- docker-machine
- 은전한닢
- git
- mecab
- Netty
- IntelliJ
- spring #lombok
- Ansible
- Python
- PubSub
- ansible-container
- PIP
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함