Skip to content

Commit b7d1036

Browse files
committed
Merge branch 'master' of https://github.com/danheeks/PyCAD
# Conflicts: # UbuntuBuild.txt
2 parents 019e25d + 1f5e572 commit b7d1036

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

UbuntuBuild.txt

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# PyCAD install for Ubuntu 20.04
22

3+
#install wxPython with this line
4+
pip3 install -U wxPython
5+
6+
or the long way
37
# install wxPython, first 2 lines to fix problem where gtk3 was not found
48
# download https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-20.04/wxPython-4.1.1-cp38-cp38-linux_x86_64.whl from
5-
6-
# get wxPython for python3
79
sudo apt install libgtk-3-dev
810
sudo apt-get install python3-pip
911
cd Downloads
1012
pip3 install wxPython-4.1.1-cp38-cp38-linux_x86_64.whl
1113
sudo apt-get install libsdl2-2.0-0
1214

15+
1316
### Get essentials ###
1417
```
1518
sudo apt-get install git build-essential debhelper cmake python3-dev freeglut3-dev
@@ -21,6 +24,7 @@ download the latest boost\
2124
which ends with bz2, then on RPI type wget followed by the path)\
2225
unzip with tar xf followed by filename\
2326
cd into boost folder
27+
( where I've put 3.8, put 3.6 or whatever your python3 version is )
2428
```
2529
./bootstrap.sh --with-python-version=3.8
2630
sudo nano project-config.jam
@@ -116,4 +120,4 @@ cp Step/build/step.so ./
116120
### try the test.py ###
117121
```
118122
python3 test.py
119-
```
123+
```

0 commit comments

Comments
 (0)