Problem with the installation of amplpy in PyCharm

Hello everyone, I hope you all peace and love. Currently, I’m having some troubles with the installation of amplpy package on my IDE PyCharm. It is not related to pip update. the message I get is as following:

C:\Users\TOSHIBA\AppData\Local\Programs\Python\Python313\include\pyconfig.h(59): fatal error C1083: No se puede abrir el archivo incluir: ‘io.h’: No such file or directory
error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\bin\HostX86\x64\cl.exe’ failed with exit code 2
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for amplpy
Failed to build amplpy
ERROR: Failed to build installable wheels for some pyproject.toml based projects (amplpy)

I thankful any help from you.

1 Like

Hi @jairo.yumbla,

Thank you for reaching out. We have not released amplpy for Python 3.13 yet but we are currently working on it. We will let you know as soon as it is released. Meanwhile, would it be possible for you to use a virtual environment with Python 3.12?

1 Like

Thank you for your help @fdabrandao.
That’s great, I’ll be keeping an eye out for the release, and, sure. I just tried it and it works perfectly.
Thanks!