<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Yongcheng,<div class=""><br class=""></div><div class=""> Did you develop this DLStruct plugin? I have not seen it before. The error message says it was trying to install the quadprog package from PyPi, I guess a quadratic programming library. You can see on PyPi that it only has a source code distribution</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://pypi.org/project/quadprog/#files" class="">https://pypi.org/project/quadprog/#files</a></div><div class=""><br class=""></div><div class="">and your error indicates it needs to be compiled with Microsoft Visual C++ compilers which you apparently do not have installed.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class=""><b class=""><i class=""><font color="#ff0000" class="">building 'quadprog' extension <br class="">error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": <a href="https://visualstudio.microsoft.com/downloads/" class="">https://visualstudio.microsoft.com/downloads/</a> </font></i></b></div></div></div></blockquote><div><br class=""></div><div>You will have to get the C++ compiler to build quadprog on Windows.</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div><br class=""></div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Apr 6, 2021, at 8:31 AM, Yongcheng MU <<a href="mailto:ymu004@odu.edu" class="">ymu004@odu.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hello,<div class=""><br class=""></div><div class="">Hope this email finds you well.</div><div class=""><br class=""></div><div class="">I'm trying to Plugin a bundle into ChimeraX. I have successfully installed a bundle on macOS, now I'm trying to install the bundle on a Window Desktop. It holds some errors, I searched a lot and I failed to fix this issue. I wonder if you have any suggestions?</div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Yongcheng<br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class="">[toolshed install Z:/Plugin_dl\dist\ChimeraX_DLStruct-0.1-py3-none-<br class="">any.whl](cxcmd:toolshed install<br class="">Z:/Plugin_dl\\dist\\ChimeraX_DLStruct-0.1-py3-none-any.whl)<br class=""><br class="">Traceback (most recent call last):<br class="">File "C:\Program Files\ChimeraX 1.1\bin\lib\site-packages\chimerax\toolshed_utils\__init__.py", line 489, in _pip_install<br class="">results = _run_pip(command, logger)<br class="">File "C:\Program Files\ChimeraX 1.1\bin\lib\site-packages\chimerax\toolshed_utils\__init__.py", line 540, in _run_pip<br class=""><b class=""><i class=""><font color="#ff0000" class="">raise RuntimeError(s)<br class="">RuntimeError: Looking in indexes: <a href="https://pypi.org/simple" class="">https://pypi.org/simple</a>, <a href="https://cxtoolshed.rbvi.ucsf.edu/pypi/" class="">https://cxtoolshed.rbvi.ucsf.edu/pypi/</a> </font></i></b><br class="">Processing z:\plugin_dl\dist\chimerax_dlstruct-0.1-py3-none-any.whl <br class="">Requirement already satisfied: ChimeraX-Core~=1.0 in c:\program files\chimerax 1.1\bin\lib\site-packages (from ChimeraX-DLStruct==0.1) (1.1) <br class="">Requirement already satisfied: numpy~=1.16.4 in c:\users\ymu\appdata\local\ucsf\chimerax\1.1\site-packages (from ChimeraX-DLStruct==0.1) (1.16.6) <br class="">Requirement already satisfied: torch~=1.7.1 in c:\users\ymu\appdata\local\ucsf\chimerax\1.1\site-packages (from ChimeraX-DLStruct==0.1) (1.7.1) <br class="">Requirement already satisfied: numpy~=1.16.4 in c:\users\ymu\appdata\local\ucsf\chimerax\1.1\site-packages (from ChimeraX-DLStruct==0.1) (1.16.6) <br class="">Requirement already satisfied: typing-extensions in c:\users\ymu\appdata\local\ucsf\chimerax\1.1\site-packages (from torch~=1.7.1->ChimeraX-DLStruct==0.1) (3.7.4.3) <br class="">Collecting quadprog~=0.1.7 <br class="">Using cached quadprog-0.1.8.tar.gz (269 kB) <br class="">Requirement already satisfied: Cython in c:\program files\chimerax 1.1\bin\lib\site-packages (from quadprog~=0.1.7->ChimeraX-DLStruct==0.1) (0.29.20) <br class="">Collecting importlib-metadata~=0.17 <br class="">Using cached importlib_metadata-0.23-py2.py3-none-any.whl (28 kB) <br class="">Requirement already satisfied: zipp>=0.5 in c:\users\ymu\appdata\local\ucsf\chimerax\1.1\site-packages (from importlib-metadata~=0.17->ChimeraX-DLStruct==0.1) (3.4.1) <br class=""><b class=""><i class=""><font color="#e69138" class="">Building wheels for collected packages: quadprog <br class="">Building wheel for quadprog (setup.py): started <br class="">Building wheel for quadprog (setup.py): finished with status 'error' <br class="">Running setup.py clean for quadprog </font><br class=""><font color="#ff0000" class="">Failed to build quadprog </font></i></b><br class="">Installing collected packages: quadprog, importlib-metadata, ChimeraX-DLStruct <br class="">Running setup.py install for quadprog: started <br class="">Running setup.py install for quadprog: finished with status 'error' <br class=""><b class=""><i class=""><font color="#ff0000" class="">ERROR: Command errored out with exit status 1: </font></i></b><br class="">command: 'C:\Program Files\ChimeraX 1.1\bin\ChimeraX.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\setup.py'"'"'; __file__='"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\ymu\AppData\Local\Temp\pip-wheel-gloxcthl' <br class="">cwd: C:\Users\ymu\AppData\Local\Temp\pip-install-xakoctiw\quadprog_7cb25d8bb3904ea3b64643e58389ec80\ <br class="">Complete output (6 lines): <br class="">running bdist_wheel <br class="">running build <br class="">running build_ext <br class=""><b class=""><i class=""><font color="#ff0000" class="">skipping 'quadprog\quadprog.cpp' Cython extension (up-to-date) <br class="">building 'quadprog' extension <br class="">error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": <a href="https://visualstudio.microsoft.com/downloads/" class="">https://visualstudio.microsoft.com/downloads/</a> </font></i></b><br class="">---------------------------------------- <br class=""><b class=""><i class=""><font color="#ff0000" class="">ERROR: Failed building wheel for quadprog <br class="">DEPRECATION: Could not build wheels for quadprog which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at <a href="https://github.com/pypa/pip/issues/8368" class="">https://github.com/pypa/pip/issues/8368</a>. <br class="">ERROR: Command errored out with exit status 1: </font></i></b><br class="">command: 'C:\Program Files\ChimeraX 1.1\bin\ChimeraX.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\setup.py'"'"'; __file__='"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\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\ymu\AppData\Local\Temp\pip-record-gcrsp7lk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\ymu\AppData\Local\UCSF\ChimeraX\Python37\Include\quadprog' <br class="">cwd: C:\Users\ymu\AppData\Local\Temp\pip-install-xakoctiw\quadprog_7cb25d8bb3904ea3b64643e58389ec80\ <br class="">Complete output (6 lines): <br class="">running install <br class="">running build <br class="">running build_ext <br class="">skipping 'quadprog\quadprog.cpp' Cython extension (up-to-date) <br class="">building 'quadprog' extension <br class="">error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": <a href="https://visualstudio.microsoft.com/downloads/" class="">https://visualstudio.microsoft.com/downloads/</a> <br class="">---------------------------------------- <br class="">ERROR: Command errored out with exit status 1: 'C:\Program Files\ChimeraX 1.1\bin\ChimeraX.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\setup.py'"'"'; __file__='"'"'C:\\Users\\ymu\\AppData\\Local\\Temp\\pip-install-xakoctiw\\quadprog_7cb25d8bb3904ea3b64643e58389ec80\\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\ymu\AppData\Local\Temp\pip-record-gcrsp7lk\install-record.txt' --single-version-externally-managed --user --prefix= --compile --install-headers 'C:\Users\ymu\AppData\Local\UCSF\ChimeraX\Python37\Include\quadprog' Check the logs for full command output. <br class="">WARNING: You are using pip version 20.2.2; however, version 21.0.1 is available. <br class="">You should consider upgrading via the 'C:\Program Files\ChimeraX 1.1\bin\ChimeraX.exe -m pip install --upgrade pip' command. <br class=""><br class=""></div></div></div>
_______________________________________________<br class="">ChimeraX-users mailing list<br class=""><a href="mailto:ChimeraX-users@cgl.ucsf.edu" class="">ChimeraX-users@cgl.ucsf.edu</a><br class="">Manage subscription:<br class="">https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users<br class=""></div></blockquote></div><br class=""></div></body></html>