benmaier / tacoma

Temporal networks in Python. Provides fast tools to analyze temporal contact networks and simulate dynamic processes on them using Gillespie's SSA.
http://tacoma.benmaier.org
Other
105 stars 7 forks source link

Windows support #22

Open benmaier opened 5 years ago

benmaier commented 5 years ago
benmaier commented 4 years ago

use pathlib for all paths

lingchen0331 commented 3 years ago

Hi, the current version still does not work on Windows. The following is part of the error message:

ERROR: Command errored out with exit status 1: 'c:\users\cling\anaconda3\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\cling\AppData\Local\Temp\pip-req-build-7z9ddcxj\setup.py'"'"'; file='"'"'C:\Users\cling\AppData\Local\Temp\pip-req-build-7z9ddcxj\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\cling\AppData\Local\Temp\pip-record-dh0rcfgc\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\cling\anaconda3\Include\tacoma' Check the logs for full command output.

benmaier commented 3 years ago

heya, I do not have access to a windows computer, and also it's hard for me to judge any errors regarding conda, since I do not have any experience with it. I think conda behaves weirdly with pybind11 at times because you have to manually set paths etc, but really I have no clue how that works. Contributions/pull requests regarding compatibility with windows and/or conda are very welcome!

lingchen0331 commented 3 years ago

heya, I do not have access to a windows computer, and also it's hard for me to judge any errors regarding conda, since I do not have any experience with it. I think conda behaves weirdly with pybind11 at times because you have to manually set paths etc, but really I have no clue how that works. Contributions/pull requests regarding compatibility with windows and/or conda are very welcome!

Thanks for your reply! I'll try other workarounds.