Problem with Installing Matminer

Hi,

I am trying to install Matminer into a virtualenv setup inside pycharm. The problem I ran into is that when it tries to install pymatgen, which is a dependency of matminer, it throws an error as follows:

error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools

Since it says that I should get the Microsoft Visual C++ build tools, the obvious thing to do would be to install it. However, since I am working on a public computer, I could not install any system softwares. Is there any prebuild binaries that I could use, or I should contact the adminstrator instead?

Following is the error log:

···

Collecting matminer

Using cached https://files.pythonhosted.org/packages/f7/48/61ebc63f60ce3bc8bd82f79863f987cf6098bdad20aebec78fc3a9f5bcc3/matminer-0.5.8.tar.gz
Requirement already satisfied: numpy>=1.16.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (1.16.4)
Requirement already satisfied: requests>=2.20.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (2.22.0)
Collecting pymatgen>=2019.3.27 (from matminer)
Using cached https://files.pythonhosted.org/packages/5a/4f/6728291127ca5fb30bb3f0f9757a163d8911952505f14f73878f68d78dca/pymatgen-2019.7.30.tar.gz
Collecting pandas>=0.23.4 (from matminer)
Using cached https://files.pythonhosted.org/packages/c1/cf/58ccaa38d5670dd4d2aee5df90aa03d670ede3947b7148e72391c80d4f91/pandas-0.25.0-cp37-cp37m-win_amd64.whl
Collecting tqdm>=4.23.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/9f/3d/7a6b68b631d2ab54975f3a4863f3c4e9b26445353264ef01f465dc9b0208/tqdm-4.32.2-py2.py3-none-any.whl
Collecting pymongo>=3.6.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/57/b0/acf286a558e19dc0992354181c8650dffc79fced47a4555e49ca70acf426/pymongo-3.8.0-cp37-cp37m-win_amd64.whl
Collecting pint>=0.8.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/15/9d/bf177ebbc57d25e9e296addc14a1303d1e34d7964af5df428a8332349c42/Pint-0.9-py2.py3-none-any.whl
Requirement already satisfied: six>=1.11.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (1.12.0)
Collecting mdf_forge>=0.6.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/61/97/6218609bea1e14494893d15a25db48be510889276bf497116c5b55576335/mdf_forge-0.7.3-py2.py3-none-any.whl
Collecting plotly>=3.2.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/58/f3/a49d3281cc7275164ecf89ad3497556b11d9661faa119becdf7f9d3b2125/plotly-4.0.0-py2.py3-none-any.whl
Collecting future>=0.16.0 (from matminer)
Using cached https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz
Collecting sympy>=1.1.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/21/21/f4105795ca7f35c541d82c5b06be684dd2f5cb4f508fb487cd7aea4de776/sympy-1.4-py2.py3-none-any.whl
Collecting scikit_learn>=0.20.0 (from matminer)
Using cached https://files.pythonhosted.org/packages/d6/9e/6a42486ffa64711fb868e5d4a9167153417e7414c3d8d3e0d627cf391e1e/scikit_learn-0.21.3-cp37-cp37m-win_amd64.whl
Requirement already satisfied: monty>=2.0.2 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (2019.6.16)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (1.25.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (2.8)
Requirement already satisfied: ruamel.yaml>=0.15.6 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (0.16.0)
Requirement already satisfied: scipy>=1.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (1.3.0)
Requirement already satisfied: pydispatcher>=2.0.5 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (2.0.5)
Requirement already satisfied: tabulate in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (0.8.3)
Collecting spglib>=1.9.9.44 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/8a/c3/b3d1ae9be4dc334513cc21026103bc0f791ee439d8396c154a5f5ccfc8e8/spglib-1.14.1.post0.tar.gz
Collecting networkx>=2.2 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip
Requirement already satisfied: matplotlib>=1.5 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (3.1.1)
Collecting palettable>=3.1.1 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/c1/bf/c96cfdd0c2ee8f003a16cfe571a70e1a848608f40c317824208a92e94846/palettable-3.2.0-py2.py3-none-any.whl
Collecting pytz>=2017.2 (from pandas>=0.23.4->matminer)
Using cached https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil>=2.6.1 in u:\personal\thermocalc test\venv\lib\site-packages (from pandas>=0.23.4->matminer) (2.8.0)
Collecting mdf-toolbox>=0.4.7 (from mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/1b/19/ca10e6e33579d2a4b9184f613cd016cc41c3e18a49dd7b3a06708e239071/mdf_toolbox-0.4.7-py2.py3-none-any.whl
Collecting globus-sdk>=1.7.0 (from mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/be/c1/ccf8e8ebeb229887e6355e87e9cc9f07e06b1661b3c6e50311566bae9f28/globus_sdk-1.8.0-py2.py3-none-any.whl
Collecting retrying>=1.3.3 (from plotly>=3.2.1->matminer)
Using cached https://files.pythonhosted.org/packages/44/ef/beae4b4ef80902f22e3af073397f079c96969c69b2c7d52a57ea9ae61c9d/retrying-1.3.3.tar.gz
Collecting mpmath>=0.19 (from sympy>=1.1.1->matminer)
Using cached https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz
Collecting joblib>=0.11 (from scikit_learn>=0.20.0->matminer)
Using cached https://files.pythonhosted.org/packages/cd/c1/50a758e8247561e58cb87305b1e90b171b8c767b15b12a1734001f41d356/joblib-0.13.2-py2.py3-none-any.whl
Requirement already satisfied: ruamel.yaml.clib; platform_python_implementation == “CPython” and python_version < “3.8” in u:\personal\thermocalc test\venv\lib\site-packages (from ruamel.yaml>=0.15.6->pymatgen>=2019.3.27->matminer) (0.1.0)
Collecting decorator>=4.3.0 (from networkx>=2.2->pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Requirement already satisfied: cycler>=0.10 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (2.4.0)
Requirement already satisfied: kiwisolver>=1.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (1.1.0)
Collecting globus-nexus-client>=0.2.8 (from mdf-toolbox>=0.4.7->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/d8/ea/cf065156bc5ffd2b57803ee414b4a720bac619e4ea49c6c9787dcff68ca9/globus-nexus-client-0.2.8.tar.gz
Collecting pyjwt[crypto]<2.0.0,>=1.5.3 (from globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools in u:\personal\thermocalc test\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg (from kiwisolver>=1.0.1->matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (39.1.0)
Collecting cryptography>=1.4; extra == “crypto” (from pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/33/73/fc8c85104bd316086a7717d4970aec5e05fafcd6b9bf7257fe3621b180a0/cryptography-2.7-cp37-cp37m-win_amd64.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/2f/ad/9722b7752fdd88c858be57b47f41d1049b5fb0ab79caf0ab11407945c1a7/cffi-1.12.3-cp37-cp37m-win_amd64.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Installing collected packages: spglib, decorator, networkx, palettable, mpmath, sympy, pytz, pandas, pymatgen, tqdm, pymongo, pint, pycparser, cffi, asn1crypto, cryptography, pyjwt, globus-sdk, globus-nexus-client, mdf-toolbox, mdf-forge, retrying, plotly, future, joblib, scikit-learn, matminer
Running setup.py install for spglib: started
Running setup.py install for spglib: finished with status ‘error’
Complete output from command “U:\Personal\Thermocalc Test\venv\Scripts\python.exe” -u -c “import setuptools, tokenize;file=‘C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\fan298\AppData\Local\Temp\pip-record-5g6ny026\install-record.txt --single-version-externally-managed --compile --install-headers “U:\Personal\Thermocalc Test\venv\include\site\python3.7\spglib”:
setuptools is used.
C:\ProgramData\Anaconda3\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: ‘long_description_content_type’
warnings.warn(msg)
U:\Personal\Thermocalc Test\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\setuptools\dist.py:388: UserWarning: Normalizing ‘1.14.1-0’ to ‘1.14.1.post0’
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\spglib
copying spglib\spglib.py -> build\lib.win-amd64-3.7\spglib
copying spglib_init_.py -> build\lib.win-amd64-3.7\spglib
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'spglib._spglib' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools

----------------------------------------

Command ““U:\Personal\Thermocalc Test\venv\Scripts\python.exe” -u -c “import setuptools, tokenize;file=‘C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\fan298\AppData\Local\Temp\pip-record-5g6ny026\install-record.txt --single-version-externally-managed --compile --install-headers “U:\Personal\Thermocalc Test\venv\include\site\python3.7\spglib”” failed with error code 1 in C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib
You are using pip version 10.0.1, however version 19.2.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

Hi,

It looks like spglib in particular is what is failing the compilation. I’d look to spglib for compiling help: https://atztogo.github.io/spglib/install.html

Some quick googling told me there are ways around the administrator requirement for installation of MS C++ 14 but I’m not particularly familiar with Windows so I am not 100% sure!

If that fails, the least headache I think would just be to contact your sysadmin for help.

Thanks,

Alex

Thanks,

Alex

···

On Friday, August 2, 2019 at 1:24:03 PM UTC-7, [email protected] wrote:

Hi,

I am trying to install Matminer into a virtualenv setup inside pycharm. The problem I ran into is that when it tries to install pymatgen, which is a dependency of matminer, it throws an error as follows:

error: Microsoft Visual C++ 14.0 is required. Get it with “Microsoft Visual C++ Build Tools”: http://landinghub.visualstudio.com/visual-cpp-build-tools

Since it says that I should get the Microsoft Visual C++ build tools, the obvious thing to do would be to install it. However, since I am working on a public computer, I could not install any system softwares. Is there any prebuild binaries that I could use, or I should contact the adminstrator instead?

Following is the error log:

Collecting matminer

Using cached https://files.pythonhosted.org/packages/f7/48/61ebc63f60ce3bc8bd82f79863f987cf6098bdad20aebec78fc3a9f5bcc3/matminer-0.5.8.tar.gz
Requirement already satisfied: numpy>=1.16.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (1.16.4)
Requirement already satisfied: requests>=2.20.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (2.22.0)
Collecting pymatgen>=2019.3.27 (from matminer)
Using cached https://files.pythonhosted.org/packages/5a/4f/6728291127ca5fb30bb3f0f9757a163d8911952505f14f73878f68d78dca/pymatgen-2019.7.30.tar.gz
Collecting pandas>=0.23.4 (from matminer)
Using cached https://files.pythonhosted.org/packages/c1/cf/58ccaa38d5670dd4d2aee5df90aa03d670ede3947b7148e72391c80d4f91/pandas-0.25.0-cp37-cp37m-win_amd64.whl
Collecting tqdm>=4.23.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/9f/3d/7a6b68b631d2ab54975f3a4863f3c4e9b26445353264ef01f465dc9b0208/tqdm-4.32.2-py2.py3-none-any.whl
Collecting pymongo>=3.6.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/57/b0/acf286a558e19dc0992354181c8650dffc79fced47a4555e49ca70acf426/pymongo-3.8.0-cp37-cp37m-win_amd64.whl
Collecting pint>=0.8.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/15/9d/bf177ebbc57d25e9e296addc14a1303d1e34d7964af5df428a8332349c42/Pint-0.9-py2.py3-none-any.whl
Requirement already satisfied: six>=1.11.0 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (1.12.0)
Collecting mdf_forge>=0.6.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/61/97/6218609bea1e14494893d15a25db48be510889276bf497116c5b55576335/mdf_forge-0.7.3-py2.py3-none-any.whl
Collecting plotly>=3.2.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/58/f3/a49d3281cc7275164ecf89ad3497556b11d9661faa119becdf7f9d3b2125/plotly-4.0.0-py2.py3-none-any.whl
Collecting future>=0.16.0 (from matminer)
Using cached https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz
Collecting sympy>=1.1.1 (from matminer)
Using cached https://files.pythonhosted.org/packages/21/21/f4105795ca7f35c541d82c5b06be684dd2f5cb4f508fb487cd7aea4de776/sympy-1.4-py2.py3-none-any.whl
Collecting scikit_learn>=0.20.0 (from matminer)
Using cached https://files.pythonhosted.org/packages/d6/9e/6a42486ffa64711fb868e5d4a9167153417e7414c3d8d3e0d627cf391e1e/scikit_learn-0.21.3-cp37-cp37m-win_amd64.whl
Requirement already satisfied: monty>=2.0.2 in u:\personal\thermocalc test\venv\lib\site-packages (from matminer) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (2019.6.16)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (1.25.3)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (3.0.4)
Requirement already satisfied: idna<2.9,>=2.5 in u:\personal\thermocalc test\venv\lib\site-packages (from requests>=2.20.0->matminer) (2.8)
Requirement already satisfied: ruamel.yaml>=0.15.6 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (0.16.0)
Requirement already satisfied: scipy>=1.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (1.3.0)
Requirement already satisfied: pydispatcher>=2.0.5 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (2.0.5)
Requirement already satisfied: tabulate in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (0.8.3)
Collecting spglib>=1.9.9.44 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/8a/c3/b3d1ae9be4dc334513cc21026103bc0f791ee439d8396c154a5f5ccfc8e8/spglib-1.14.1.post0.tar.gz
Collecting networkx>=2.2 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/85/08/f20aef11d4c343b557e5de6b9548761811eb16e438cee3d32b1c66c8566b/networkx-2.3.zip
Requirement already satisfied: matplotlib>=1.5 in u:\personal\thermocalc test\venv\lib\site-packages (from pymatgen>=2019.3.27->matminer) (3.1.1)
Collecting palettable>=3.1.1 (from pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/c1/bf/c96cfdd0c2ee8f003a16cfe571a70e1a848608f40c317824208a92e94846/palettable-3.2.0-py2.py3-none-any.whl
Collecting pytz>=2017.2 (from pandas>=0.23.4->matminer)
Using cached https://files.pythonhosted.org/packages/87/76/46d697698a143e05f77bec5a526bf4e56a0be61d63425b68f4ba553b51f2/pytz-2019.2-py2.py3-none-any.whl
Requirement already satisfied: python-dateutil>=2.6.1 in u:\personal\thermocalc test\venv\lib\site-packages (from pandas>=0.23.4->matminer) (2.8.0)
Collecting mdf-toolbox>=0.4.7 (from mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/1b/19/ca10e6e33579d2a4b9184f613cd016cc41c3e18a49dd7b3a06708e239071/mdf_toolbox-0.4.7-py2.py3-none-any.whl
Collecting globus-sdk>=1.7.0 (from mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/be/c1/ccf8e8ebeb229887e6355e87e9cc9f07e06b1661b3c6e50311566bae9f28/globus_sdk-1.8.0-py2.py3-none-any.whl
Collecting retrying>=1.3.3 (from plotly>=3.2.1->matminer)
Using cached https://files.pythonhosted.org/packages/44/ef/beae4b4ef80902f22e3af073397f079c96969c69b2c7d52a57ea9ae61c9d/retrying-1.3.3.tar.gz
Collecting mpmath>=0.19 (from sympy>=1.1.1->matminer)
Using cached https://files.pythonhosted.org/packages/ca/63/3384ebb3b51af9610086b23ea976e6d27d6d97bf140a76a365bd77a3eb32/mpmath-1.1.0.tar.gz
Collecting joblib>=0.11 (from scikit_learn>=0.20.0->matminer)
Using cached https://files.pythonhosted.org/packages/cd/c1/50a758e8247561e58cb87305b1e90b171b8c767b15b12a1734001f41d356/joblib-0.13.2-py2.py3-none-any.whl
Requirement already satisfied: ruamel.yaml.clib; platform_python_implementation == “CPython” and python_version < “3.8” in u:\personal\thermocalc test\venv\lib\site-packages (from ruamel.yaml>=0.15.6->pymatgen>=2019.3.27->matminer) (0.1.0)
Collecting decorator>=4.3.0 (from networkx>=2.2->pymatgen>=2019.3.27->matminer)
Using cached https://files.pythonhosted.org/packages/5f/88/0075e461560a1e750a0dcbf77f1d9de775028c37a19a346a6c565a257399/decorator-4.4.0-py2.py3-none-any.whl
Requirement already satisfied: cycler>=0.10 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (0.10.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (2.4.0)
Requirement already satisfied: kiwisolver>=1.0.1 in u:\personal\thermocalc test\venv\lib\site-packages (from matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (1.1.0)
Collecting globus-nexus-client>=0.2.8 (from mdf-toolbox>=0.4.7->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/d8/ea/cf065156bc5ffd2b57803ee414b4a720bac619e4ea49c6c9787dcff68ca9/globus-nexus-client-0.2.8.tar.gz
Collecting pyjwt[crypto]<2.0.0,>=1.5.3 (from globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/87/8b/6a9f14b5f781697e51259d81657e6048fd31a113229cf346880bb7545565/PyJWT-1.7.1-py2.py3-none-any.whl
Requirement already satisfied: setuptools in u:\personal\thermocalc test\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg (from kiwisolver>=1.0.1->matplotlib>=1.5->pymatgen>=2019.3.27->matminer) (39.1.0)
Collecting cryptography>=1.4; extra == “crypto” (from pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/33/73/fc8c85104bd316086a7717d4970aec5e05fafcd6b9bf7257fe3621b180a0/cryptography-2.7-cp37-cp37m-win_amd64.whl
Collecting cffi!=1.11.3,>=1.8 (from cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/2f/ad/9722b7752fdd88c858be57b47f41d1049b5fb0ab79caf0ab11407945c1a7/cffi-1.12.3-cp37-cp37m-win_amd64.whl
Collecting asn1crypto>=0.21.0 (from cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography>=1.4; extra == “crypto”->pyjwt[crypto]<2.0.0,>=1.5.3->globus-sdk>=1.7.0->mdf_forge>=0.6.1->matminer)
Using cached https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz
Installing collected packages: spglib, decorator, networkx, palettable, mpmath, sympy, pytz, pandas, pymatgen, tqdm, pymongo, pint, pycparser, cffi, asn1crypto, cryptography, pyjwt, globus-sdk, globus-nexus-client, mdf-toolbox, mdf-forge, retrying, plotly, future, joblib, scikit-learn, matminer
Running setup.py install for spglib: started
Running setup.py install for spglib: finished with status ‘error’
Complete output from command “U:\Personal\Thermocalc Test\venv\Scripts\python.exe” -u -c “import setuptools, tokenize;file=‘C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\fan298\AppData\Local\Temp\pip-record-5g6ny026\install-record.txt --single-version-externally-managed --compile --install-headers “U:\Personal\Thermocalc Test\venv\include\site\python3.7\spglib”:
setuptools is used.
C:\ProgramData\Anaconda3\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: ‘long_description_content_type’
warnings.warn(msg)
U:\Personal\Thermocalc Test\venv\lib\site-packages\setuptools-39.1.0-py3.7.egg\setuptools\dist.py:388: UserWarning: Normalizing ‘1.14.1-0’ to ‘1.14.1.post0’
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\spglib
copying spglib\spglib.py -> build\lib.win-amd64-3.7\spglib
copying spglib_init_.py -> build\lib.win-amd64-3.7\spglib
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
building 'spglib._spglib' extension
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": [http://landinghub.visualstudio.com/visual-cpp-build-tools](http://landinghub.visualstudio.com/visual-cpp-build-tools)

----------------------------------------

Command ““U:\Personal\Thermocalc Test\venv\Scripts\python.exe” -u -c “import setuptools, tokenize;file=‘C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib\setup.py’;f=getattr(tokenize, ‘open’, open)(file);code=f.read().replace(’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record C:\Users\fan298\AppData\Local\Temp\pip-record-5g6ny026\install-record.txt --single-version-externally-managed --compile --install-headers “U:\Personal\Thermocalc Test\venv\include\site\python3.7\spglib”” failed with error code 1 in C:\Users\fan298\AppData\Local\Temp\pycharm-packaging\spglib
You are using pip version 10.0.1, however version 19.2.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ command.

I would install pymatgen first before installing matminer. The pymatgen docs has installation instructions for windows users:

https://pymatgen.org/installation.html

···

Best,
Anubhav