The tar command on Linux is often used to create.tar.gz or.tgz archive files, also called “tarballs.” This command has a large number of options, but you just need to remember a few letters to quickly create archives with tar. The tar command can extract the resulting archives, too.
Long story short my work computer has network constraints which means trying to use
pip install
in cmd just leads to timing out/not finding package errors.For example; when I try to
pip install seaborn
:Instead I have tried to download the tar.gz file of the packages I want, however, I do not know how to install them. I've extracted the files from the tar.gz file and there is a 'setup' file within but it's not doing much for me.
If someone could explain how to install python packages in this manner without using
yenoolnairbyenoolnairbpip install
on windows that would be amazing.33511 gold badge44 silver badges1010 bronze badges
8 Answers
You may use
pip
for that without using the network. See in the docs (search for 'Install a particular source archive file'). Any of those should work:Or you may uncompress the archive and use
setup.py
directly with either pip
or python
:Of course, you should also download required packages and install them the same way before you proceed.
JérômeJérôme5,25711 gold badge2323 silver badges5757 bronze badges
You can install a tarball without extracting it first. Just navigate to the directory containing your
.tar.gz
file from your command prompt and enter this command:I am running python 3.4.3 and this works for me. I can't tell if this would work on other versions of python though.
SнаđошƒаӽSнаđошƒаӽ7,9071010 gold badges4646 silver badges7171 bronze badges
Install it by running
Better yet, you can download from github. Install git via
Tales PáduaTales Páduaapt-get install git
and then follow this steps:77011 gold badge88 silver badges3030 bronze badges
Thanks to the answers below combined I've got it working.
- First needed to unpack the tar.gz file into a folder.
- Then before running
python setup.py install
had to point cmd towards the correct folder. I did this bypushd C:Usersabsolutefilepathtotarunpackedfolder
- Then run
python setup.py install
Thanks Tales Padua & Hugo Honorem
yenoolnairbyenoolnairb33511 gold badge44 silver badges1010 bronze badges
If you don't wanted to use PIP install atall, then you could do the following:
1) Download the package2) Use 7 zip for unzipping tar files. ( Use 7 zip again until you see a folder by the name of the package you are looking for. Ex: wordcloud)
3) Locate Python library folder where python is installed and paste the 'WordCloud' folder itself there
4) Success !! Now you can import the library and start using the package.
SVKSVK
mx02,90399 gold badges2727 silver badges3434 bronze badges
Shersha FnShersha Fn60711 gold badge1212 silver badges2828 bronze badges
Is it possible for you to use
DeusdeorumDeusdeorumsudo apt-get install python-seaborn
instead? Basically tar.gz is just a zip file containing a setup, so what you want to do is to unzip it, cd to the place where it is downloaded and use gunzip -c seaborn-0.7.0.tar.gz | tar xf -
for linux. Change dictionary into the new seaborn unzipped file and execute python setup.py install
80711 gold badge99 silver badges1818 bronze badges
You can install them from the oficial cite.For example pygame fromwww.pygame.org/download.shtml
Kostya 2007Kostya 2007
Not the answer you're looking for? Browse other questions tagged pythoninstallpackages or ask your own question.
Tar | |
---|---|
Thick black substance used for sealing wood | |
Type | Ingredient |
Ingredient | Yes |
Max Stack | 100 |
Weight | 0.10 |
ID | 14172 |
Description[edit | edit source]
Prized by alchemists and sailors alike, tar is a black oily substance derived from the dry heating of bark. It is a by-product of using bark in the tanning process.From the Vilayet to the Western Ocean, shipwrights know the value of tar as a water repellent. The legendary purple-sailed fleet of Turan owes the color to the unusual mix of tar and local chemicals used to soak the sailcloth.In the gladiatorial arenas of Argos, tar is used to seal cuts and abrasions and ward off minor infections.
Notes[edit | edit source]
Farming tar is most efficiently done via the Tannery, but different raw materials should be handled differently:
- hide-yielding materials (feline pelt, hyena pelt, reptile hide, wolf pelt, and bat skin) should be added directly to the tannery.
- thick-hide-yielding materials (rhino hide, elephant hide, bear pelt) should first be stripped into thick hides at the Armorer's Bench, and then added to the tannery.
(Since it takes three hide to produce a single tar, stripping hide-yielding materials first would give you less overall material efficiency, at least for farming tar.)
Source[edit | edit source]
Firebowl Cauldron | |||
---|---|---|---|
Ingredients | Outcome | Craft time | Experience gained |
20 Oil 5 Raw Ash | 2 Tar2 | 30 s | 1 |
10 Resin 10 Raw Ash | 2 Tar1 | 10 s | 1 |
Fluid Press | |||
Ingredients | Outcome | Craft time | Experience gained |
25 Coal | 1 Tar | 30 s | 1 |
Tannery | |||
Ingredients | Outcome | Craft time | Experience gained |
1 Antelope Head | 2 Leather 1 Tar | 10 s | 1 |
1 Bat Demon Head | 2 Leather 1 Tar | 10 s | 1 |
1 Bat Skin | 1 Leather 1 Tar | 10 s | 1 |
1 Black Bear Head | 2 Leather 1 Tar | 10 s | 1 |
1 Brown Bear Head | 2 Leather 1 Tar | 10 s | 1 |
1 Crocodile Head | 2 Leather 1 Tar | 10 s | 1 |
1 Deer Head | 2 Leather 1 Tar | 10 s | 1 |
1 Dire Wolf Head | 2 Leather 1 Tar | 10 s | 1 |
1 Elk Head | 2 Leather 1 Tar | 10 s | 1 |
1 Feline Pelt | 1 Leather 1 Tar | 10 s | 1 |
3 Fur | 1 Leather 1 Tar | 10 s | 1 |
1 Gazelle Head | 2 Leather 1 Tar | 10 s | 1 |
1 Gray Ape Head | 2 Leather 1 Tar | 10 s | 1 |
3 Hide | 1 Leather 1 Tar | 10 s | 1 |
1 Hyena Head | 2 Leather 1 Tar | 10 s | 1 |
1 Hyena Pelt | 1 Leather 1 Tar | 10 s | 1 |
1 Jaguar Head | 2 Leather 1 Tar | 10 s | 1 |
1 Kudo Head | 2 Leather 1 Tar | 10 s | 1 |
1 Mountain Goat Head | 2 Leather 1 Tar | 10 s | 1 |
1 Panther Head | 2 Leather 1 Tar | 10 s | 1 |
1 Reptile Hide | 2 Leather 1 Tar | 10 s | 1 |
1 Sabretooth Head | 2 Leather 1 Tar | 10 s | 1 |
1 Salamander Head | 2 Leather 1 Tar | 10 s | 1 |
1 Shaleback Head | 2 Leather 1 Tar | 10 s | 1 |
1 Shaleback King Head | 2 Leather 1 Tar | 10 s | 1 |
1 Shoebill Head (Variant A) | 2 Leather 1 Tar | 10 s | 1 |
1 Shoebill Head (Variant B) | 2 Leather 1 Tar | 10 s | 1 |
1 Shoebill Head (Variant C) | 2 Leather 1 Tar | 10 s | 1 |
1 Tiger Head | 2 Leather 1 Tar | 10 s | 1 |
1 Wild Boar Head | 2 Leather 1 Tar | 10 s | 1 |
1 Wolf Head | 2 Leather 1 Tar | 10 s | 1 |
1 Wolf Pelt | 1 Leather 1 Tar | 10 s | 1 |
1 Bear Pelt | 1 Thick Leather 1 Tar | 20 s | 1 |
1 Black Rhino Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 Elephant Hide | 1 Thick Leather 1 Tar | 20 s | 1 |
1 Elk King Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 Green Dragon Head | 5 Thick Leather 1 Tar | 20 s | 1 |
1 Grey Rhino Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 Mammoth Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 Red Dragon Head | 5 Thick Leather 1 Tar | 20 s | 1 |
1 Rhino Hide | 1 Thick Leather 1 Tar | 20 s | 1 |
1 Rhino King Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 Thick Hide | 1 Thick Leather 1 Tar | 20 s | 1 |
1 White Rhino Head | 2 Thick Leather 1 Tar | 20 s | 1 |
1 craftable with a T4 (purge) Alchemist thrall in the crafting station
2 craftable with a T4 (purge) Alchemist thrall in the crafting station
Uses[edit | edit source]
Artisan's Worktable | |||
---|---|---|---|
Ingredients | Outcome | Craft time | Experience gained |
200 Stone 50 Stone Consolidant 25 Tar | 1 Pool of Refreshment | 10 s | 2900 |
60 Brick 60 Shaped Wood 300 Tar 42 Iron Reinforcement | 1 Water Well | 10 s | 12384 |
Carpenter's Bench | |||
Ingredients | Outcome | Craft time | Experience gained |
1 Ironhead Arrows 5 Tar 1 Dragonpowder 4 Feather | 10 Explosive Arrow | 10 s | 45172 |
1 Ironhead Arrows 10 Tar 2 Glowing Essence 4 Feather | 5 Oil Arrow | 10 s | 504 |
Firebowl Cauldron | |||
Ingredients | Outcome | Craft time | Experience gained |
1 Water-filled Glass Flask 3 Tar | 1 Dark Dye Colorant | 5 s | 16 |
1 Water Orb 5 Tar | 1 Grease Orb | 1 min | 52 |
2 Tar 1 Brimstone | 1 Steelfire | 20 s | 12 |
1 Water-filled Glass Flask 1 Resin 1 Tar | 1 Tan Dye | 5 s | 16 |
1 Papyrus Scroll 1 Inking Brush 1 Tar | 1 Warpaint - Snake | 10 s | 144 |
Hand crafted | |||
Ingredients | Outcome | Craft time | Experience gained |
1 Earthenware Jug 5 Tar 1 Dragonpowder | 1 Explosive Jar | 10 s | 45292 |
Retrieved from 'https://conanexiles.gamepedia.com/index.php?title=Tar&oldid=107801'