Installing the ChartDirector for Python on Ubuntu Linux and Demo to Create 3D Pie Charts
Posted: Tue Nov 23, 2021 10:47 pm
Below are step-by-step instructions for Installing the ChartDirector for Python 3.6.x on Ubuntu Linux. First, download the appropriate version from here (currently this one) and then follow the instructions below:
- $tar -xf chartdir_python_linux_64.tar.gz
- $cd ChartDirector/
- $ipython3 -c "import sys; print(sys.path)"
- // Or
- $ipython3
- >>import sys
- >> print(sys)
- ['/home/elimboto/.local/bin', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '', '/home/elimboto/.local/lib/python3.6/site-packages', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages', '/home/elimboto/.local/lib/python3.6/site-packages/IPython/extensions', '/home/elimboto/.ipython']
- :~/Desktop/ChartDirector$ cd /usr/local/lib/python3.6/dist-packages
- $sudo mkdir chartdirector
- $ cd chartdirector/
- $pwd
- /usr/local/lib/python3.6/dist-packages/chartdirector
- $ cd //Move to the directory where the ChartDirectory is downloaded, in this case Desktop
- $:~/Desktop$ cd ChartDirector/lib/
- $ sudo cp -a ./* /usr/local/lib/python3.6/dist-packages/chartdirector/
- $ cd /usr/local/lib/python3.6/dist-packages/