Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't find the pyreport executable #6

Open
yasirs opened this issue Apr 18, 2013 · 2 comments
Open

I can't find the pyreport executable #6

yasirs opened this issue Apr 18, 2013 · 2 comments

Comments

@yasirs
Copy link

yasirs commented Apr 18, 2013

I am on OSX, and installed pyreport 3 ways. I can see the module installed, but I can't find the pyreport executable script.

  1. From github:

    $ git clone git://github.com/joblib/pyreport.git
    $ cd pyreport
    $ sudo python install pyreport
    

    My python is in /opt/local/bin, but there is no pyreport in /opt/local/bin or /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/

  2. Using MacPorts' easy_install
    $ sudo /opt/local/bin/easy_install-2.7 pyreport
    The pyreport script is nowhere to be found.

  3. 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?

@yasirs
Copy link
Author

yasirs commented Apr 19, 2013

The executable script is just pyreport/pyreport.py

@svenk
Copy link

svenk commented May 2, 2014

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants