Skip to content

Installation using pip fails #811

@Azuresonance

Description

@Azuresonance

Bug Description
I am using an NVIDIA Jetson AGX Xavier, which is an ARMv8 platform.

If I ran pip install visdom with python3.6, I get the following error:

  Downloading visdom-0.1.8.5.tar.gz (248 kB)
     |████████████████████████████████| 248 kB 155 kB/s 
    ERROR: Command errored out with exit status -4:
     command: /home/azuresonance/Documents/quant/detection/venv/bin/python3.6 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-o5hc0pg6/visdom_4caec083c2db453fbaf55cc10a760efc/setup.py'"'"'; __file__='"'"'/tmp/pip-install-o5hc0pg6/visdom_4caec083c2db453fbaf55cc10a760efc/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bwpz0bwy
         cwd: /tmp/pip-install-o5hc0pg6/visdom_4caec083c2db453fbaf55cc10a760efc/
    Complete output (0 lines):
    ----------------------------------------
WARNING: Discarding https://files.pythonhosted.org/packages/c1/48/d90e1519768107811fd6e7760bea46fff9e9c9ffb490441684003ae634a9/visdom-0.1.8.5.tar.gz#sha256=e9afccf5b64a856d70e2538352a010024324fccaa093df8f3d7890755869136b (from https://pypi.org/simple/visdom/). Command errored out with exit status -4: python setup.py egg_info Check the logs for full command output.

And the installation process will set stuck printing the above lines, looping on and on forever.

Reproduction Steps

  1. Run pip install visdom
  2. Get the above error

Alternatively,

  1. Clone this repo
  2. Run pip install -e .
  3. Get the above error

However, I managed to work-around the issue with:

  1. Clone this repo
  2. Run sudo python3 setup.py bdist_wheel
  3. Run pip install dist/visdom-0.1.8.9-py3-none-any.whl

Expected behavior
I want the package to be installed cleanly with pip.

Additional context
It is a NVIDIA Jetson AGX Xavier with Jetpack 4.5.1 installed.
Using Python 3.6 (from deadsnakes PPA) with pip 21.2.2 (from `https://bootstrap.pypa.io/get-pip.py).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions