ImportError: cannot import name NUMPY_MKL

If you look at the line which is causing the error, you’ll see this: This line comment states the dependency as numpy+mkl (numpy with Intel Math Kernel Library). This means that you’ve installed the numpy by pip, but the scipy was installed by precompiled archive, which expects numpy+mkl. This problem can be easy solved by installation for numpy+mkl from whl file from here.

‘virtualenv’ is not recognized as an internal or external command, operable program or batch file

steps: – go to where you want create django app on that folder. then run this command on command prompt : python -m virtualenv . (eg. C:\Users\gshiv\Desktop\django>python -m virtualenv .) where django is the my folder i want run virtualenv and .(dot) indicates virtualenv install all it’s folder in django folder otherwise you can use other … Read more

urllib and “SSL: CERTIFICATE_VERIFY_FAILED” Error

If you just want to bypass verification, you can create a new SSLContext. By default newly created contexts use CERT_NONE. Be careful with this as stated in section 17.3.7.2.1 When calling the SSLContext constructor directly, CERT_NONE is the default. Since it does not authenticate the other peer, it can be insecure, especially in client mode where most of time you … Read more

Python can’t find module NLTK

On OS X you could have multiple installation of Python, so investigate it first: All within /usr/bin are built-in and all other in /usr/local/bin are external installed by Homebrew or some other package manager. If you’re using pip or pip3 from /usr/local, then you’ve to use the same Python instance, otherwise they’re different instances. Just install it via pip: or for Python 3: then run … Read more

Installation of pygame with Anaconda

The easiest way to install Python using conda is: conda install -c https://conda.binstar.org/krisvanneste pygame Edit (03/2016): It seems like the package is unavailable, but you can use this instead: conda install -c https://conda.anaconda.org/tlatorre python Edit (01/2017) The command has changed, now you can use: conda install -c tlatorre pygame=1.9.2 Edit (07/2018) tlatorre’s repo is still … Read more