intallation problem

254 views
Skip to first unread message

Shashank

unread,
Oct 16, 2021, 3:26:45 PM10/16/21
to Anvi'o
Hi, 
I am getting an error while insalling ANVIO on my MacBook, I clipped the end part of the error here-

  1 error generated.

  error: command '/usr/bin/clang' failed with exit code 1

  ----------------------------------------

  ERROR: Failed building wheel for pandas

  Running setup.py clean for pandas

  Building wheel for datrie (PEP 517) ... error

  ERROR: Command errored out with exit status 1:

   command: /Users/shashankgupta/opt/miniconda3/bin/python /Users/shashankgupta/opt/miniconda3/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /var/folders/22/s23tx42s4qn8g83vt3q1w7gw0000gn/T/tmpe5hxkth0

       cwd: /private/var/folders/22/s23tx42s4qn8g83vt3q1w7gw0000gn/T/pip-install-ut1_02kn/datrie_6ebd5a4695414250bc996b68cc8b0fd8

  Complete output (36 lines):

  running bdist_wheel

  running build

  running build_clib

  building 'datrie' library

  creating build

  creating build/temp.macosx-10.9-x86_64-3.9

  creating build/temp.macosx-10.9-x86_64-3.9/libdatrie

  creating build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/alpha-map.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/alpha-map.o

  libdatrie/datrie/alpha-map.c:500:21: warning: comparison of integers of different signs: 'TrieIndex' (aka 'int') and 'AlphaChar' (aka 'unsigned int') [-Wsign-compare]

      if (alpha_begin <= ac && ac <= alpha_map->alpha_end)

          ~~~~~~~~~~~ ^  ~~

  1 warning generated.

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/darray.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/darray.o

  libdatrie/datrie/darray.c:239:22: warning: comparison of integers of different signs: 'TrieIndex' (aka 'int') and 'unsigned long' [-Wsign-compare]

      if (d->num_cells > SIZE_MAX / sizeof (DACell))

          ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~

  1 warning generated.

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/dstring.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/dstring.o

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/fileutils.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/fileutils.o

  libdatrie/datrie/fileutils.c:103:52: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]

      return (fread (buff, sizeof (char), len, file) == len);

              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~

  libdatrie/datrie/fileutils.c:109:53: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]

      return (fwrite (buff, sizeof (char), len, file) == len);

              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~

  2 warnings generated.

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/tail.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/tail.o

  libdatrie/datrie/tail.c:144:22: warning: comparison of integers of different signs: 'TrieIndex' (aka 'int') and 'unsigned long' [-Wsign-compare]

      if (t->num_tails > SIZE_MAX / sizeof (TailBlock))

          ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  1 warning generated.

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/trie-string.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/trie-string.o

  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -fPIC -O2 -isystem /Users/shashankgupta/opt/miniconda3/include -arch x86_64 -Ilibdatrie -c libdatrie/datrie/trie.c -o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/trie.o

  /opt/concourse/worker/volumes/live/6bea4a75-e17e-40e6-5e22-5abf5d19cc88/volume/python-split_1621365874123/_build_env/bin/llvm-ar rcs build/temp.macosx-10.9-x86_64-3.9/libdatrie.a build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/alpha-map.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/darray.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/dstring.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/fileutils.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/tail.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/trie-string.o build/temp.macosx-10.9-x86_64-3.9/libdatrie/datrie/trie.o

  error: command '/opt/concourse/worker/volumes/live/6bea4a75-e17e-40e6-5e22-5abf5d19cc88/volume/python-split_1621365874123/_build_env/bin/llvm-ar' failed: No such file or directory

  ----------------------------------------

  ERROR: Failed building wheel for datrie

Successfully built anvio

Failed to build pandas datrie

ERROR: Could not build wheels for datrie which use PEP 517 and cannot be installed directly



Many thanks in advance for your help.

A. Murat Eren

unread,
Oct 18, 2021, 2:39:07 AM10/18/21
to Anvi'o
I am sorry, I can't reproduce this following the online installation tutorial.
--

A. Murat Eren (Meren) | he/him
http://merenlab.org :: twitter


--
Anvi'o Paper: https://peerj.com/articles/1319/
Project Page: http://merenlab.org/projects/anvio/
Code Repository: https://github.com/meren/anvio
---
You received this message because you are subscribed to the Google Groups "Anvi'o" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anvio+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anvio/78b8d53b-c4e6-43a8-86e2-d2352232a2aan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages