ImportError: libcblas.so.3: cannot open shared object file: No such file or directory

What worked for me (I was missing some dependencies): pip3 install opencv-python sudo apt-get install libcblas-dev sudo apt-get install libhdf5-dev sudo apt-get install libhdf5-serial-dev sudo apt-get install libatlas-base-dev sudo apt-get install libjasper-dev sudo apt-get install libqtgui4 sudo apt-get install libqt4-test

ModuleNotFoundError: No module named ‘numpy.testing.nosetester’

This is happening due to a version incompatibility between numpy and scipy. numpy in its latest versions have deprecated numpy.testing.nosetester. Replicating the issue pip install numpy==1.18 # > 1.18 pip install scipy<=0.19.0 # <= 0.19 and from sklearn.tree import DecisionTreeClassifier as DTC Triggers the error. Fixing the error Upgrade your scipy to a higher version. … Read more

python flask import error

I ran into this error because I named the test file as flask.py and tried to run it! It creates namespace conflict with the real flask module! Delete the local test file that you named flask.py and the respective flask.pyc. Give some other name! This will happen with other modules like socket etc where you … Read more

Django, ImportError: cannot import name Celery, possible circular import?

Adding the following lines to cloud/celery.py: import celery print celery.__file__ gave me the file itself and not the celery module from the library. After renaming celery.py to celeryapp.py and adjusting the imports all errors were gone. Note: That leads to a change in starting the worker: celery worker –app=cloud.celeryapp:app For those running celery==3.1.2 and getting … Read more

unexpected reserved word import in node.js

import is a part of ECMAScript 2015 (ES6) standard and as Amit above mentioned it is not currently implemented natively in Nodejs. So you can use transpiler like babel to run your es6 script npm install babel An example based on this answer app.js import {helloworld,printName} from ‘./es6’ helloworld(); printName(“John”); es6.js module.exports = { helloworld: … Read more

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