Ask Your Question
0

ImportError: No module named 'psspy'

asked 2016-11-21 03:01:22 -0500

Mkho Dlamini gravatar image

import os import sys sys.path.append(r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN""") os.environ['PATH'] = (r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN;""" + os.environ['PATH'])

import psspy import redirect

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-21 19:37:25 -0500

jconto gravatar image

updated 2016-11-21 19:39:19 -0500

what you entered:

import os
import sys
sys.path.append(r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN""")
os.environ['PATH'] = (r"""C:\Program Files (x86)\PTI\PSSE32\PSSBIN;""" + os.environ['PATH'])
import psspy
import redirect

It looks OK. is the path rigth for your installation? are psspy.pyc and psspyc.pyd located at that path? if not try re-installing PSSe.

edit flag offensive delete link more

Comments

Thanks, problem solved. Actually, I had installed Python 3.5 and was not compactable to PSSE32. I had to use the Python 25 which was within the PSSE 32 installation package.

Mkho Dlamini gravatar imageMkho Dlamini ( 2016-11-21 20:51:56 -0500 )edit

how you solve this problem?

misuliman gravatar imagemisuliman ( 2018-06-08 16:30:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Stats

Asked: 2016-11-21 03:01:22 -0500

Seen: 3,320 times

Last updated: Nov 21 '16