aerospaceresearch / orbitdeterminator

determination of satellite orbits and more
MIT License
181 stars 113 forks source link

An error was found, but returning just with the version: No module named 'termios' #179

Closed Umbrstell closed 3 years ago

Umbrstell commented 4 years ago

pytest is ok ,but when I run main.py An error was found, but returning just with the version: No module named 'termios'

C:\Users\astronomy\PycharmProjects\untitled1\orbitdeterminator\orbitdeterminator>python main.py -f \Users\astronomy\PycharmProjects\untitled1\orbitdeterminator\orbitdeterminator\orbit.csv An error was found, but returning just with the version: No module named 'termios'

****Welcome To OrbitDeterminator****

Workflow for OrbitDeterminator is as follows:

               -----------    ----------------------
Positional data---> Filters ---> Keplerian elements --->Determined Orbit Determination

Available filters: | Available methods for orbit determination:

  1. Savitzky Golay Filter | 1. Lamberts Kalman
  2. Triple Moving Average Filter| 2. Cubic spline interpolation | 3. Ellipse Bset Fit | 4. Gibbs 3 Vector

Choose filter(s) in desired order of application (SPACE to toggle, UP/DOWN to navigate, RIGHT/LEFT to select/deselect and ENTER to submit) *if nothing is selected, Triple Moving Average followed by Savitzky Golay will be applied Traceback (most recent call last): File "main.py", line 222, in process(args.file_path, args.error, args.units) File "main.py", line 41, in process inquirer.Checkbox('filter', AttributeError: module 'inquirer' has no attribute 'Checkbox'

Curious-Nikhil commented 4 years ago

Hi,

For this error AttributeError: module 'inquirer' has no attribute 'Checkbox' Unfortunately, Inquirerwhich is based on blessing module is not supported by windows.

PyInquirer is a better alternative with similar features.

I tried installing PyInquirer with the current requirements of OD and I get a regex build fail error which is due to outdated C++ build tool version. Updating the build tools doesn't help either.

hornig commented 3 years ago

hmmm, i cannot replicate this. on my windows 10 version of inquirer it works so far. is that still a thing?