Issue while installing MARS code(Multivariate Adaptive Regression Splines) - python

I am trying to install MARS following the methods mentioned in this website https://machinelearningmastery.com/multivariate-adaptive-regression-splines-mars-in-python/
I have installed Microsoft visual studio build tools (https://visualstudio.microsoft.com/visual-cpp-build-tools/) as required by the package. But still some new errors are getting generated. (please see the images).
Can anyone please help to resolve it ?

Related

What is a shared library, and how do you manually install a .dll for Python?

I'm trying to control my Elgato Stream Deck via Python, and am trying to follow the steps here: https://python-elgato-streamdeck.readthedocs.io/en/stable/pages/backend_libusb_hidapi.html
There are further instructions here:
https://github.com/libusb/hidapi#build-instructions
Unfortunately I can't get anything to work, and I know I'm not setting things up properly because I'm not sure what to do with the downloaded .dll and .lib files. In Pycharm, I always get the error:
('Probe failed to find any functional HID backend.', {'libusb': TransportError("No suitable LibUSB HIDAPI library found on this system. Is the 'hidapi.dll' library installed?")})
The instructions I can find seem more advanced than what I know how to do.
Thanks for any help or suggestions.
Assuming you are on Fedora? I have seen this error and the following should resolve the problem:
sudo dnf install hidapi

When I tried to install sacrebleu, I got an installation error

Description
When I tried to install package sacrebleu, I got an error like this:
Installation Error
It said "System cannot find the specified file". However I have no idea how to solve it.
I have tried installing package mecab-python3. But it confuses me that it was successfully installed in Anaconda but got an error, "Microsoft Visual C++ 14.0 is required", in original python38 environment.
Whether the package mecab-python3 has been installed or not, I still got the same error and cannot install sacrebleu.
I also tried restarting my machine but it does not work.
Is there anyone could solve it? or I want to know if there is any alternative package I can use to calculate BLEU score.
Thanks Anyway!
My Environment
Windows 10
Python 3.8
pip 20.1.1
Anaconda3 v4.8.2
I'm the mecab-python3 maintainer. Sorry it's giving you trouble.
The README has a link to the C++ runtime pack you have to install on Windows, if you install that it should work.
I have heard reports of the package not working with Anaconda on Windows specifically, though it seems to work sometimes. If you have trouble please open an issue and I'll try to fix it. On the other hand, if you aren't processing Japanese there's no reason to import the module and that may be a bug in sacrebleu.
Ah, actually, I just saw your screenshot - didn't notice it before.
Versions before 1.0 don't support Windows. But to keep using the old dictionary, sacrebleu has to make some changes, so they don't support 1.0+ yet. I think they are working on it, see this issue.

Speech Recognition in Python PyAudio needs Visual Studio Error

I am Trying to make a Program that uses Speech Recognition (SR), And I know that a popular library for this in Speech Recognition. I download speech recognition with pip install SpeechRecognition. I found Out while working on the code I need PyAudio. I tried to install this however it gave me the following error. error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/. I have looked for tutorials on how to download this, and I have download it, but it still does not work. Can someone please give me a more detailed explination or point me towards a video on how to install it for python on windows and Add it to the path. Thanks.
This problem was solved a long time agoo =]] Why you do not search on google before to ask?
Go to this commend and click on the link what is there and install it manualy.
The link what you will need to found is something like this:people.csail.mit.edu/hubert/pyaudio/packages/….
#andew i also had the same issue but then when i installed it it showed that the debuger is not working so i downeadeed my pthon version by first install th version 3.6.0 from python.org and then is visual studio code i chose the 3.6.0 interpreter and booooom it worked

Windows 10 - Using Labellmg for object detection - Installing PyQt

A beginner here.I have been trying to get Labellmg work using the following source on Github:
https://github.com/tzutalin/labelImg
I was confused as to if I could just download the .exe file found in 'Download prebuilt binaries' or if I have to build it from source. So, I went with building it from source anyway:
Here are the steps I followed: (I have python 3.5 and lxml already installed)
Installed Visual Studio 2010 from here:
http://download.cnet.com/Microsoft-Visual-Studio-2010-Ultimate/3000-2383_4-75450998.html
Downloaded SIP source code (version 4.19.5) from here:
https://www.riverbankcomputing.com/software/sip/download
Downloaded PyQt4 source code (version 4.12.1) from here:
https://www.riverbankcomputing.com/software/pyqt/download
Downloaded and Installed Qt
(qt-opensource-windows-x86-vs2010-4.8.6.exe)
Staying in one Command Prompt and in the sip-4.19.5 directory, I entered the following commands:
python configure.py
"C:\Qt\4.8.6\bin\qtvars.bat"
"C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\vcvarsall.bat"
nmake
The first three steps are successful but when I execute the nmake command, I get the following error:
I am probably doing something really silly. Kindly, please help me out! I have been stuck with this problem for more than 8 hours straight now.

Cmake error at Windows download Prebuilt Dependencies.cmake:54 file Download hash mismatch

I'm trying to install Caffe for windows 8. I'm using this article for installation guide, I installed visual studio 2015. I put python.exe & CMAKE.exe on the path & after running these errors occured.
I appreciate any help.
After searching my question,I understood maybe the problem is about "time out" in network connection or another problem about downloading.
I removed the complete binary output build directory, again.
I used "freegate.exe" and tried again.
cmd>cd caffe
cmd>caffe>scripts\build_win.cmd
and it started downloding.

Categories