Dear Charl,

Thanks for your reply, I completely removed every build files and directories.
and reinstalled the package.

$ ./nest-config --prefix
$ ./nest-config --datadir

After adding the path variable in .bashrc
Still I have these errors from make installcheck,
and I can not import nest.

FAIL: test_nn_pre_centered_synapse (nest.tests.test_stdp_nn_synapses.STDPNNSynapsesTest)
  AssertionError: 0.32057074514327416 != 0.8197400647350731 within 7 places : stdp_nn_pre-centered_synapse test: Resulting synaptic weight 8.197401e-01 differs from expected 3.205707e-01
  FAILED (SKIP=9, failures=1)

  PyNEST tests: 569
     Passed: 559
     Skipped: 9
     Failed: 1

Phase 8: Running C++ tests (experimental)
  Not running C++ tests because NEST was compiled without Boost.

NEST Testsuite Summary
  NEST Executable: /home/abolfazl/prog/nest-build/bin/nest
  SLI Executable : /home/abolfazl/prog/nest-build/bin/sli
  Total number of tests: 870
     Passed: 859
     Skipped: 10 (9 PyNEST)
     Failed: 1 (1 PyNEST)

*** There were errors detected during the run of the NEST test suite!
*** Please report the problem at
*** To help us diagnose the problem, please attach the archived content
*** of these directories to the issue:
***     - '/home/abolfazl/prog/nest-build/reports'
***     - '/home/abolfazl/prog/nest-build/reports/nest.RrYRt'

CMakeFiles/installcheck.dir/build.make:57: recipe for target 'CMakeFiles/installcheck' failed
make[3]: *** [CMakeFiles/installcheck] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/installcheck.dir/all' failed
make[2]: *** [CMakeFiles/installcheck.dir/all] Error 2
CMakeFiles/Makefile2:106: recipe for target 'CMakeFiles/installcheck.dir/rule' failed
make[1]: *** [CMakeFiles/installcheck.dir/rule] Error 2
Makefile:188: recipe for target 'installcheck' failed
make: *** [installcheck] Error 2

I use cmake version 3.10.2.