# Import from qiskit-aqua error

I try to use Quantum SVM kernel algorithm: multiclass classifier extension. This is my code section with imports

import numpy as np
import scipy
from scipy.linalg import expm
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from sklearn import datasets
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler, MinMaxScaler
from sklearn.decomposition import PCA

from qiskit import BasicAer
from qiskit_aqua import run_algorithm
from qiskit_aqua.input import SVMInput
import qsvm_datasets


I have an error at import any library. I received the ImportError: DLL load failed: message. All libs are installed correctly. I found in my folders needed file at \Python\Libs\site-packages\qiskit_aqua\input\svminput.py.

That's my debug log:

Warning (from warnings module):
File "D:\QASM\Python368\lib\site-packages\sklearn\externals\joblib\externals\cloudpickle\cloudpickle.py", line 47
import imp
DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
Traceback (most recent call last):
File "\1.py", line 14, in <module>
from qiskit_aqua import run_algorithm
File "D:\QASM\Python368\lib\site-packages\qiskit_aqua\__init__.py", line 29, in <module>
from .utils.backend_utils import (get_aer_backend,
File "D:\QASM\Python368\lib\site-packages\qiskit_aqua\utils\__init__.py", line 31, in <module>
from .qpsolver import optimize_svm
File "D:\QASM\Python368\lib\site-packages\qiskit_aqua\utils\qpsolver.py", line 21, in <module>
from cvxopt import matrix, solvers
File "D:\QASM\Python368\lib\site-packages\cvxopt\__init__.py", line 50, in <module>
import cvxopt.base

• anyway, here is the current version of the library you are trying to use. When you issue the from qiskit_aqua.input ... command the __init__.py file is automatically executed, so the problem might be in some other module in the subpackage, not necessarily in the SVMInput class. It's hard to tell what exactly is going on without you posting the full error message (which includes the line at which the error occurred) – glS Mar 18 '19 at 16:10