cmaclell / concept_formation

Python implementations of TRESTLE, COBWEB/3, and COBWEB
MIT License
61 stars 18 forks source link

Python path error when importing modules #90

Closed messingj closed 5 years ago

messingj commented 5 years ago

Ran into python path issue when running example scripts:

Traceback (most recent call last): File "concept_formation/examples/cobweb3_cluster_simulated.py", line 14, in from concept_formation.cobweb3 import Cobweb3Tree ImportError: No module named concept_formation.cobweb3

Issue can be solved by updating python path with export PYTHONPATH=/path_to_concept_formation/:$PYTHONPATH

It might be helpful to include a note in the README about updating the python path

messingj commented 5 years ago

This seems to have been an issue on my end with pip unexpectedly defaulting to python3 and then trying to run the examples with python2.