python-webkit2png
python-webkit2png copied to clipboard
setup.py install not working
Following the "Manual installation via Git" instructions, the last step:
Install with: python python-webkit2png/setup.py install
returns:
sudo python python-webkit2png/setup.py install
running install
running bdist_egg
running egg_info
writing webkit2png.egg-info/PKG-INFO
writing top-level names to webkit2png.egg-info/top_level.txt
writing dependency_links to webkit2png.egg-info/dependency_links.txt
writing entry points to webkit2png.egg-info/entry_points.txt
warning: manifest_maker: standard file 'setup.py' not found
error: package directory 'webkit2png' does not exist
If I cd into the directory and run setup from there it works.
Duplicated BTW. (CentOs) However, afterwards I still can't use the module. When I import webkit2png python says it has no clue.
You need to run setup.py from the directory it is in.
cd python-webkit2png
python setup.py install
Better use pip, it does change to the dir automatically