Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pyGPs code problem
#5
(Oct-16-2020, 07:38 PM)bowlofred Wrote: It is unclear what exactly you are running after doing the install. You should not be trying to run those files directly, but should be importing pyGPs into your script.

As an example, this file should run without error.

import pyGPs
print("import successful")
Output:
$ python test.py import successful
If that works okay, you should be able to call the pyGPs functions from within your script.
I just reinstall pyGPs agian and test it and I can import pyGPs right now. Then I remember I changed some script inside pyGPs in order to make them run independently(which means nothing), that may be the reason that the errors occur. Bowlofred I thank for your help.
Reply


Messages In This Thread
pyGPs code problem - by pygauss10 - Oct-16-2020, 07:26 PM
RE: pyGPs code problem - by bowlofred - Oct-16-2020, 07:38 PM
RE: pyGPs code problem - by pygauss10 - Oct-17-2020, 01:56 PM
RE: pyGPs code problem - by pygauss10 - Oct-17-2020, 03:34 PM
RE: pyGPs code problem - by bowlofred - Oct-16-2020, 08:14 PM
RE: pyGPs code problem - by pygauss10 - Oct-17-2020, 03:40 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020