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

pgcsv is not recognized as an internal or external command #4

Open
Ak784 opened this issue Dec 9, 2020 · 0 comments
Open

pgcsv is not recognized as an internal or external command #4

Ak784 opened this issue Dec 9, 2020 · 0 comments

Comments

@Ak784
Copy link

Ak784 commented Dec 9, 2020

Hello,

am new to pgcsv and command line thingy.

I have a csv and would like to generate a table in my postgres db using this csv.

So, I did pip install pgcsv in my anaconda prompt (which was successful)

Later, naviagated to Jupyter notebook and typed the below command


localhost = 'xxx.x.xxx.xx'
database = 'testdv'
!pgcsv --db postgresql://localhost/database new_table Test_data.csv`

But I got the below warning but jupter cell execution is complete

'pgcsv' is not recognized as an internal or external command,
operable program or batch file.
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

1 participant