You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that when installing pyopenjtalk via pip, the pip install fails when building the C++ code.
I have all the required dependencies, the linking issues seem to be related to the python libraries.
I'm on Windows 11 64-bit using Visual Studio 2022 with MSVC 14.43.34808 and Python 3.10
The text was updated successfully, but these errors were encountered:
I identified the issue !
It seems that by default, it does consider the windows environment to be 32-bit and calls the 32-bit msvc environment !
modifying the setup.py like this
class custom_build_ext(setuptools.command.build_ext.build_ext):
def initialize_options(self):
super().initialize_options()
self.plat_name = 'win-amd64'
Allows it to build without issues and install.
So now, it would only require to add a conditional check so that it only does it on 64-bit windows machine. I'll probably do a pull request once done
A fix without modifying the source is to set the env variable PLAT_NAME before installing the pip package. I think this could be added to the install instructions !
errorlog (1).txt
It seems that when installing pyopenjtalk via pip, the pip install fails when building the C++ code.
I have all the required dependencies, the linking issues seem to be related to the python libraries.
I'm on Windows 11 64-bit using Visual Studio 2022 with MSVC 14.43.34808 and Python 3.10
The text was updated successfully, but these errors were encountered: