NP-Omix / BioCompass

Other
5 stars 3 forks source link

Testing BioCompass in AWS EC2 instance type ami-05384865 (ubuntu-wily-15.10-amd64-server) #38

Open tiagolbiotech opened 7 years ago

tiagolbiotech commented 7 years ago

The instance was open and no installation (conda, python or anything) was taken. I proceeded straight to cloning BioCompass and installing it.

While running setup.py, the script presented the following error:

Running biopython-1.67/setup.py -q bdist_egg --dist-dir /tmp/easy_install-8Pp8LL/biopython-1.67/egg-dist-tmp-o31lE1
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.py{}' found anywhere in distribution
warning: no previously-included files matching '*.py-e' found anywhere in distribution
unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
tiagolbiotech commented 7 years ago

Following commands solved the issue

git clone git://github.com/NP-Omix/BioCompass
sudo apt-get install gcc
curl https://bootstrap.pypa.io/get-pip.py | sudo python #acquires most updated version of pip
sudo apt-get install python-dev #to install missing python headers
sudo pip install BioCompass
castelao commented 7 years ago

Might be a good idea to keep consistent with packages installed with apt-get and instead of

curl https://bootstrap.pypa.io/get-pip.py | sudo python #acquires most updated version of pip
sudo apt-get install python-dev #to install missing python headers

maybe use sudo apt-get install python-dev python-pip