Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python windows version installation #721

Open
ZeusMarti opened this issue Dec 12, 2023 · 4 comments
Open

python windows version installation #721

ZeusMarti opened this issue Dec 12, 2023 · 4 comments

Comments

@ZeusMarti
Copy link
Contributor

Hi all,

We have encountered problems installing AT in windows 10 for python versions above 3.9 (for equal or below works). We have tried both "pip install accelerator-toolbox" and locally "pip install .". You will find an screenshot below. Is it a known issue and we should stick to 3.9?

kZboCSVtvCcBejk0
IwW527XHNv0cBLsb

@ZeusMarti
Copy link
Contributor Author

By the way we tried it in two different PCs with the same result.

@lfarv
Copy link
Contributor

lfarv commented Dec 12, 2023

Hi @ZeusMarti : the answer is in the error message: you C compiler is too old.

Unlike Matlab, python does not clearly states which are the compatible compilers for a given python version, it just says "You will still need the C compiler that was used to build Python; typically Microsoft Visual C++.", which depends on where your binary distribution of python was generated.

I found some compatibility table here.

Personally, I have no problem with Microsoft Visual Studio Community 2019 (including Microsoft Visual C++ 2019).

Now this only concerns building from source. Installing from PyPI should not require a C compiler, so I would like to see the error you got using pip install accelerator-toolbox, which should install a binary.

@ZeusMarti
Copy link
Contributor Author

Thanks @lfarv ,

The Visual C++ version seems to be older than 14, I'm a bit confused, I just asked help to our IT section, will see.

VisCVersion

Indeed finally the remote installation pip install accelerator-toolbox worked so we can start doing something.
By the way, this is for a new student we just got. Maybe he could contribute in the future, we are still defining his project (6 months, half time), is there any specific project you think suitable for such profile?

@lfarv
Copy link
Contributor

lfarv commented Dec 13, 2023

The Visual C++ version seems to be older than 14

What you highlight there is not the Visual C++ compiler itself, but the "Visual C++ Redistributable", which is (I think…) a set of libraries which need to be distributed for running apps compiled with Visual C++.

Indeed finally the remote installation pip install accelerator-toolbox worked

Good ! I have no way to experiment with binary distribution on Windows, but apparently you confirm that it works without needing a C++ compiler.

By the way, this is for a new student we just got. Maybe he could contribute in the future

Excellent. Concerning the future development on AT, I expect a lot from the future meeting(s) of the "board", as advertised by Simon, to identify and prioritise the next evolutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants