First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

Latest VS code problem with PSSE34, python Version 2.7

asked Oct 8 '4

festus.felix2326@gmail.com gravatar image

Hi all, I have VS code 1.94 version, PSS/E 34, and Python 2.7.18 32bit on a on a windows 11 system. Each time I run a psse 34 script, i get a message "the debugger in the python extension no longer support python versions minor that 3.8". The "pandas" and "numpy" also is underline as error. I have also tried to use a higher version of python (3.10.9 64bit) the "pandas" and "numpy" seems ok but complains of "No module named 'psse34'" it can not import psse34. Please I need you help.

1 answer

Sort by » oldest newest most voted
0

answered Oct 10 '4

jconto gravatar image

Using VS code 1.94, after changing interpreter to python 2.7,the run gave me same error message when using the "Run" menu. But it did run in python 2.7 when using the play button (up to the right side).

The pandas and numpy errors may be resolved after installing those modules in python 2.7. [I suggest to move to python 3.9 for psse34]

For PSSe v.34, you have to install the 32-bit version of python and other modules, not the 64-bit.

For the "psse34" error, check the post "Import psse34 and psspy"

link

Comments

I installed python 3.7.9 32bit on VS code 1.94, installed pandas and numpy and the script worked perfectly. Many thanks.

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: Oct 8 '4

Seen: 185 times

Last updated: Oct 10 '24