mpope9 / nba-sql

:basketball: An application to build an NBA database backed by MySQL, Postgres, or SQLite
Apache License 2.0
171 stars 20 forks source link

Can't run create_postgres.sh on Mac #83

Closed sscrewston closed 1 year ago

sscrewston commented 1 year ago

I was following the Apache Superset wiki to set up the database with Superset but received this error:

: line 3: python: command not found

mpope9 commented 1 year ago

Were you using a virtual environment and is that environment activated?

sscrewston commented 1 year ago

No, I'm on macos. I'm having difficulty running the create_postgres.sh file.

mpope9 commented 1 year ago

I don't fully understand, but I think this an environment issue. Try creating a new venv before running that script.