sukeesh / Jarvis

Personal Assistant for Linux and macOS
MIT License
2.91k stars 1.02k forks source link

installation fails on Ubuntu 20.04 #1149

Closed vib795 closed 6 months ago

vib795 commented 7 months ago

python installer fails to setup the project image

Contents of file /tmp/tmpmafwa0fk:


============== Preparing virtualenv ==============
________________________________________
Shell: python3 --version
Python 3.8.10

Shell: Exit OK
----------------------------------------

________________________________________
Shell: virtualenv --python=python3 --version
virtualenv 20.0.17 from /usr/lib/python3/dist-packages/virtualenv/__init__.py

Shell: Exit OK
----------------------------------------

________________________________________
Shell: env/bin/python --version
Python 3.8.10

Shell: Exit OK
----------------------------------------

============ Installing requirements =============
________________________________________
Shell: env/bin/pip install -U -r installer/requirements.txt
Ignoring pathlib2: markers 'python_version < "3.4"' don't match your environment
Ignoring psutil: markers 'sys_platform == "win32"' don't match your environment
Ignoring pync: markers 'sys_platform == "darwin"' don't match your environment
Ignoring pypiwin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring pyreadline: markers 'sys_platform == "win32"' don't match your environment
Ignoring pywin32: markers 'sys_platform == "win32"' don't match your environment
Ignoring win10toast: markers 'sys_platform == "win32"' don't match your environment
Ignoring windows-curses: markers 'sys_platform == "win32"' don't match your environment
Collecting akinator.py
  Using cached akinator.py-0.2.4.tar.gz (21 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'error'
    ERROR: Command errored out with exit status 1:
     command: /home/parallels/Jarvis/env/bin/python /tmp/tmpglzf_eda prepare_metadata_for_build_wheel /tmp/tmpdzz4o3m_
         cwd: /tmp/pip-install-3xue9x0l/akinator.py
    Complete output (6 lines):

    Cargo, the Rust package manager, is not installed or is not on PATH.
    This package requires Rust and Cargo to compile extensions. Install it through
    the system's package manager or via https://rustup.rs/

    Checking for Rust toolchain....
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/parallels/Jarvis/env/bin/python /tmp/tmpglzf_eda prepare_metadata_for_build_wheel /tmp/tmpdzz4o3m_ Check the logs for full command output.

Shell: Exit FAIL Command 'env/bin/pip install -U -r installer/requirements.txt' returned non-zero exit status 1.
----------------------------------------

Installation failed

FATAL!
pnhofmann commented 6 months ago

Should be fixed; Just made akinator optional