Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Examples/TrussGenerator_2D/TrussGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
except:
print('qdarkstyle library is not installed in your Python env.')
instqdark = input('Do you want to install it (y/n)? ')
instqdark = instPyQt5.lower()
instqdark = instqdark.lower()
if instqdark == 'y':
import subprocess
try:
Expand All @@ -43,9 +43,9 @@
import numpy as np
except:
print('numpy library is not installed in your Python env.')
instqdark = input('Do you want to install it (y/n)? ')
instqdark = instPyQt5.lower()
if instqdark == 'y':
instnumpy = input('Do you want to install it (y/n)? ')
instnumpy = instnumpy.lower()
if instnumpy == 'y':
import subprocess
try:
subprocess.call('python -m pip install numpy')
Expand Down