You are not logged in.

#1 2024-03-06 08:39:55

demensdeum
Member
From: Hyperborea
Registered: 2022-07-02
Posts: 40
Website

pipx can't install gltflib

pipx install gltflib ends with

No apps associated with package gltflib or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.

So I think it's not so good tool for managing python packages as stated in wiki,
This is not correct:

You can use pipx to install packages from the Python Package Index and other indexes.

Because I can't install gltflib by pipx.

Last edited by demensdeum (2024-03-06 08:40:48)

Offline

#2 2024-03-06 10:13:53

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 657

Re: pipx can't install gltflib

`pipx` is used to install a python application and all it's dependencies in an isolated private virtual environment. Then it creates a link for that application in your ~/.local/bin/. So it is just a tool to install applications.

If you want to install python libraries then you must be planning to create an application yourself which uses those libraries so pipx is not the appropriate tool. In short, do something like:

1. mkdir myapp && cd myapp
2. python -m venv venv  # create the virtual env in this dir
3 venv/bin/pip install <the_llibraries_you_want>  # install the libraries
4 vim myapp.py  # create your app
5 venv/bin/python myapp.py  # run your app, using the venv with those libraries.

Offline

Board footer

Powered by FluxBB