Python Forum

Full Version: Install pdftables-api
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi

I am a new users of python and I am trying to install the packages from the pdftables-api but it doesn't work.

It mentioned in the website to use this command :

pip install git+https://github.com/pdftables/python-pdftables-api.git
But i have this error : SyntaxError: invalid syntax

Can someone explain me how it works ?

Thank you.
Can you show the entire error message?

What is the output of pip -V
Normally, you would just use: pdf install pdftables
But relative to usable package age, this package is ancient (2014)
and will not install in python 3
The Pypi "pdftables" is a different (and as you mentioned, old) project. pdftables-api is separate and has updates this year. Pip should be able to install packages that are not uploaded to Pypi.
Quote:bowlofred
pdftables-api is separate and has updates this year.

I don't see pdftables-api in pypi is that the name?
It's not in Pypi that I'm aware of. That's why he's attempting to use the (valid) alternate installation directly from a git repo.

https://github.com/pdftables/python-pdftables-api

Pip documentation: https://pip.pypa.io/en/stable/reference/...stall/#git
(Oct-27-2020, 10:51 PM)bowlofred Wrote: [ -> ]It's not in Pypi that I'm aware of. That's why he's attempting to use the (valid) alternate installation directly from a git repo.

https://github.com/pdftables/python-pdftables-api

Pip documentation: https://pip.pypa.io/en/stable/reference/...stall/#git

You're right, That is I'm trying to do, to install from git repository but I don't know how to do this. Usually I go to the preferences of pycharm to install a packages. But it's not available.
Did you see the second message in this thread asking you for more information?
(Oct-28-2020, 05:10 PM)bowlofred Wrote: [ -> ]Did you see the second message in this thread asking you for more information?

Here, the entire error message :

  File "C:/Users/Magic/PycharmProjects/pythonProject1/main.py", line 2
    pip install -e git+https://github.com/pdftables/python-pdftables-api.git
        ^
SyntaxError: invalid syntax

Process finished with exit code 1
pip install isn't a python command to be run in a python program. It's a program to be run from your command line (just like python itself is).

Run it from your C:\ prompt.
Pages: 1 2