Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setuptools python install for linux #221

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

alice
Copy link
Contributor

@alice alice commented May 8, 2024

No description provided.

@alice alice changed the title WIP python install for linux Setuptools python install for linux May 8, 2024
@spectranaut
Copy link
Contributor

spectranaut commented May 8, 2024

ooo I know this is still in draft but I couldn't resist trying, and I got an error that I'm surprised you didn't run into?

I suppose it's time to understand more about python venvs.

removing build/bdist.linux-x86_64/wheel
Successfully built acacia_atspi-0.0.1.tar.gz and acacia_atspi-0.0.1-cp311-cp311-linux_x86_64.whl
[100%] Built target python_acacia_atspi
[100%] Built target rename_init_py
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
make[3]: *** [lib/atspi/CMakeFiles/install_python.dir/build.make:70: lib/atspi/CMakeFiles/install_python] Error 1
make[2]: *** [CMakeFiles/Makefile2:1039: lib/atspi/CMakeFiles/install_python.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1046: lib/atspi/CMakeFiles/install_python.dir/rule] Error 2
make: *** [Makefile:582: install_python] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants