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

pip install is not install ontologies #298

Open
kthakore opened this issue Jun 20, 2019 · 3 comments
Open

pip install is not install ontologies #298

kthakore opened this issue Jun 20, 2019 · 3 comments

Comments

@kthakore
Copy link

Replication:

  • pip install skills-ml
  • python -m skills_ml.ontologies
(skills-ml) ➜  skills-ml git:(master) python tests/ontologies/test_clustering.py
Traceback (most recent call last):
  File "tests/ontologies/test_clustering.py", line 1, in <module>
    from skills_ml.ontologies.clustering import Clustering
ModuleNotFoundError: No module named 'skills_ml.ontologies'
@nyartsgnaw
Copy link

having the same issue, the package is in GitHub package but not the pip installed one

@nyartsgnaw
Copy link

So here is how I fixed this problem:

export SKILLS_ML_PATH=$HOME/anaconda2/envs/py3/lib/python3.6/site-packages/skills_ml/
git clone https://github.com/workforce-data-initiative/skills-ml.git
cp -r skills-ml/* $SKILLS_ML_PATH

where SKILLS_ML_PATH can be found by

pip install skills-ml
find $HOME -name "skills_ml"

I also found out skills-ml can only be successfully installed on Python 3.6, Python 3.5 cannot deal with f-string

@aembryonic
Copy link

simply download source code "git clone ..." and run "python setup.py install".

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