YouTokenToMe
YouTokenToMe copied to clipboard
Youtokentome cannot be installed on Windows if VisualStudio not installed
Hi, I have a python app that needs youtokentome indirectly through internal dependencies. I have successfully installed and run it on my own Windows 10 machine. When I wanted to deploy it to AWS and thus, I have just created a windows server 2019 server instance on AWS. (by the way, Windows 10 option is not available) Except youtokentome all other libs successfully installed through pip install. However, youtokentome keeps throwing errors while installing. The error message is : _building 'youtokentome_cython' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
I have installed latest VC++ redist ver 14.32.31332.0, but it did not make any difference. So my questions are: 1- Is youtokentome not supported on Windows Server 2019? 2- Is there any workaround for this issue?
Hi, After seeing that installing VC++ redist.exe does not help, I installed Visual Studio 2022 with only Python Build Tools, and the problem went away. Now, my question is : is VS setup required in order to install (pip install) youtokentome? VS setup exe with just Python Build tools requires 1.9 GB space and takes around 20 minutes time, which is not very practical.
Any comments and suggestions about installing youtokentome without VS , will be pretty much appreciated. Thanks in advance
one workaround that I have discovered is to copy all site-packages including youtokentome into the target platforms site-packages directory, this way it worked. ( in case someone else encounters the same problem , s/he can use this workaround until someone fixes this issue)
at the end it turned out to be a general Wİndows problem, rather than being a Windows Server 20xx problem. So, I modified the title. The problem now is installing VC++ redist is not enough, also Visual Studio needs to be installed as well, in order to be able to install youtokentome on a Windows environment. I just wanted to update this topic.
i have the same issue
I installed Visual Studio 2022 with only Python Build Tools too , but i ve still the same issue. crazy.
Is this repository not being maintained? It seems to have a lot of problems with dependencies, installations, and not being fixed at all for a long time.