-
Notifications
You must be signed in to change notification settings - Fork 16
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
Cannot install libplinkio on Windows #33
Comments
I don't work with windows a lot, but did you try to download the new version of the build tools as suggested by the error message: |
The Programs and Features section in Control Panel suggests I already have Microsoft Visual C++ 14.0 or greater: Given the above info, is outdated Microsoft Visual C++ the reason of my failure to install plinkio? Additionally, I did downloaded the newest version of Microsoft Visual C++ and I was given the option to install multiple programs: Desktop development with C++, Universal Windows Platform build tools, .NET desktop buid tools, Mobile Development with .NET, Web developent build tools, Azure development build tools, Office/SharePoint build tools, Data storage and proessing build tools, Node.js build tools, and Visual Studio extension development. If outdated Microsoft Visual C++ is the reason of the installation failure, which of the above program should I click? They seem to occupy quite a lot space. So I wish to install those that are necessary. Thank you. |
Hmm, looks correct then, any chance python is not able to locate your installation of microsoft visual c++? As mentioned, I don't have much experience with windows development, but of the tools it wants to install the only ones I could imagine are relevant is "Universal Windows Platform build tools". But the link suggested by the error message seems to only contain the build tools "https://visualstudio.microsoft.com/visual-cpp-build-tools/", that should be enough, you shouldn't need the whole visual c++ package. |
The second answer here also has some tips: https://stackoverflow.com/questions/44951456/pip-error-microsoft-visual-c-14-0-is-required The third answer also suggest updating setuptools might be necessary: |
With #26 and #34, you can compile libplinkio on Windows. However, they haven't been uploaded to PyPI yet. Please use the latest version on github and follow the #33 (comment) procedure. In summary,
|
Here is the zip file containing the pre-built wheels. If you cannot build py-plinkio yourself, please use this file. For example, if you are using the 64-bit version of Python 3.8, you can install this wheel by running |
I am following page 385 of the book "An introduction to statistical genetic data analysis" to install the package libplinkio using the code
pip install plinkio
. Here is my code and what I was returned in Win 10 cmd:Any idea why the error? I have install the wheel package.
The text was updated successfully, but these errors were encountered: