LoginSignup
1
2

More than 5 years have passed since last update.

CythonをWindows10で使う準備

Last updated at Posted at 2018-02-22

概要

Windows10でCythonを使うための準備を紹介する.
下記のURLを参考にした.

環境

Windows10 x64
Python 3.6.4 64bit Anaconda
Jupyter notebook
Visual Studio なし

方法

Visual Studio Community 2015でVisual C++ 2015用の共通ツールをインストール.
このときオプションで,Windows SDK 10のみ追加する.

メモ帳で以下のcfgファイルを作りdistutils.cfgという名前で保存する.

[build]
compiler = msvc

これを(anacondaのインストールフォルダ)/Lib/distutils/に置き,Pathを通す.

参照したURL

[1] http://thinkami.hatenablog.com/entry/2016/06/06/225903 

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2