Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A aisdb
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • aisdb
  • Issues
  • #3

Closed
Open
Created Oct 28, 2021 by Oliver Kirsebom@kirsebomOwner

Install errors

@matt_s ,

Attempting to install the ais package using the 1-line command from the README in a new clean Python3.8 virtual environment, results in the following errors:

(env-ais) oliskir@narwoli:~$ python3 -m pip install git+https://gitlab.meridian.cs.dal.ca/matt_s/ais_public#egg=ais
Collecting ais
  Cloning https://gitlab.meridian.cs.dal.ca/matt_s/ais_public to /tmp/pip-install-vw6s1tbg/ais
  Running command git clone -q https://gitlab.meridian.cs.dal.ca/matt_s/ais_public /tmp/pip-install-vw6s1tbg/ais
Collecting numpy
  Downloading numpy-1.21.3-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.7 MB)
     |████████████████████████████████| 15.7 MB 2.0 MB/s 
Collecting packaging
  Using cached packaging-21.0-py3-none-any.whl (40 kB)
Collecting pyais
  Downloading pyais-1.6.2-py3-none-any.whl (42 kB)
     |████████████████████████████████| 42 kB 975 kB/s 
Collecting pysqlite3-binary
  Downloading pysqlite3_binary-0.4.6-cp38-cp38-manylinux1_x86_64.whl (5.3 MB)
     |████████████████████████████████| 5.3 MB 23.5 MB/s 
Collecting rasterio
  Downloading rasterio-1.2.10-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (19.2 MB)
     |████████████████████████████████| 19.2 MB 11.5 MB/s 
Collecting requests
  Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Collecting scikit-learn
  Downloading scikit_learn-1.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (25.9 MB)
     |████████████████████████████████| 25.9 MB 658 kB/s 
Collecting selenium
  Downloading selenium-4.0.0-py3-none-any.whl (954 kB)
     |████████████████████████████████| 954 kB 13.7 MB/s 
Collecting shapely
  Downloading Shapely-1.8.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 21.4 MB/s 
Collecting tqdm
  Downloading tqdm-4.62.3-py2.py3-none-any.whl (76 kB)
     |████████████████████████████████| 76 kB 7.3 MB/s 
Collecting pyparsing>=2.0.2
  Downloading pyparsing-3.0.3-py3-none-any.whl (96 kB)
     |████████████████████████████████| 96 kB 7.2 MB/s 
Collecting bitarray
  Downloading bitarray-2.3.4.tar.gz (88 kB)
     |████████████████████████████████| 88 kB 8.9 MB/s 
Collecting snuggs>=1.4.1
  Downloading snuggs-1.4.7-py3-none-any.whl (5.4 kB)
Collecting attrs
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting click>=4.0
  Downloading click-8.0.3-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 8.1 MB/s 
Requirement already satisfied: setuptools in ./envs/env-ais/lib/python3.8/site-packages (from rasterio->ais) (44.0.0)
Collecting affine
  Downloading affine-2.3.0-py2.py3-none-any.whl (15 kB)
Collecting click-plugins
  Downloading click_plugins-1.1.1-py2.py3-none-any.whl (7.5 kB)
Collecting certifi
  Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB)
     |████████████████████████████████| 149 kB 26.7 MB/s 
Collecting cligj>=0.5
  Downloading cligj-0.7.2-py3-none-any.whl (7.1 kB)
Collecting idna<4,>=2.5; python_version >= "3"
  Downloading idna-3.3-py3-none-any.whl (61 kB)
     |████████████████████████████████| 61 kB 10.3 MB/s 
Collecting charset-normalizer~=2.0.0; python_version >= "3"
  Downloading charset_normalizer-2.0.7-py3-none-any.whl (38 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 38.0 MB/s 
Collecting joblib>=0.11
  Downloading joblib-1.1.0-py2.py3-none-any.whl (306 kB)
     |████████████████████████████████| 306 kB 19.0 MB/s 
Collecting threadpoolctl>=2.0.0
  Downloading threadpoolctl-3.0.0-py3-none-any.whl (14 kB)
Collecting scipy>=1.1.0
  Using cached scipy-1.7.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.whl (28.4 MB)
Collecting trio~=0.17
  Downloading trio-0.19.0-py3-none-any.whl (356 kB)
     |████████████████████████████████| 356 kB 16.1 MB/s 
Collecting trio-websocket~=0.9
  Downloading trio_websocket-0.9.2-py3-none-any.whl (16 kB)
Collecting sortedcontainers
  Downloading sortedcontainers-2.4.0-py2.py3-none-any.whl (29 kB)
Collecting outcome
  Downloading outcome-1.1.0-py2.py3-none-any.whl (9.7 kB)
Collecting async-generator>=1.9
  Using cached async_generator-1.10-py3-none-any.whl (18 kB)
Collecting sniffio
  Downloading sniffio-1.2.0-py3-none-any.whl (10 kB)
Collecting wsproto>=0.14
  Downloading wsproto-1.0.0-py3-none-any.whl (24 kB)
Collecting h11<1,>=0.9.0
  Downloading h11-0.12.0-py3-none-any.whl (54 kB)
     |████████████████████████████████| 54 kB 4.2 MB/s 
Building wheels for collected packages: ais, bitarray
  Building wheel for ais (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/oliskir/envs/env-ais/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vw6s1tbg/ais/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vw6s1tbg/ais/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-gu4qj5j8
       cwd: /tmp/pip-install-vw6s1tbg/ais/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for ais
  Running setup.py clean for ais
  Building wheel for bitarray (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/oliskir/envs/env-ais/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-rji8vglv
       cwd: /tmp/pip-install-vw6s1tbg/bitarray/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help
  
  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for bitarray
  Running setup.py clean for bitarray
Failed to build ais bitarray
Installing collected packages: numpy, pyparsing, packaging, bitarray, pyais, pysqlite3-binary, snuggs, attrs, click, affine, click-plugins, certifi, cligj, rasterio, idna, charset-normalizer, urllib3, requests, joblib, threadpoolctl, scipy, scikit-learn, sortedcontainers, outcome, async-generator, sniffio, trio, h11, wsproto, trio-websocket, selenium, shapely, tqdm, ais
    Running setup.py install for bitarray ... error
    ERROR: Command errored out with exit status 1:
     command: /home/oliskir/envs/env-ais/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7h0x8v4r/install-record.txt --single-version-externally-managed --compile --install-headers /home/oliskir/envs/env-ais/include/site/python3.8/bitarray
         cwd: /tmp/pip-install-vw6s1tbg/bitarray/
    Complete output (23 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/util.py -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/__init__.py -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/test_bitarray.py -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/test_util.py -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/pythoncapi_compat.h -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/bitarray.h -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/test_data.pickle -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/py.typed -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/__init__.pyi -> build/lib.linux-x86_64-3.8/bitarray
    copying bitarray/util.pyi -> build/lib.linux-x86_64-3.8/bitarray
    running build_ext
    building 'bitarray._bitarray' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/bitarray
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/home/oliskir/envs/env-ais/include -I/usr/include/python3.8 -c bitarray/_bitarray.c -o build/temp.linux-x86_64-3.8/bitarray/_bitarray.o
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/oliskir/envs/env-ais/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"'; __file__='"'"'/tmp/pip-install-vw6s1tbg/bitarray/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-7h0x8v4r/install-record.txt --single-version-externally-managed --compile --install-headers /home/oliskir/envs/env-ais/include/site/python3.8/bitarray Check the logs for full command output.
Assignee
Assign to
Time tracking