primer3-org / primer3

Primer3 is a command line tool to select primers for polymerase chain reaction (PCR).
GNU General Public License v2.0
219 stars 63 forks source link

install problem #8

Closed lrm19851015 closed 5 years ago

lrm19851015 commented 6 years ago

My computer is win7 x64 and I installed python2.7 x64 and Microsoft Visual C++ Compiler for Python 2.7. I have used pip install, python setup.py install, and git method. All of them will showed the problems as following:

thal.c
c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s

rc\libprimer3\thal.c(116) : error C2099: initializer is not a constant c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(349) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(418) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(429) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(430) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(438) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(440) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(442) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(444) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(450) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(454) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(459) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(474) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(475) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(479) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(480) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(500) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(503) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(510) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(549) : warning C4013: 'isfinite' undefined; assuming extern returning int c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(741) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(754) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(767) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(814) : warning C4996: 'strcpy': This function or variable m ay be unsafe. Consider using strcpy_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(815) : warning C4996: 'strcat': This function or variable m ay be unsafe. Consider using strcat_s instead. To disable deprecation, use CRT SECURE_NO_WARNINGS. See online help for details. c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(832) : warning C4013: 'fmax' undefined; assuming extern ret urning int c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1884) : error C2143: syntax error : missing ';' before 'typ e' c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1885) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1885) : warning C4047: '=' : 'int' differs in levels of ind irection from 'double ' c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1886) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1886) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1887) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1887) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1948) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1948) : warning C4047: 'function' : 'double ' differs in l evels of indirection from 'int' c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1948) : warning C4024: 'RSH' : different types for formal a nd actual parameter 3 c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1949) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1949) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1949) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1949) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1950) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1950) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1950) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1950) : error C2109: subscript requires array or pointer ty pe c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1955) : error C2065: 'SH' : undeclared identifier c:\users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\primer3\s rc\libprimer3\thal.c(1955) : warning C4022: 'free' : pointer mismatch for actual parameter 1 error: command 'C:\Users\RM\AppData\Local\Programs\Common\Micro soft\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe' failed with exit statu s 2

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

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\ \users\RM\appdata\local\temp\pip-install-6hsiy1\primer3-py\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\ron gming\appdata\local\temp\pip-record-9btr_x\install-record.txt --single-version-e xternally-managed --compile" failed with error code 1 in c:\users\RM\appda ta\local\temp\pip-install-6hsiy1\primer3-py\

untergasser commented 5 years ago

Hi, primer3-py is not developped or maintained by us, so we cannot help you on this. Best, Andreas