|
[Sponsors] |
October 7, 2014, 06:33 |
install: "PYTHONPATH is not set"?
|
#1 |
Member
sajad
Join Date: Apr 2014
Location: Iran
Posts: 46
Rep Power: 12 |
hi
when I write pyFoamVersion.py is terminal : Code:
sajad@sajad-pc:~/PyFoam$ pyFoamVersion.py Machine info: Linux | sajad-pc | 2.6.32-66-generic-pae | #132-Ubuntu SMP Mon Sep 1 18:51:21 UTC 2014 | i686 | Python version: 2.6.5 (r265:79063, Feb 27 2014, 19:44:14) [GCC 4.4.3] Python executable: /usr/bin/python PYTHONPATH is not set Location of this utility: /usr/local/bin/pyFoamVersion.py PyFoam WARNING on line 175 of file /usr/local/lib/python2.6/dist-packages/PyFoam/FoamInformation.py : Basedir /home/sajad/foam for fork extend does not exist or is not a directory Version (2, 0, 1) Fork openfoam of the installed 2 versions: openfoam-201 : /opt/openfoam201 openfoam-210 : /opt/openfoam210 pyFoam-Version: 0.6.3 Path where PyFoam was found (PyFoam.__path__) is ['/usr/local/lib/python2.6/dist-packages/PyFoam'] Configuration search path: [('file', '/etc/pyFoam/pyfoamrc'), ('directory', '/etc/pyFoam/pyfoamrc.d'), ('file', '/home/sajad/.pyFoam/pyfoamrc'), ('directory', '/home/sajad/.pyFoam/pyfoamrc.d')] Configuration files (used): [] Installed libraries: cython : No Not used. Maybe will by used later to spped up parts of PyFoam cProfile : Yes docutils : No Not necessary. Needed for RestructuredText to HTML conversion Gnuplot : No Not a problem. Version from ThirdParty is used hotshot : Yes ipdb : No Not necessary. Only makes debugging more comfortable IPython : No Not necessary. But the interactive shell may be more comfortable matplotlib : No Only Gnuplot-plotting possible mercurial : No Not a problem. Used for experimental case handling nose : No Only needed for running the unit-tests (developers only) Numeric : No Not supported anymore. No need to install it numpy : Yes version: 1.3.0 openpyxl : No Not a problem. Only used for exporting pandas-data to Excel-files (advanced) pandas : No Not a problem. Only used for handling of advanced data-handling ply : No Not a problem. Version from ThirdParty is used profile : No Not a problem. Can't profile using this library psyco : Yes version: 17170672 PyQt4 : No Only some experimental GUI-stuff relies on this PyQt4.Qwt5 : No Only an alternate plotting back-end scipy : No Not yet used. Possibly use signal-fitting etc Tkinter : No Not a problem. Used for the old version of DisplayBlockmesh and some matplotlib-implementations twisted : Yes version: 10.0.0 vtk : No Not a problem. Only used for some utilities xlwt : No Not a problem. Only used for exporting pandas-data to Excel-files Library locations cProfile : /usr/lib/python2.6/cProfile.pyc hotshot : /usr/lib/python2.6/hotshot/__init__.pyc numpy : /usr/lib/python2.6/dist-packages/numpy/__init__.pyc psyco : /usr/lib/python2.6/dist-packages/psyco/__init__.pyc twisted : /usr/lib/python2.6/dist-packages/twisted/__init__.pyc sajad@sajad-pc:~/PyFoam$ ^C my question is this an error?is this a problem?if yes how can I set PYTHONPATH? Last edited by wyldckat; October 11, 2014 at 16:34. Reason: Added [CODE][/CODE] |
|
October 11, 2014, 16:36 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings sajad6,
From what I can see, that's only a warning, not an error message. Because even without that environment variable being defined, PyFoam is installed in the main Python library folder, therefore there was no problem. Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Install openFOAM from with proxy server | Dhruval | OpenFOAM Installation | 3 | October 18, 2014 15:38 |
[General] 2 datas on one plot | Akuji | ParaView | 46 | December 1, 2013 14:06 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 14:43 |
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise | mbeaudoin | OpenFOAM Installation | 20 | June 17, 2008 06:43 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 04:27 |