Hello Benjamin,
Can you pass the full error message please ? Or would the error
message be something like :
>>> pip install bagit
File "<stdin>", line 1
pip install bagit
^
SyntaxError: invalid syntax
If so that's because `pip` is not a command that you should run from
inside the Python shell but from within the Windows command prompt,
before entering a Python REPL. You can see that I'm in the Python repl
because it start with a >>>. The windows repl start (if I remember
correctly) by C:\Path\To\Somewhere> . We'll not go into detail as of
why this is the case that you have to use pip from outside the Python
shell. Hope that make some sens.
I'm unfortunately not familiar enough with windows to tell you how to
access the windows command prompt.
Thanks,
--
M
On Sun, Oct 30, 2016 at 9:01 AM, Benjamin Houtman
<[email protected]> wrote:
> Hello,
> I'm trying to install bagit-python from the LoC Github
> https://github.com/LibraryOfCongress/bagit-python
> I have Windows 10 and I downloaded Python 2.7.12 and the most recent
> iteration of bag-it. According to the README file I should be able to type
> in "pip install bagit" to install bagit globally, but instead I get
> "SyntaxEror: invalid syntax." It's my understanding that pip is
> automatically part of 2.7.12.
> There are no instructions as to what to do if this happens. I should be able
> to get to something called bagit.py, but it's unclear what that means as I
> can't get any further. If you could let me know what I can do it would be
> much appreciated. I'm pretty new to this.
> Best,
> Ben
>
> _______________________________________________
> Distutils-SIG maillist - [email protected]
> https://mail.python.org/mailman/listinfo/distutils-sig
>
_______________________________________________
Distutils-SIG maillist - [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig