Skip to content

Issue with PyAnsys Installation: ModuleNotFoundError #569

Answered by RobPasMue
t0xine asked this question in Q&A
Discussion options

You must be logged in to vote

Hmm...

I'm worried about the "vs code" folder. Spaces are typically a problem... Can we do as follows? You will just need to copy paste my commands on a terminal.

  1. Open a new PowerShell terminal (fresh, not inside VSCode)
  2. Create a folder in documents called pygeometry_test: mkdir C:\Users\lac\Documents\pygeometry_test
  3. Move to this folder: cd C:\Users\lac\Documents\pygeometry_test
  4. Create a virtual environment: python -m venv .venv
  5. Activate the venv: .venv\Scripts\activate
  6. Install pyansys: python -m pip install pyansys
  7. Open a Python terminal: python
  8. Run the following:
from ansys.geometry.core import __version__

print(__version__)

Please, follow each command step by step. If you encounter …

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
2 replies
@t0xine
Comment options

@RobPasMue
Comment options

Comment options

You must be logged in to vote
3 replies
@RobPasMue
Comment options

@t0xine
Comment options

@RobPasMue
Comment options

Comment options

You must be logged in to vote
7 replies
@RobPasMue
Comment options

@t0xine
Comment options

@RobPasMue
Comment options

Answer selected by RobPasMue
@t0xine
Comment options

@RobPasMue
Comment options

@t0xine
Comment options

@RobPasMue
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants