machinalis / iepy

Information Extraction in Python
BSD 3-Clause "New" or "Revised" License
905 stars 186 forks source link

ValueError: There's no IEPY instance on the provided path instance/csv_to_iepy.py #147

Open ghost opened 5 years ago

ghost commented 5 years ago

I was interested in giving this a shot, got to the point of importing some data, and I got the following error while followint the tutorial

Traceback (most recent call last):
  File "instantiation/csv_to_iepy.py", line 22, in <module>
    iepy.setup(__file__)
  File "/tmp/iepy/env/lib/python3.6/site-packages/iepy/__init__.py", line 37, in setup
    path, project_name, old = _actual_path(fuzzy_path)
  File "/tmp/iepy/env/lib/python3.6/site-packages/iepy/__init__.py", line 97, in _actual_path
    raise ValueError("There's no IEPY instance on the provided path {}".format(original))
ValueError: There's no IEPY instance on the provided path instantiation/csv_to_iepy.py

The init code is confusing, i am not sure where you are looking, and what you are looking for. Are you looking for the iepy executable?

I installed all code in a new environment python3.6 and did a pip install . from the cloned repository. I used the master and develop branch, but both had the same problem.

maybe just make this an environment variable? or just use whereis to find it?

How do I resolve this?