CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [PyFoam] installation problem (https://www.cfd-online.com/Forums/openfoam-community-contributions/161648-installation-problem.html)

rnburne October 25, 2015 15:40

installation problem
 
I'm trying to install ver 0.6.5 in Ubuntu 14.04 and get the following:

r@sys:~/PyFoam-0.6.5$ sudo python setup.py install
[sudo] password for r:
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup
ImportError: No module named setuptools
r@sys:~/PyFoam-0.6.5$

14.04 comes with python 2.7 and 3.4 and apt-get claims I have
the latest dev package.........files such as "python2.7-dev" and
"python-dev-2.7.5-5ubuntu3" are present. What am I still missing?

Ron

wyldckat October 25, 2015 15:54

Quick answer: The package "python-setuptools" is needed as well :(
Code:

sudo apt-get install python-setuptools
I've updated the instructions: https://openfoamwiki.net/index.php/C...lation_as_root

rnburne October 26, 2015 19:01

Thanks, Bruno..... now installed. http://www.cfd-online.com/Forums/images/icons/icon7.gif


All times are GMT -4. The time now is 20:50.