fabanc / pyvoronoi

Python wrapper for Boost voronoi diagram implementation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble installing pyvoronoi with pip

connorferster opened this issue · comments

I installed pyvoronoi on my home machine earlier this week without incident (Ubuntu 18.04.1 LTS) via pip with Anaconda3-5.2.0. However, I just now attempted installing it with pip on my linode (also Ubuntu 18.04.1 LTS with the same Anaconda3-5.2.0) and received the following error messages:

screenshot from 2019-01-07 11-11-54
screenshot from 2019-01-07 11-12-22

Additionally, I tried to clone from git and received the following errors:
screenshot from 2019-01-07 11-12-50

Any thoughts on why this happened and how to fix? I plan on incorporating pyvoronoi into a release of my own because of Boost's ability to build diagrams around line segments.

Solution

This seems to be a problem setting up new servers (linode, digital ocean, etc.). The solution is posted at
https://stackoverflow.com/questions/11912878/gcc-error-gcc-error-trying-to-exec-cc1-execvp-no-such-file-or-directory

Running the following will fix gcc and allow pyvoronoi to compile during install:
sudo apt-get update
sudo apt-get install --reinstall build-essential