memilio icon indicating copy to clipboard operation
memilio copied to clipboard

Install of memilio-simulation fails on windows

Open mknaranja opened this issue 1 year ago • 4 comments

Bug description

pip install . for memilio-simulation fails on windows whole pip install -e .[dev] passes. pip install . on ubuntu passes.

Version

Windows

To reproduce

  1. cd pycode/memilio-simulation
  2. pip install .

Relevant log output

No response

Add any relevant information, e.g. used compiler, screenshots.

No response

Checklist

  • [X] Attached labels, especially loc:: or model:: labels.
  • [X] Linked to project

mknaranja avatar Jan 10 '24 14:01 mknaranja

@xsaschako Could you have a try and look if you encounter the reason? I think you have set up a windows environment?!

mknaranja avatar Jan 10 '24 14:01 mknaranja

Works for me on windows: I did: Pull main clean memilio-simulation from any artifacts i had python -m venv epi_venv .\epi_venv\Scripts\activate pip install --upgrade pip pip install scikit-build pip install .

Python 3.10.6 compiler: visual studio enterprise 2019 amd64

xsaschako avatar Jan 11 '24 12:01 xsaschako

@xsaschako @mknaranja Attached you can find the error message when I try to install with Python 3.10.11 and VS fehler_pycode.txt

nijawa avatar Jan 11 '24 18:01 nijawa

Alright, could you delete your virtual envorinment and all artifacts and follow the steps above? Apart from that i had the same error once and it worked after doing that. If it still doesn't work, could you please pip list and tell me the installed package versions?

xsaschako avatar Jan 12 '24 12:01 xsaschako