This is a test version of Biostars. For the public version, visit https://www.biostars.org.
error while installing peertools

Hello, I am trying to install peertools but when I do cmake command it throws error I tried to use command cmake ./.. But its giving error.

The error: File "", line 1 from distutils import sysconfig; print sysconfig.get_python_lib() ^ SyntaxError: invalid syntax CMake Error at python/CMakeLists.txt:49 (if): if given arguments:

"(" "NOT" "EXISTS" "File \"<string>\", line 1 from distutils import sysconfig" " print sysconfig.get_python_inc() ^ SyntaxError: invalid syntax" ")"

Unknown arguments specified

-- Configuring incomplete, errors occurred!

Can anyone please help me out with this? Thank you

peertools

I tried to reinstall cmake in my account. But now I am getting this error: the command:

cmake ./..

the error: CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument <min> value or use a ...<max> suffix to tell CMake that the project does not need compatibility with older versions.

File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_python_lib() ^ SyntaxError: invalid syntax CMake Error at python/CMakeLists.txt:49 (if): if given arguments:

"(" "NOT" "EXISTS" "File \"<string>\", line 1
  from distutils import sysconfig" " print sysconfig.get_python_inc()
                                         ^

SyntaxError: invalid syntax" ")"

Unknown arguments specified

-- Configuring incomplete, errors occurred!

did you find any solution? The only thing that worked for me was to use the R-package on a Linux server but I had to > conda deactivate before starting the session.

1 answer

Add parentheses. Change it to

print(sysconfig.get_python_inc()).

There are three places you need to modify.

Welcome to Biostars! The post you are replying to is 21 months old - you can see that by looking at age indicators - and it is a safe assumption that the problem was either solved or the whole attempt abandoned.

Log in to answer this question.