Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : QSTK can not be imported or not installed. #68

Open
magick93 opened this issue Mar 5, 2016 · 3 comments
Open

Error : QSTK can not be imported or not installed. #68

magick93 opened this issue Mar 5, 2016 · 3 comments

Comments

@magick93
Copy link

magick93 commented Mar 5, 2016

Hello

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$ 
@attibalazs
Copy link

I`m having the same issue. Any ideas ?

@attibalazs
Copy link

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
Copy link

flag23 commented Feb 13, 2017

edit the Validation.py file by adding the following line after import sys
sys.path.append('../../QSTK-0.2.8')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants