I can't find the pyreport executable
I am on OSX, and installed pyreport 3 ways. I can see the module installed, but I can't find the pyreport executable script.
-
From github:
$ git clone git://github.com/joblib/pyreport.git $ cd pyreport $ sudo python install pyreportMy python is in
/opt/local/bin, but there is no pyreport in/opt/local/binor/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/ -
Using MacPorts' easy_install $ sudo /opt/local/bin/easy_install-2.7 pyreport The pyreport script is nowhere to be found.
-
Using the system easy_install $ /usr/bin/easy_install pyreport $ ls /usr/bin/pyre* ls: /usr/bin/pyre*: No such file or directory
How can I get the executable script?
The executable script is just pyreport/pyreport.py
I think the following should always work: Use python -m pyreport.pyreport instead of pyreport for invocation. But it is a bug, a softlink should be generated.
After installing pyreport with pip, you can make a manual bugfix by creating the softlink by hand, as root:
cd /usr/local/bin # or whatever
ln -s /usr/local/lib/python2.7/dist-packages/pyreport/pyreport.py
mv pyreport{.py,} && chmod 755 pyreport