gallantlab / pycortex

Pycortex is a python-based toolkit for surface visualization of fMRI data
https://gallantlab.github.io/pycortex
BSD 2-Clause "Simplified" License
581 stars 137 forks source link

Error while installing on Windows #493

Closed pystar1007 closed 1 year ago

pystar1007 commented 1 year ago

LINK : fatal error LNK1181: cannot open input file 'm.lib' error: Command "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:e:\workspace\codementor\python-dash\ucla_su23_work\venv\libs /LIBPATH:C:\Program Files\Python38\libs /LIBPATH:C:\Program Files\Python38 /LIBPATH:e:\workspace\codementor\python-dash\ucla_su23_work\venv\PCbuild\amd64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64 /LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\lib\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64 /LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64 m.lib /EXPORT:PyInit_openctm build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG1.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressMG2.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\compressRAW.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\Alloc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzFind.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaDec.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaEnc.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\liblzma\LzmaLib.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.obj build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\stream.obj build\temp.win-amd64-cpython-38\Release\cortex\openctm.obj /OUT:build\lib.win-amd64-cpython-38\cortex\openctm.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\OpenCTM-1.0.3\lib\openctm.cp38-win_amd64.lib" failed with exit status 1181

ERROR: Failed building wheel for pycortex Failed to build pycortex ERROR: Could not build wheels for pycortex which use PEP 517 and cannot be installed directly

python version is 3.8

mvdoc commented 1 year ago

Hi, pycortex does not support windows. See e.g. #475

pystar1007 commented 1 year ago

Hi, pycortex does not support windows. See e.g. #475

I was able to run it, thanks

I want to add matplotlib plot on page, Could you let me know how do I do it?

mvdoc commented 1 year ago

I suggest checking the extensive example gallery: https://gallantlab.org/pycortex/auto_examples/index.html

On Wed, Aug 2, 2023 at 7:28 PM pystar1007 @.***> wrote:

Hi, pycortex does not support windows. See e.g. #475 https://github.com/gallantlab/pycortex/issues/475

I was able to run it, thanks

I want to add matplotlib plot on page, Could you let me know how do I do it?

— Reply to this email directly, view it on GitHub https://github.com/gallantlab/pycortex/issues/493#issuecomment-1663204985, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO5TGRRO5LSYPZVAFBUTULXTMEF3ANCNFSM6AAAAAA3BPCF6Q . You are receiving this because you modified the open/close state.Message ID: @.***>

-- Matteo Visconti di Oleggio Castello, Ph.D. Postdoctoral Scholar Helen Wills Neuroscience Institute, UC Berkeley MatteoVisconti.com http://matteovisconti.com || github.com/mvdoc || linkedin.com/in/matteovisconti