Google Colaboratoryと大体同じパッケージをWindowsのPython環境にインストール

Pythonはpyenvで管理

用いるPythonのバージョンは3.7.9

 

CMake、VisualStudio 2019をインストールしておく

Graphvizもインストールする。インストール時にパスを通す設定をしておく。

下記は、Colaboratory上で

!pip3 list

で出てきたものの中からWindows上にインストールできたもの

 

 

pip3 install wheel

 

pip3 install absl-py alabaster albumentations altair appdirs argcomplete argon2-cffi argon2-cffi-bindings arviz astor astropy astunparse atari-py atomicwrites attrs audioread autograd Babel backcall beautifulsoup4 bleach blis bokeh Bottleneck branca bs4 CacheControl cached-property cachetools catalogue certifi cffi cftime chardet charset-normalizer click cloudpickle cmake cmdstanpy colorcet colorlover community contextlib2 convertdate coverage coveralls crcmod cufflinks cupy-cuda111 cvxopt cvxpy cycler cymem Cython daft dask datascience debugpy decorator defusedxml descartes dill distributed dlib dm-tree docopt docutils dopamine-rl earthengine-api easydict ecos editdistance entrypoints ephem et-xmlfile fa2 fastai fastdtw fastprogress fastrlock feather-format filelock firebase-admin Flask flatbuffers folium future gast gdown gensim geographiclib geopy gin-config glob2 google google-api-core google-api-python-client google-auth google-auth-httplib2 google-auth-oauthlib google-resumable-media googleapis-common-protos googledrivedownloader graphviz greenlet grpcio gspread gspread-dataframe gym h5py HeapDict hijri-converter holidays holoviews html5lib httpimport httplib2 httplib2shim humanize hyperopt idna imageio imagesize imbalanced-learn imblearn imgaug importlib-metadata importlib-resources imutils inflect iniconfig intel-openmp intervaltree ipykernel ipython ipython-genutils ipython-sql ipywidgets itsdangerous jax jdcal jedi jieba Jinja2 joblib jpeg4py jsonschema jupyter jupyter-client jupyter-console jupyter-core jupyterlab-pygments jupyterlab-widgets kaggle kapre keras Keras-Preprocessing keras-vis kiwisolver korean-lunar-calendar libclang librosa lightgbm llvmlite lmdb LunarCalendar lxml Markdown MarkupSafe matplotlib matplotlib-inline matplotlib-venn missingno mistune mizani mkl mlxtend more-itertools moviepy mpmath msgpack multiprocess multitasking murmurhash music21 natsort nbclient nbconvert nbformat nest-asyncio netCDF4 networkx nibabel nltk notebook numba numexpr numpy nvidia-ml-py3 oauth2client oauthlib okgrade opencv-contrib-python opencv-python openpyxl opt-einsum osqp packaging palettable pandas pandas-datareader pandas-gbq pandas-profiling pandocfilters panel param parso pathlib patsy pep517 pexpect pickleshare Pillow pip pip-tools plac plotly plotnine pluggy pooch portpicker prefetch-generator preshed prettytable progressbar2 prometheus-client promise prompt-toolkit protobuf psutil psycopg2 ptyprocess py pyarrow pyasn1 pyasn1-modules pycocotools pycparser pyct pydata-google-auth pydot pydot-ng pydotplus PyDrive pyemd pyerfa pyglet Pygments pymc3 PyMeeus pymongo pymystem3 PyOpenGL pyparsing pyrsistent PySocks pystan pytest python-chess python-dateutil python-louvain python-slugify python-utils pytz pyviz-comms PyWavelets PyYAML pyzmq qdldl qtconsole QtPy regex requests requests-oauthlib resampy retrying rsa scikit-image scikit-learn scipy scs seaborn semver Send2Trash setuptools setuptools-git Shapely simplegeneric six sklearn sklearn-pandas smart-open snowballstemmer sortedcontainers SoundFile spacy Sphinx sphinxcontrib-serializinghtml sphinxcontrib-websupport SQLAlchemy sqlparse srsly statsmodels sympy tables tabulate tblib tensorboard tensorboard-data-server tensorboard-plugin-wit tensorflow tensorflow-datasets tensorflow-estimator tensorflow-gcs-config tensorflow-hub tensorflow-io-gcs-filesystem tensorflow-metadata tensorflow-probability termcolor terminado testpath text-unidecode textblob Theano-PyMC thinc threadpoolctl tifffile toml tomli toolz torch torchaudio torchsummary torchtext torchvision tornado tqdm traitlets tweepy typeguard typing-extensions tzlocal uritemplate urllib3 vega-datasets wasabi wcwidth webencodings Werkzeug wheel widgetsnbextension wordcloud wrapt xarray xgboost xlrd xlwt yellowbrick zict zipp