-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommands.txt
46 lines (33 loc) · 1.02 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Install Python and pip
sudo apt-get update
sudo apt-get install python3-distutils
sudo apt-get install python3-apt
sudo apt-get install wget
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
```
if you get an error like × This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
Then use:
sudo apt install python3-pip
```
# Install Mage
sudo pip3 install mage-ai
```
if you get an error like × This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
Then use a a Virtual Environment: (similar for others also)
1. sudo apt install python3-venv
2. python3 -m venv myenv
3. source myenv/bin/activate
4. pip install mage-ai
```
# Install Pandas
sudo pip3 install pandas
# Install Google Cloud Library
sudo pip3 install google-cloud
sudo pip3 install google-cloud-bigquery