nfldb icon indicating copy to clipboard operation
nfldb copied to clipboard

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

Open data-scoop opened this issue 10 years ago • 6 comments

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!!!

data-scoop avatar Aug 31 '14 19:08 data-scoop

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.

BurntSushi avatar Aug 31 '14 19:08 BurntSushi

Fan_TASK_tic! (sic)

Thank you, thank you, thnx!!!

data-scoop avatar Aug 31 '14 19:08 data-scoop

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

ochawkeye avatar Aug 31 '14 20:08 ochawkeye

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!

Twill20 avatar Jul 14 '15 01:07 Twill20

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

BurntSushi avatar Jul 14 '15 18:07 BurntSushi

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?

Twill20 avatar Jul 18 '15 14:07 Twill20