Cython: “fatal error: numpy/arrayobject.h: No such file or directory”

In your setup.py, the Extension should have the argument include_dirs=[numpy.get_include()]. Also, you are missing np.import_array() in your code. — Example setup.py: from distutils.core import setup, Extension from Cython.Build import cythonize import numpy setup( ext_modules=[ Extension(“my_module”, [“my_module.c”], include_dirs=[numpy.get_include()]), ], ) # Or, if you use cythonize() to make the ext_modules list, # include_dirs can be passed … Read more

The ‘json’ native gem requires installed build tools

Follow the Instructions from the Ruby Installer Developer Kit Wiki: Download Ruby 1.9.3 from rubyinstaller.org Download DevKit file from rubyinstaller.org For Ruby 1.9.3 use DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe Extract DevKit to path C:\Ruby193\DevKit Run cd C:\Ruby193\DevKit Run ruby dk.rb init Run ruby dk.rb review Run ruby dk.rb install To return to the problem at hand, you should be … Read more

How can I create a self-signed cert for localhost?

Since this question is tagged with IIS and I can’t find a good answer on how to get a trusted certificate I will give my 2 cents about it: First use the command from @AuriRahimzadeh in PowerShell as administrator: New-SelfSignedCertificate -DnsName “localhost” -CertStoreLocation “cert:\LocalMachine\My” This is good but the certificate is not trusted and will … Read more

Why does only the first line of this Windows batch file execute but all three lines execute in a command shell?

Maven uses batch files to do its business. With any batch script, you must call another script using the call command so it knows to return back to your script after the called script completes. Try prepending call to all commands. Another thing you could try is using the start command which should work similarly.

port forwarding in windows

I’ve solved it, it can be done executing: netsh interface portproxy add v4tov4 listenport=4422 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33 To remove forwarding: netsh interface portproxy delete v4tov4 listenport=4422 listenaddress=192.168.1.111 Official docs

How to Delete node_modules – Deep Nested Folder in Windows

Since this the top google result, this is what worked for me: Update, if you have npm v5, use npx: npx rimraf ./**/node_modules Otherwise install RimRaf: npm install rimraf -g And in the project folder delete the node_modules folder with: rimraf node_modules If you want to recursively delete: rimraf .\**\node_modules [ http://www.nikola-breznjak.com/blog/nodejs/how-to-delete-node_modules-folder-on-windows-machine/ ]

ng is not recognized as an internal or external command

I solved this problem in accordance with the figure: run in cmd npm install -g @angular/cli and then ( open in Windows 10) Control Panel\All Control Panel Items\System or accordance with the figure step 1: step 2 : step3: step4: step5: add missing ng path Here is new environment variable that you need add: C:\Users\PK\AppData\Roaming\npm\node_modules\@angular\cli\bin … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)