Skip to content

pipx does not install #524

Open
Open
@dnwillia-work

Description

@dnwillia-work

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

I followed exactly the instructions here: https://templates.ansys.com/version/stable/getting_started/index.html#installing-pipx

It does not install properly:

(venv) D:\ANSYSDev\pyansys\pylivegx>python --version
Python 3.10.8
(venv) D:\ANSYSDev\pyansys\pylivegx>python -m pip install --user pipx
ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

📝 Steps to reproduce

  • Create a virtual environment
  • Run the documented command

💻 Which operating system are you using?

Windows

🐍 Which Python version are you using?

3.10

📦 Installed packages

This is after I manually installed ansys-templates and did not bother with the pipx bit

(venv) D:\ANSYSDev\pyansys\pylivegx>python -m pip freeze
ansys-templates==5.0.0
arrow==1.3.0
binaryornot==0.4.4
certifi==2024.12.14
chardet==5.2.0
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
cookiecutter==2.2.3
idna==3.10
importlib_metadata==8.6.1
isort==6.0.0
Jinja2==3.1.5
MarkupSafe==3.0.2
python-dateutil==2.9.0.post0
python-slugify==8.0.4
PyYAML==6.0.2
requests==2.32.3
six==1.17.0
text-unidecode==1.3
types-python-dateutil==2.9.0.20241206
urllib3==2.3.0
zipp==3.21.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions