Error installing Fasttext on Windows 10 Python 3 - cygwin

I am trying to install fastText using pip install fastText on Windows 10. I have Python 3 installed in Anaconda.
I tried reading several posts but they do not give a clear idea about what exact changes should I make to install. I am getting the following error:
The error shown below reads:
raise ValueError("Unknown MS Compiler version %s " % msc_ver)
ValueError: Unknown MS Compiler version 1900
Can anybody help in this?

It appears this is a know bug currently in open status according to Python Bug Tracker

I am just successful install fasttext on windows 10 using pip with Visual Studio Build Tools(MS Compiler) for Visual Studio 2017.
You can download MS Build Tools for Visual Studio 2017 here: http://landinghub.visualstudio.com/visual-cpp-build-tools

Related

Python in Visual Studio 2022 : package installed but missing

I tried to use Python in Visual Studio 2022. I have ccreated an environment, imported packages using Pip but intellisense keeps saying they're missing.
What did i miss?

unable to install dlib for python windows 10 (cmake installed)

Trying to install dlib for python on Windows 10 by building it from source for quite a while now and have searched a lot to find a good solution. I tried to follow the following steps.
I first installed VS 16 2019 with all the required c++ dev tools(check attached screenshot) and then installed cmake.
Then pip installed cmake.
Now when I write "pip install dlib". It collapses by showing the
following output(check attached screenshot):
-- Building for: Visual Studio 14 2015
-- Selecting Windows SDK version to target Windows 10.0.19042.
CMake Error at CMakeLists.txt:14 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:
The system cannot find the file specified
-- Configuring incomplete, errors occurred!
I think the problem here is that cmake is using "VS 14 2015" by default when I run "pip install dlib". Is there a way to change this default to use "vs 16 2019" in cmake.

How to install Visual Studio 2015 PlatformSDK now?

When I ran something (such as pip install scrapy) with python 3.7, I got a trouble with
error: [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\PlatformSDK\\lib'
and I found there is no PlatformSDK in my VS 14.0 at all.
(Update on 24 Jul 2018: I got another error [WinError 3] The system cannot find the path specified: 'C:\\Program Files (x86)\\Microsoft SDKs\\Windows\\v8.1\\lib' when I ran pip install scrapy on another laptop, also Win 10 OS. I'm not sure whether my case is similar to this question's)
Then I got a vs_community.exe source from here and installed Web Developer Tools and Visual Studio Extensibility Tools Update 3 successfully, but still no PlatformSDK.
So how can I get this missing folder and its packages inside it?
Once I had a problem installing another Python program (QARK) that required Windows Visual C++. In fact in cmd / PowerShell I was told that a required version was missing.
So I followed what was written on THIS site, so I didn't have this problem anymore (I also rebooted, for safety):
Install using any ONE of these choices:
Microsoft Build Tools for Visual Studio
Alternative link to Microsoft Build Tools for Visual Studio.
Offline installer: vs_buildtools.exe
Select: Workloads → C++ build tools.
Install options: select only the “Windows 10 SDK” (assuming the computer is Windows 10). Optionally, if you want to use MSVC cl.exe C/C++ compiler from the command line, additionally select the C++ build tools, which takes an additional 2 GB disk space.
After that I didn't have any problems running it.
I hope I have been helpful! 🤞

Missing io.h for netCDF4 installation for Python3 on Windows8

I am trying to install the netCDF4 package for Python 3 on my Windows 8 PC. I have already worked through some bugs like adding the visual studio directory to PATH. However, I don't make good headway with the current issue:
when I run
pip install netcdf4
the output indicates that the file io.h could not be found. In fact, a search across the C:/ directory shows that I don't have this file on my PC.
An internet search indicates that the file io.h is somewhat outdated and not used anymore. Is there a way that I can get it from somewhere?
Is there a place where I can
After some more trial and error, I found a solution and I hope that by posting it here it might save somebody else some time.
The only Visual Studio environment that I had installed was Visual Studio Community 2017. What solved my problem was that, additionally, I installed the default (= not changing any of the default modules) version of Visual Studio 2017 Desktop Express. Afterwards,
pip install netcdf4
worked flawlessly.

Aptana studio 3.6 installation error

When trying to install Aptana Studio 3.6.1 (on WinXP) I get an error:
"Failed to correctly acquire installer_nodejs_windows.msi file: CRC error".
I downloaded node.js windows installer from nodejs.org and installed it, but next trial to install Aptana failed. I copied the file to "/AppData/Roaming/Appcelerator/Aptana Studio/installer_nodejs_windows.msi", but next Aptana installation trial failed with the same error message.
Aptana Studio 3.6 doesnt work with the newest version of node.js. I had the same problem. When i installed older version it worked. Here is a link: http://go.aptana.com/installer_nodejs_windows
I hope to work!

Resources