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

Can't locate "config.ini" in order to Copy it #52

Open
data-scoop opened this issue Aug 31, 2014 · 6 comments
Open

Can't locate "config.ini" in order to Copy it #52

data-scoop opened this issue Aug 31, 2014 · 6 comments

Comments

@data-scoop
Copy link

I cannot locate the "config.ini" file, which I am to copy in step number 23 of the Detailed Windows PostgreSQL installation. ( https://github.com/BurntSushi/nfldb/wiki/Detailed-Windows-PostgreSQL-installation )

When I look in C:\Python27\share I only see a \doc folder, there is no \nfldb directory. (This \doc folder contains \nflgame)

I'm a new user.
I've already installed Python27, pip, and then nflgame via pip.

I'm under the impression that I have not yet reached the stage where I install nfldb. Am I wrong?

I installed Postgres with no difficulties, and my command window output mimicked your screen-shots perfectly (with obvious exception of path strings).

I'm hoping (aka assuming) the nflgame install didn't create an unforeseen issue here, especially since it would appear that \doc would be a sibling of \nfldb, and I am under the impression that nfldb will install nflgame.

I'm perfectly willing to uninstall everything I've mentioned and start anew. What should I do?

Thanks in advance!!!

@BurntSushi
Copy link
Owner

I'm under the impression that I have not yet reached the stage where I install nfldb. Am I wrong?

Yup! :-) The config.ini file is part of nfldb, so it won't show up on your system until you install nfldb.

Once you have PostgreSQL installed and the database imported, I think you should probably follow these directions: https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation

The PostgreSQL instructions seem to skip over the part where you install nfldb and jump right to configuration.

@data-scoop
Copy link
Author

Fan_TASK_tic! (sic)

Thank you, thank you, thnx!!!

@ochawkeye
Copy link
Contributor

In my defense the wiki page referenced is the detailed PostgreSQL install page linked from the full nfldb Windows installation page ;)

@Twill20
Copy link

Twill20 commented Jul 14, 2015

What do I do if I installed the database before I installed Python = no config file. I'm stuck no step #23 in this guide: https://github.com/BurntSushi/nfldb/wiki/Detailed-Windows-PostgreSQL-installation

I used this guide after I got stuck: https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation

And because I did it out of order, I tried doing step #21 to right over the previous install, but it said denied.

I can right SQL, but that's about it. So any help should be written in Explain Like I'm 5 format. Thanks for any help!

@BurntSushi
Copy link
Owner

@Twill20 Could you please copy and paste the exact commands you ran and their output? Thanks.

@Twill20
Copy link

Twill20 commented Jul 18, 2015

Because I followed the PostgreSQL install first, i figured I would uninstall using Windows uninstall first.

Then I ran step #21 and it worked as mentioned above, but it showed lots of errors because the nfldb already exists and was never uninstalled.

image

But, as you can see I still didn't get the share folder in the Python27 folder where the config.ini should be. Do I need to uninstall nfldb? How do I do that?
image

Or should I just do a clean install to another directory?

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

4 participants