Coder Social home page Coder Social logo

Comments (4)

PerezHz avatar PerezHz commented on July 19, 2024 1

I'm also a new user and am also on macOS High Sierra (10.13.3); the way I worked around this issue was the following:

  • brew install python, boost and boost-python3
  • Install pykep from source, following the guidelines in the pykep docs, which you can find here
  • Then, running python from the orbitdeterminator/orbitdeterminator dir I was able to do:
$ python
Python 3.6.4 (default, Mar  9 2018, 23:15:03) 
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import main
>>> run = main.process("orbit.csv", 20)
/usr/local/lib/python3.6/site-packages/scipy-1.0.0-py3.6-macosx-10.13-x86_64.egg/scipy/linalg/basic.py:1226: RuntimeWarning: internal gelsd driver lwork query error, required iwork dimension not returned. This is likely the result of LAPACK bug 0038, fixed in LAPACK 3.2.2 (released July 21, 2010). Falling back to 'gelss' driver.
  warnings.warn(mesg, RuntimeWarning)
Displaying the sum of the residuals for each axis
[ 361.73846007778263   35.16624820681119 -414.35666149725444]
 
Displaying the mean of the residuals for each axis
[ 0.0452173075097228  0.0043957810258514 -0.0517945826871568]
 
Displaying the final keplerian elements, first row : Lamberts, second row : Interpolation
[[6.7921084958355223e+03 6.8045188830705629e+03]
 [1.4795216724147046e-03 8.8847298704285680e-04]
 [5.1670954834894410e+01 5.1675000118622904e+01]
 [2.1508751005933266e+02 1.9537230526813295e+02]
 [1.1250005890032938e+02 1.1251077719782269e+02]
 [1.6833468551374364e+02 1.6833468551374364e+02]]

So, things seem to be working even if python setup.py install fails. I haven't been able to figure out if this issue is related to the fact that pykep wheels don't seem to be available for macOS, or either to some version issue with Homebrew's Boost library, since cmake seems to complain about the Boost version while building pykep from source. Either way, orbitdeterminator docs state that the preferred way to run things is directly from the package source dir, without installing it. I'll keep trying to figure out what's going on. Hope this helps!

from orbitdeterminator.

PerezHz avatar PerezHz commented on July 19, 2024

I'm having a similar issue and trying to figure out how to fix this, what version of macOS are you using @krishnaw14?

from orbitdeterminator.

krishnaw14 avatar krishnaw14 commented on July 19, 2024

@PerezHz I am using MacOS High Sierra- version 10.13.2

from orbitdeterminator.

Alexandros23Kazantzidis avatar Alexandros23Kazantzidis commented on July 19, 2024

Hello guys, unfortunately, we have not encountered this problem yet due to the fact we mainly use ubuntu and windows. I don't know why this error with the pykep library occurs but I think the last solution works. The output you get is the standard output of the main.py script.

from orbitdeterminator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.