PyAnsys Installation Error “Microsoft Visual C++ 14.0 or greater is required”

Hello,
I am installing PyAnsys and get the error “Microsoft Visual C++ 14.0 or greater is required”:
But the matter is that I have already got it installed:
Could you give me a hint what is the matter?
Thanks
Answers
-
Hi @olvicam
Which command did you use? Why aren't you using a virtual environment?
0 -
Thanks for the feedback.
I am using the command given in the manual (... -m pip install...).
Well, I do not use a virtual environment because I am not aware how it impact the matter.
Could you give me a hint?Thanks
0 -
It is always recommended to use venv to work with python because otherwise you are installing python packages system-wide and it might find issues with that.
I would start by creating a venv in your directory:
- python3 -m venv .venv
- .venv/Scripts/Activate.ps
- pip install ansys-mapdl-reader
0 -
@German Martinez , thanks for your hint and for what I learnt.
Yes, I created the virtual environment (in Windows PowerShell the second command is- 1. <venv>\Scripts\Activate.ps1
but it is not any kind of criticism, just to confirm that I did follow your advice).
Unfortunately it ended up with the same outcome as before...
So it seams that I have to reinstall the Microsoft Visual C++ if you do not have any other idea...
Thanks
0