Hi,

I believe the output you see, even though it looks pretty error-y, is related to the not-so-important `install_egg_info` step that produces some Python metadata. AFAIK, this error output can be ignored and installation will continue. Do you have your full cmake and make install output? Perhaps there are other errors there?

On Wed, 27 Jul 2022, 10:19 Mikael Lindahl, <mickelindahl@gmail.com> wrote:
Hi,

I am trying to build NEST on debian 11 with cmake 3.16.9 and conda python=3.9. I have attached my installation script asswell as the full logs for make and install steps. ( I run the script with using source to conda activate will play nice)

During "make install" I get the following message error

-- Set runtime path of "/home/mikael/git/bgmodel/nest/dist/install/nest-simulator-3.3/lib/python3.9/site-packages/nest/pynestkernel.so" to "$ORIGIN/../lib/nest:$ORIGIN/../../lib/nest:$ORIGIN/../../../nest:/home/mikael/opt/anaconda3/envs/nest-3.3/lib"
running install_egg_info
/home/mikael/opt/anaconda3/envs/nest-3.3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running egg_info
creating nest_simulator.egg-info
writing nest_simulator.egg-info/PKG-INFO
writing dependency_links to nest_simulator.egg-info/dependency_links.txt
writing requirements to nest_simulator.egg-info/requires.txt
writing top-level names to nest_simulator.egg-info/top_level.txt
writing manifest file 'nest_simulator.egg-info/SOURCES.txt'
reading manifest file 'nest_simulator.egg-info/SOURCES.txt'
writing manifest file 'nest_simulator.egg-info/SOURCES.txt'
Copying nest_simulator.egg-info to /home/mikael/git/bgmodel/nest/dist/install/nest-simulator-3.3/lib/python3.9/site-packages/nest_simulator-3.3-py3.9.egg-info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/mikael/opt/anaconda3/envs/nest-3.3/lib/python3.9/site-packages/pkg_resources/__init__.py", line 477, in get_distribution
    dist = get_provider(dist)
  File "/home/mikael/opt/anaconda3/envs/nest-3.3/lib/python3.9/site-packages/pkg_resources/__init__.py", line 353, in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
  File "/home/mikael/opt/anaconda3/envs/nest-3.3/lib/python3.9/site-packages/pkg_resources/__init__.py", line 897, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/mikael/opt/anaconda3/envs/nest-3.3/lib/python3.9/site-packages/pkg_resources/__init__.py", line 783, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'nest-simulator' distribution was not found and is required by the application

And for make installcheck i get this error

Scanning dependencies of target installcheck
Executing NEST's testsuite...
make[3]: *** [CMakeFiles/installcheck.dir/build.make:61: CMakeFiles/installcheck] Error 1
make[2]: *** [CMakeFiles/Makefile2:524: CMakeFiles/installcheck.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:531: CMakeFiles/installcheck.dir/rule] Error 2
make: *** [Makefile:178: installcheck] Error 2
It took 160 seconds

Anyone who knows how to solve this?

/Mikael


--
Mikael Lindahl Phd
Phone: +46735119429
Email: mickelindahl@gmail.com
_______________________________________________
NEST Users mailing list -- users@nest-simulator.org
To unsubscribe send an email to users-leave@nest-simulator.org