Trying to install AlchemyAPI.py-2.5
Can't get example running.
Debian 6.0
python example/sentiment.py:
Traceback (most recent call last):
File "example/sentiment.py", line 4, in <module>
import AlchemyAPI
ImportError: No module named AlchemyAPI
How do I install that module? in README it says:
To install this module, copy the desired AlchemyAPI.py file into your desired Python import directory.
What is my desired directory if I'm running on debian ?
Very confusing, any help appreciated.
You need to rename
AlchemyAPI.py-2.5
toAlchemyAPI.py
for it to be importable, and add it to the PYTHONPATH (which includes the Python package directories and the working dir).In your example you can copy the file to:
example/AlchemyAPI.py
.