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

Ask Your Question
1

Python 2.5 with PSSE33. Pyevolve

asked Apr 5 '13

Hector gravatar image

Is it possible to use python 2.5 with PSSE33 ? I need to use python 2.5 to use pyevolve (http://pyevolve.sourceforge.net). If someone knows another solution or another way to use pyevolve, tell me.

1 answer

Sort by » oldest newest most voted
0

answered Apr 5 '13

JervisW gravatar image

updated Apr 5 '13

You will be fine with Python2.7

On the PyEvolve website they list Python2.5+ as a requirement, the + here means up to 2.7 which is what PSSE33 uses. Generally any program written in Python2.5 will work on Python2.7 too.

I'm curious about PyEvolve, what are you using genetic algorithms for?

(edit) I have Python2.7 installed here and I was able to get pyevolve running (on MacOSX) without much problem. Note that easy_install and pip won't automatically install PyEvolve. You'll have to download the source code and install it yourself:

  1. visit https://github.com/perone/Pyevolve
  2. download the zip: https://github.com/perone/Pyevolve/archive/master.zip
  3. unzip
  4. run the setup.py file, or just copy the pyevolve directory to your Python's site-packages folder on windows this is generally:

    c:/python2.7/Lib/site-packages/

link

Comments

1

Thank you. It's very useful. I am using pyevolve for Optimum Capacitor Placement. http://ieeexplore.ieee.org/xpls/abs_all.jsp?arnumber=1339348&tag=1

Hector gravatar imageHector (Apr 8 '13)

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

Stats

Asked: Apr 5 '13

Seen: 794 times

Last updated: Apr 05 '13