Skip to content

Commit 0cc0f3d

Browse files
authored
First Translation
Someone needs to review the file.
1 parent 51d2dd0 commit 0cc0f3d

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
1-
> For readers at home: this chapter is covered in the [Installing Python & Code Editor](https://www.youtube.com/watch?v=pVTaqzKZCdA) video.
1+
> Leitores em casa: esse capítulo está disponível em vídeo (em inglês) [Installing Python & Code Editor](https://www.youtube.com/watch?v=pVTaqzKZCdA).
22
3-
> This section is based on a tutorial by Geek Girls Carrots (https://github.com/ggcarrots/django-carrots)
3+
> Essa seção é baseada em um tutorial feito por Geek Girls Carrots (https://github.com/ggcarrots/django-carrots)
44
5-
Django is written in Python. We need Python to do anything in Django. Let's start by installing it! We want you to install Python 3.5, so if you have any earlier version, you will need to upgrade it.
5+
O Django é escrito em Python. Nós precisamos de Python para fazer qualquer coisa com Django. Vamos começar instalando ele! Nós queremos que você instale o Python 3.5, então se você tiver alguma versão anterior, você precisará fazer uma atualização.
66

77

88
<!--sec data-title="Windows" data-id="python_windows" data-collapse=true ces-->
99

10-
First check whether your computer is running a 32-bit version or a 64-bit version of Windows at https://support.microsoft.com/en-au/kb/827218. You can download Python for Windows from the website https://www.python.org/downloads/windows/. Click on the "Latest Python 3 Release - Python x.x.x" link. If your computer is running a **64-bit** version of Windows, download the **Windows x86-64 executable installer**. Otherwise, download the **Windows x86 executable installer**. After downloading the installer, you should run it (double-click on it) and follow the instructions there.
10+
Primeiro confirme se o seu computador está rodando uma versão 32-bit ou uma versão 64-bit do Windows em https://support.microsoft.com/en-au/kb/827218. Você pode baixar o Python para Windows a partir do site web https://www.python.org/downloads/windows/. Clique no link "Latest Python 3 Release - Python x.x.x". Se o seu computador está rodando uma versão **64-bit** do Windows, baixe o **Windows x86-64 executable installer**. Senão, baixe o **Windows x86 executable installer**. Após baixar o instalador, você deve executá-lo (duplo clique nele) e seguir as instruções apresentadas.
1111

12-
One thing to watch out for: During the installation you will notice a window marked "Setup". Make sure you tick the "Add Python 3.5 to PATH" checkbox and click on "Install Now", as shown here:
12+
Uma coisa com que ter atenção: Durante a instalação você irá notar uma janela com a marcação "Setup". Certifique-se de selecionar "Add Python 3.5 to PATH" na caixa de seleção e clicar em "Install Now", como mostrado aqui:
1313

14-
![Don't forget to add Python to the Path](../python_installation/images/python-installation-options.png)
14+
![Não se esqueça de adicionar Python a localização (Path)](../python_installation/images/python-installation-options.png)
1515

16-
In upcoming steps, you'll be using the Windows Command Line (which we'll also tell you about). For now, if you need to type in some commands, go to Start menu → All Programs → AccessoriesCommand Prompt. You can also hold in the Windows key and press the "R"-key until the "Run" window pops up. To open the Command Line, type "cmd" and press enter in the "Run" window. (On newer versions of Windows, you might have to search for "Command Prompt" since it's sometimes hidden.)
16+
Nos passos a seguir, você usará a Linha de Comando do Windows (a qual nós iremos falar sobre com você). Por enquanto, se você precisar digitar alguns comandos, vá para o menu Iniciar → Todos os Programas → Acessórios → Prompt de Comando. Você pode também manter pressionada a tecla Windows e pressionar a tecla "R" até a janela "Executar" ("Run") aparecer. Para abrir a Linha de Comando, digite "cmd" e pressione o enter na janela "Executar" ("Run"). (Nas versões mais novas do Windows, você pode precisar pesquisar por "Prompt de Comando" ("Command Prompt"), já que ele, às vezes está escondido.)
1717

18-
![Type "cmd" in the "Run" window](../python_installation/images/windows-plus-r.png)
18+
![Digite "cmd" na janela "Executar" ("Run")](../python_installation/images/windows-plus-r.png)
1919

20-
Note: if you are using an older version of Windows (7, Vista, or any older version) and the Python 3.5.x installer fails with an error, you can try either:
21-
1. install all Windows Updates and try to install Python 3.5 again; or
22-
2. install an [older version of Python](https://www.python.org/downloads/windows/), e.g., [3.4.4](https://www.python.org/downloads/release/python-344/).
20+
Nota: se você estiver usando uma versão antiga do Windows (7, Vista, ou qualquer uma anterior a essas) e o instalador do Python 3.5.x falhar com um erro, você pode tentar:
21+
1. instalar todas as Atualizações do Windows e tentar instalar Python 3.5 novamente; ou
22+
2. instalar uma [versão antiga do Python](https://www.python.org/downloads/windows/), por exemplo, [3.4.4](https://www.python.org/downloads/release/python-344/).
2323

24-
If you install an older version of Python, the installation screen may look a bit different than shown above. Make sure you scroll down to see "Add python.exe to Path", then click the button on the left and pick "Will be installed on local hard drive":
24+
Se você instalar um versão antiga do Python, a tela de instalação pode parecer um pouco diferente da mostrada abaixo. Certifique-se de rolar a página para baixo para ver "Add python.exe to Path", e então clique no botão a esquerda e escolha "Will be installed on local hard drive":
2525

26-
![Add Python to the Path, older versions](../python_installation/images/add_python_to_windows_path.png)
26+
![Adicionar o Python a localização (Path), versões antigas](../python_installation/images/add_python_to_windows_path.png)
2727

2828
<!--endsec-->
2929

3030
<!--sec data-title="OS X" data-id="python_OSX"
3131
data-collapse=true ces-->
3232

33-
> **Note** Before you install Python on OS X, you should ensure your Mac settings allow installing packages that aren't from the App Store. Go to System Preferences (it's in the Applications folder), click "Security & Privacy," and then the "General" tab. If your "Allow apps downloaded from:" is set to "Mac App Store," change it to "Mac App Store and identified developers."
33+
> **Nota** Antes de você instalar o Python no OS X, você deve ter certeza as configurações de seu Mac permitem a instalação de pacotes que não são de uma App Store. Vá até Preferências do Sistema (está na pasta Aplicações), clique em "Segurança & Privacidade," e então na aba "General". Se estiver configurado "Mac App Store" em "Allow apps downloaded from:", altere para "Mac App Store and identified developers."
3434
35-
You need to go to the website https://www.python.org/downloads/release/python-351/ and download the Python installer:
35+
Você precisa ir no site web https://www.python.org/downloads/release/python-351/ e baixar o instalador Python:
3636

37-
* Download the *Mac OS X 64-bit/32-bit installer* file,
38-
* Double click *python-3.5.1-macosx10.6.pkg* to run the installer.
37+
* Baixe o arquivo *Mac OS X 64-bit/32-bit installer*,
38+
* Duplo clique em *python-3.5.1-macosx10.6.pkg* para rodar o instalador.
3939

4040
<!--endsec-->
4141

4242
<!--sec data-title="Linux" data-id="python_linux"
4343
data-collapse=true ces-->
4444

45-
It is very likely that you already have Python installed out of the box. To check if you have it installed (and which version it is), open a console and type the following command:
45+
É bem provável que você já tenha o Python instalado. Para checar se você tem ele instalado (e qual versão é), abra o console e digite o seguinte comando:
4646

4747
{% filename %}command-line{% endfilename %}
4848
```
4949
$ python3 --version
5050
Python 3.5.1
5151
```
5252

53-
If you have a different 'micro version' of Python installed, e.g. 3.5.0, then you don't have to upgrade. If you don't have Python installed, or if you want a different version, you can install it as follows:
53+
Se você tem uma 'micro versão' do Python diferente instalada, por exemplo 3.5.0, então você não precisa fazer uma atualização. Se você não tem o Python instalado, ou se você quer uma versão diferente, você pode instalá-la como a seguir:
5454

5555

5656
<!--endsec-->
@@ -71,7 +71,7 @@ $ sudo apt-get install python3.5
7171
data-collapse=true ces-->
7272

7373

74-
Use this command in your console:
74+
Use esse comando em seu console:
7575

7676
{% filename %}command-line{% endfilename %}
7777
```
@@ -83,7 +83,7 @@ $ sudo yum install python3
8383
<!--sec data-title="Fedora (22+)" data-id="python_fedora22"
8484
data-collapse=true ces-->
8585

86-
Use this command in your console:
86+
Use esse comando em seu console:
8787

8888
{% filename %}command-line{% endfilename %}
8989
```
@@ -95,7 +95,7 @@ $ sudo dnf install python3
9595
<!--sec data-title="openSUSE" data-id="python_openSUSE"
9696
data-collapse=true ces-->
9797

98-
Use this command in your console:
98+
Use esse comando em seu console:
9999

100100
{% filename %}command-line{% endfilename %}
101101
```
@@ -104,16 +104,16 @@ $ sudo zypper install python3
104104

105105
<!--endsec-->
106106

107-
Verify the installation was successful by opening the *Terminal* application and running the `python3` command:
107+
Verifique se a instalação foi feita com sucesso abrindo a aplicação *Terminal* e executando o comando `python3`:
108108

109109
{% filename %}command-line{% endfilename %}
110110
```
111111
$ python3 --version
112112
Python 3.5.1
113113
```
114114

115-
**NOTE:** If you're on Windows and you get an error message that `python3` wasn't found, try using `python` (without the `3`) and check if it still might be a version of Python 3.5.
115+
**NOTA:** Se você estiver no Windows e retornar uma mensagem de erro dizendo que o `python3` não foi encontrado, tente usando `python` (sem o `3`) e cheque se ainda pode ser a versão 3.5 do Python.
116116

117117
----
118118

119-
If you have any doubts, or if something went wrong and you have no idea what to do next, please ask your coach! Sometimes things don't go smoothly and it's better to ask for help from someone with more experience.
119+
Se você tiver qualquer dúvida, ou se alguma coisa sair errado e você não tem ideia do que fazer, por favor pergunte ao seu treinador! Algumas vezes as coisas não correm de maneira fluida e é melhor pedir ajuda a alguém com mais experiência.

0 commit comments

Comments
 (0)