Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Youtokentome cannot be installed on Windows if VisualStudio not installed #96

Open
yilmazay74 opened this issue Jul 26, 2022 · 5 comments

Comments

@yilmazay74
Copy link

yilmazay74 commented Jul 26, 2022

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?

@yilmazay74
Copy link
Author

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

@yilmazay74
Copy link
Author

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)

@yilmazay74 yilmazay74 changed the title Youtokentome cannot be installed on Windows Server 2019 Youtokentome cannot be installed on Windows if VisualStudio not installed Jul 29, 2022
@yilmazay74
Copy link
Author

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.

@HanshustlerHHHH
Copy link

i have the same issue

I installed Visual Studio 2022 with only Python Build Tools too , but i ve still the same issue. crazy.

@hoonlight
Copy link

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.

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

No branches or pull requests

3 participants