Run Qiita API v2 Python wrapper in Python3 environment (Mac OS X 10.11 (El Capitan))

In the OS X 10.11 neighborhood [Homebrew with disturbing rumors](http://qiita.com/riocampos/items/525ec4b35744ad586c5a?utm_source=Qiita%E3%83%8B%E3%83%A5%E3%83%BC% E3% 82% B9 & utm_campaign = 95dd39bd56-Qiita_newsletter_177_10_14_2015 & utm_medium = email & utm_term = 0_e44feaa081-95dd39bd56-32764925), but it gets stuck. While being swayed by the error message

 sudo chown -R $(whoami):admin /usr/local

Later, `brew update```, `brew upgrade``` to return safely, now, install Python 3.x.

genki@iwaboos-MBA:~$ brew install python3
==> Installing dependencies for python3: pkg-config, sqlite, gdbm
==> Installing python3 dependency: pkg-config
:
:
genki@iwaboos-MBA:~$ python3  --version
Python 3.5.0

Apparently, I was able to install it. By the way, install the wrapper with the pip command Official page says `` `pip install qiita_v2, but since it is used in Python 3.x, Install with pip3 install qiita_v2```.

genki@iwaboos-MBA:~$ pip3 install qiita_v2
Collecting qiita-v2
  Downloading qiita_v2-0.1.0.tar.gz
Collecting pyyaml (from qiita-v2)
  Downloading PyYAML-3.11.tar.gz (248kB)
    100% |████████████████████████████████| 249kB 1.1MB/s
Collecting requests (from qiita-v2)
  Downloading requests-2.8.1-py2.py3-none-any.whl (497kB)
    100% |████████████████████████████████| 499kB 1.0MB/s
Building wheels for collected packages: qiita-v2, pyyaml
  Running setup.py bdist_wheel for qiita-v2
  Stored in directory: /Users/genki/Library/Caches/pip/wheels/3c/86/92/b7f144db7d5fa54acff97a656bcedaa61cba5ad69b8f809df1
  Running setup.py bdist_wheel for pyyaml
  Stored in directory: /Users/genki/Library/Caches/pip/wheels/fa/db/f6/dee55793d344f1706dc4a5a693298f0115241d1085cc212364
Successfully built qiita-v2 pyyaml
Installing collected packages: pyyaml, requests, qiita-v2
Successfully installed pyyaml-3.11 qiita-v2-0.1.0 requests-2.8.1

This completes the environment construction. It is OK if you can check the operation with the sample code etc.

Recommended Posts

Run Qiita API v2 Python wrapper in Python3 environment (Mac OS X 10.11 (El Capitan))
Using NAOqi 2.4.2 Python SDK on Mac OS X El Capitan
Build a python environment with pyenv (OS X El Capitan 10.11.3)
Implemented Python wrapper for Qiita API v2
Run Google Analytics API (core v3) in python
Run Zookeeper x python (kazoo) on Mac OS X
Create a Python development environment in 10 minutes (Mac OS X + Visual Studio Code)
Build a Python development environment on Mac OS X
Build a python data analysis environment on Mac (El Capitan)
[CLPEX memo] Run DO Python API in COS installed environment
Install python3 on Mac (El Capitan)
How to rebuild python environment from pyenv on Mac environment (El Capitan)
Continuation ・ Notes on preparing the Python development environment on Mac OS X
Mac OS X Mavericks 10.9.5 Development environment construction
Install matplotlib on OS X El Capitan
Build an environment with pyenv, pyenv-virtualenv, jupyter on OS X El Capitan
Mac OS X Yosemite 10.10 Development environment construction
Mac OS X development environment construction memo
Upgrading Python module in OSX El Capitan
Run NASA CEA on Mac OS X
Introduction to Graph Database Neo4j in Python for Beginners (for Mac OS X)
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
R environment construction with Jupyter (formerly IPython notebook) (on OS X El Capitan 10.11.3)
Created a Python wrapper for the Qiita API
[Mac] Run the RealSense D415 sample in Python
Think about building a Python 3 environment in a Mac environment
Mac OS X Mountain Lion 10.8.5 Development environment construction
Installing TensorFlow 0.11.0rc2 on OS X El Capitan (10.11.6)
Build a Python environment with OSX El capitan
[WP REST API v2] Upload images in Python
Shpinx (Python documentation builder) on Mac OS X
Try using ChatWork API and Qiita API in Python
Install LightGBM in an OS X virtualenv environment
I made a Python Qiita API wrapper "qiipy"
I tried to build an environment for machine learning with Python (Mac OS X)
Building an environment for "Tello_Video" on Mac OS X
Build a machine learning Python environment on Mac OS
OpenVINO using Inference Engine Python API in PC environment
mac OS X 10.15.x pyenv Python If you can't install
Building a Python environment for programming beginners (Mac OS)
Create a Python development environment on OS X Lion
pangolin x python x mac os build failed memorandum unsolved
I learned MNIST with Caffe and tried to draw it (MAC OS X El Capitan)
I installed Caffe so that I can do deep learning on MAC OS X El Capitan
Method_missing-like wrapper in Python
Evernote API in Python
virtual environment in python
C API in Python 3
Development environment in Python
Mac environment construction Python
Word Count with Apache Spark and python (Mac OS X)
Using multiple versions of Python on Mac OS X (2) Usage
Qiita API Python wrapper for batch processing to grab Qiita posts
[SAP CP] Web API created with python in CF environment
After enabling the python virtual environment in the batch file, run the python file
[LINE Messaging API] Issue channel access token v2.1 in Python
VScode environment construction (on Mac) & graph display in Python (@browser)
Environment construction procedure for the gym "Open AI Gym" that trains AI in games on Mac OS X