Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with installation in Mac #6

Open
coolanks1319 opened this issue Jun 2, 2018 · 1 comment
Open

Problem with installation in Mac #6

coolanks1319 opened this issue Jun 2, 2018 · 1 comment

Comments

@coolanks1319
Copy link

Please see the diagnostics
python diagnostic.py
p4vasp Diagnostics

Python version: 2.7.15 (default, May 1 2018, 16:44:08)
[GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.1)]
Platform: darwin
Issue: ???
Hostname: ???
LINUX: ??? ???

Executable: /usr/local/opt/python@2/bin/python2.7

Module paths: /Users/ankurpc/Downloads/p4vasp-master
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/usr/local/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/gtk-2.0
/usr/local/lib/python2.7/site-packages/gtk-2.0

Enviromental variables:
P4VASP_HOME not set
PYTHONPATH not set
PYTHONHOME not set

Python.h was not found in /usr/include/python/Python.h
FLTK:
fltk-config: /usr/local/bin/fltk-config
version: 1.3.4
api-version: 1.3
libs: /usr/local/Cellar/fltk/1.3.4-2/lib/libfltk_gl.a
/usr/local/Cellar/fltk/1.3.4-2/lib/libfltk.a
c++ flags: -I/usr/local/Cellar/fltk/1.3.4-2/include
-D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE
-D_THREAD_SAFE
-D_REENTRANT

Can not import the p4vasp module.
The p4vasp seems not to be installed.

Can not import _cp4vasp. Have you compiled and installed it ?
(make; make install)

You probably will not be able to compile, since Python.h is missing.
It is expected to be in %s.
Most likely you do not have the python development headders installed.
They are usually located in a package called python-devel (or something like that).
If you have the headders at a non-standart path, you will need to modify
your Makefiles (mainly thesrc/Makefile).

Can not import cp4vasp, however the _cp4vasp can be imported.
I have no clue what is the problem...
Maybe the stack trace will help:

Traceback (most recent call last):
File "diagnostic.py", line 193, in
import cp4vasp
ImportError: No module named cp4vasp

@orest-d
Copy link
Owner

orest-d commented Jul 27, 2018

Did you follow the instructions in README.* ?
I fear that diagnostic.py is only useful in linux, output of the make would be helpful.
I do not have access to Mac, so it is a bit difficult for me to support that platform. I am sorry, but I might not be very helpful...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants