Python dependencies - how to download/install [duplicate]

Multi tool use
up vote
-2
down vote
favorite
This question already has an answer here:
How do I install Python libraries?
10 answers
I am new to Python and today I received a Python 2 script and would like to run it. Never worked with Python, but the code looks straight forward. The issue is, that right at the beginning there is:
import requests, sys, os, re
import unicodecsv as csv
from lxml import html
from bs4 import UnicodeDammit
from lxml import etree
And I'm not sure how to install these dependencies. I googled around and figured that some 'requirements.txt' file would help, but I have not received it.
So how or whats the best way to install these dependencies please?
python dependencies
marked as duplicate by jpp
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 11 at 17:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
up vote
-2
down vote
favorite
This question already has an answer here:
How do I install Python libraries?
10 answers
I am new to Python and today I received a Python 2 script and would like to run it. Never worked with Python, but the code looks straight forward. The issue is, that right at the beginning there is:
import requests, sys, os, re
import unicodecsv as csv
from lxml import html
from bs4 import UnicodeDammit
from lxml import etree
And I'm not sure how to install these dependencies. I googled around and figured that some 'requirements.txt' file would help, but I have not received it.
So how or whats the best way to install these dependencies please?
python dependencies
marked as duplicate by jpp
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 11 at 17:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
pip install requests
for "requests" library
– raj
Nov 10 at 17:10
pip install beautifulsoup4
for "bs4".pip install lxml
for "lxml".pip install unicodecsv
for "unicodescv"
– raj
Nov 10 at 17:15
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
This question already has an answer here:
How do I install Python libraries?
10 answers
I am new to Python and today I received a Python 2 script and would like to run it. Never worked with Python, but the code looks straight forward. The issue is, that right at the beginning there is:
import requests, sys, os, re
import unicodecsv as csv
from lxml import html
from bs4 import UnicodeDammit
from lxml import etree
And I'm not sure how to install these dependencies. I googled around and figured that some 'requirements.txt' file would help, but I have not received it.
So how or whats the best way to install these dependencies please?
python dependencies
This question already has an answer here:
How do I install Python libraries?
10 answers
I am new to Python and today I received a Python 2 script and would like to run it. Never worked with Python, but the code looks straight forward. The issue is, that right at the beginning there is:
import requests, sys, os, re
import unicodecsv as csv
from lxml import html
from bs4 import UnicodeDammit
from lxml import etree
And I'm not sure how to install these dependencies. I googled around and figured that some 'requirements.txt' file would help, but I have not received it.
So how or whats the best way to install these dependencies please?
This question already has an answer here:
How do I install Python libraries?
10 answers
python dependencies
python dependencies
edited Nov 10 at 19:48


raj
574318
574318
asked Nov 10 at 17:07
Oliver Goossens
98131223
98131223
marked as duplicate by jpp
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 11 at 17:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by jpp
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Nov 11 at 17:33
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
1
pip install requests
for "requests" library
– raj
Nov 10 at 17:10
pip install beautifulsoup4
for "bs4".pip install lxml
for "lxml".pip install unicodecsv
for "unicodescv"
– raj
Nov 10 at 17:15
add a comment |
1
pip install requests
for "requests" library
– raj
Nov 10 at 17:10
pip install beautifulsoup4
for "bs4".pip install lxml
for "lxml".pip install unicodecsv
for "unicodescv"
– raj
Nov 10 at 17:15
1
1
pip install requests
for "requests" library– raj
Nov 10 at 17:10
pip install requests
for "requests" library– raj
Nov 10 at 17:10
pip install beautifulsoup4
for "bs4". pip install lxml
for "lxml". pip install unicodecsv
for "unicodescv"– raj
Nov 10 at 17:15
pip install beautifulsoup4
for "bs4". pip install lxml
for "lxml". pip install unicodecsv
for "unicodescv"– raj
Nov 10 at 17:15
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
Thank you for the comments.
Looks like pip is the package manager so to speak for Python and the packages you stated worked.
pip install requests
pip install beautifulsoup4
pip install lxml
pip install unicodecsv
Thank you again!
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Thank you for the comments.
Looks like pip is the package manager so to speak for Python and the packages you stated worked.
pip install requests
pip install beautifulsoup4
pip install lxml
pip install unicodecsv
Thank you again!
add a comment |
up vote
0
down vote
Thank you for the comments.
Looks like pip is the package manager so to speak for Python and the packages you stated worked.
pip install requests
pip install beautifulsoup4
pip install lxml
pip install unicodecsv
Thank you again!
add a comment |
up vote
0
down vote
up vote
0
down vote
Thank you for the comments.
Looks like pip is the package manager so to speak for Python and the packages you stated worked.
pip install requests
pip install beautifulsoup4
pip install lxml
pip install unicodecsv
Thank you again!
Thank you for the comments.
Looks like pip is the package manager so to speak for Python and the packages you stated worked.
pip install requests
pip install beautifulsoup4
pip install lxml
pip install unicodecsv
Thank you again!
answered Nov 10 at 22:32
Oliver Goossens
98131223
98131223
add a comment |
add a comment |
Eg,8ebFwCFaT70pzfsP UW5alvSLvxNlqp
1
pip install requests
for "requests" library– raj
Nov 10 at 17:10
pip install beautifulsoup4
for "bs4".pip install lxml
for "lxml".pip install unicodecsv
for "unicodescv"– raj
Nov 10 at 17:15