Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install pdftables-api
#1
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.
Reply
#2
Can you show the entire error message?

What is the output of pip -V
Reply
#3
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
Reply
#4
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.
Reply
#5
Quote:bowlofred
pdftables-api is separate and has updates this year.

I don't see pdftables-api in pypi is that the name?
Reply
#6
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
Reply
#7
(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.
Reply
#8
Did you see the second message in this thread asking you for more information?
Reply
#9
(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
Reply
#10
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.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020