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

Trouble downloading the github package #155

Open
SebastianHeyneman opened this issue Feb 6, 2019 · 1 comment
Open

Trouble downloading the github package #155

SebastianHeyneman opened this issue Feb 6, 2019 · 1 comment

Comments

@SebastianHeyneman
Copy link

Hi. I tried to install the package with python 2.7 and python 3.6. I received this error message

pip install git+git://github.com/govtrack/govtrack.us-web.git
Collecting git+git://github.com/govtrack/govtrack.us-web.git
  Cloning git://github.com/govtrack/govtrack.us-web.git to /private/var/folders/ng/kd7qw6vj0c14gws66zf34vbr0000gn/T/pip-req-build-vh1mud2m
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/tokenize.py", line 447, in open
        buffer = _builtin_open(filename, 'rb')
    FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/ng/kd7qw6vj0c14gws66zf34vbr0000gn/T/pip-req-build-vh1mud2m/setup.py'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/ng/kd7qw6vj0c14gws66zf34vbr0000gn/T/pip-req-build-vh1mud2m/

I installed gitpython before running this command. I'm trying to recreate the sponsorship_analysis.py for the 115th congress.

@JoshData
Copy link
Member

JoshData commented Feb 9, 2019

Hi,

GovTrack isn't installable using pip. There are step-by-step instructions in the project's README.

But there are a lot of moving pieces in GovTrack and to recreate just the analysis, you are probably better off fetching the source bill data directly (https://github.com/unitedstates/congress) and re-implementing the analysis from scratch using our source code as an example.

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