You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error : QSTK can not be imported or not installed. #68
When I have just installed QSTK, but when I run the Validation.py file, I get an error saying QSTK is not installed.
Below is the terminal output during installation.
Any help is appreciated.
Current Directory : /home/anton/Documents/software/QSTK/QSTK-0.2.8/Examples
Files in the current directory
EventProfiler
FeatureSearch
DataAccess
Validation.py
KNN
Features
Basic
Numpy is installed and the version used is : 1.8.2
Please make sure you're using version >= 1.6.1
Matplotlib is installed and version is : 1.4.2
Please make sure you're using version >= 1.1.0
Pandas is installed and the version used is : 0.17.1
Please make sure you're using version >= 0.7.3
Scipy is installed and the version used is : 0.14.1
Please make sure you're using version >= 0.9.0
Dateutil is installed and the version used is : 2.2
Please make sure you're using version == 1.5
Setuptools is installed and the version used is : 18.4
Please make sure you're using version >= 0.6
datetime is installed and can be imported
All dependencies are installed and working
Error : QSTK can not be imported or not installed.
anton@anton-K93SV:~/Documents/software/QSTK/QSTK-0.2.8/Examples$
It works if i am in the main directory but not if i change the current directory to "Examples". It has to do with the python path, you need to add a reference to the QSTK library to the path before it can be imported as a library in the project. When you are in the main folder the library is there in the QSTK subfolder so it works.
Activity
attibalazs commentedon Sep 13, 2016
I`m having the same issue. Any ideas ?
attibalazs commentedon Sep 14, 2016
It works if i am in the main directory but not if i change the current directory to "Examples". It has to do with the python path, you need to add a reference to the QSTK library to the path before it can be imported as a library in the project. When you are in the main folder the library is there in the QSTK subfolder so it works.
flag23 commentedon Feb 13, 2017
edit the Validation.py file by adding the following line after import sys
sys.path.append('../../QSTK-0.2.8')