python-webkit2png icon indicating copy to clipboard operation
python-webkit2png copied to clipboard

can't open file 'scripts/webkit2png'

Open manmadewind opened this issue 10 years ago • 11 comments

I used pip install webkit2png to install. It looks like installed successful. However, when I tried to run scripts/webkit2png -h I got this,

$ python: can't open file 'scripts/webkit2png': [Errno 2] No such file or directory

Some info you might wanna know,

  • OS: Mac OS X, 10.9.5
  • Python ,2.7

manmadewind avatar Jul 16 '15 14:07 manmadewind

pip install looks to be broken on my environment (OSX 10.10.4, Python 3.4). It claims a successful install, but only the egg_info directory is available in site packages.

duncanmcdowell avatar Jul 28 '15 17:07 duncanmcdowell

+1

Eunoia avatar Nov 05 '15 20:11 Eunoia

I experience the same behavior. Ubuntu 14.0.4 Python 2.7

konoufo avatar Nov 19 '15 02:11 konoufo

+1

Ubuntu 14.04 Python 2.7

thebaer avatar Jan 02 '16 05:01 thebaer

+1

Ubuntu 14.04 Python 2.7

eppeters avatar Jan 11 '16 22:01 eppeters

FWIW, the "Manual instructions via Git" instructions in the README do work on Py 2.7/Ubuntu 14.04.

Run python webkit2png/scripts.py -h instead of python scripts/webkit2png -h inside the folder you downloaded the repo to and it should work.

eppeters avatar Jan 11 '16 22:01 eppeters

:+1: Something is wrong here... The files don't get installed. For me, it just hangs:

/ # python python-webkit2png/setup.py install
running install
running bdist_egg
running egg_info
creating webkit2png.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
writing manifest file 'webkit2png.egg-info/SOURCES.txt'

djui avatar Feb 11 '16 09:02 djui

Same Problem:

ElementaryOS Python 2.7

marcelohfilho avatar May 24 '17 00:05 marcelohfilho

Same problem:

Ubuntu 16.04 Python 2.7

ghost avatar Jun 14 '17 13:06 ghost

Ubuntu 14.04 / same here... where is it installed?

marcpope avatar Jun 20 '17 11:06 marcpope

You need to call the script directly

sebix avatar Jun 21 '17 09:06 sebix