ms8r / celnav

Celestial navigation for cruising sailors
21 stars 5 forks source link

Setup Error on Windows and pycharm #3

Open masoudline opened 7 years ago

masoudline commented 7 years ago

hi i am using windows 10 os and i want run your code but below error occur: Traceback (most recent call last): File "D:/Military/setup.py", line 21, in APP_DIR = os.path.join('/home', user, '.celnav') # used for ini, cfg files File "C:\Python27\lib\ntpath.py", line 67, in join p_drive, p_path = splitdrive(p) File "C:\Python27\lib\ntpath.py", line 115, in splitdrive if len(p) > 1: TypeError: object of type 'NoneType' has no len()

thanks for your reply

masoudline commented 7 years ago

no any body here?

ms8r commented 7 years ago

Hi - Sorry but I don't have access to a WIndows machine and so far Celnav has only been maintained for Linux / MacOS type platforms. If you just want to take it for a spin, the easiest might be to download Navigatrix which comes packaged with Celnav included. Navigatrix is a lightweight Linux distribution that bundles a bunch of navigation software for cruisers. You can run Navigatrix from a USB stick on x86 WIndows machines without having to install anything. Instructions can be found here: http://navigatrix.net/download.php .

Good luck!

masoudline commented 7 years ago

can I use the camera for detect Polaris star with your code project?