Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems Running the Examples #25

Open
lzl200102109 opened this issue Jun 10, 2020 · 3 comments
Open

Problems Running the Examples #25

lzl200102109 opened this issue Jun 10, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@lzl200102109
Copy link

I had a very hard time trying to get some of the examples running. I tried

examples/car_3obs.jl
examples/benchmark_problems.jl
benchmark/run_benchmarks.jl

After commenting out some code, they somehow all got stuck when importing TrajOptPlots. Example error:

ERROR: LoadError: ArgumentError: Package TrajOptPlots not found in current path:
- Run `import Pkg; Pkg.add("TrajOptPlots")` to install the TrajOptPlots package.

Stacktrace:
 [1] require(::Module, ::Symbol) at ./loading.jl:892
 [2] include(::Module, ::String) at ./Base.jl:377
 [3] exec_options(::Base.JLOptions) at ./client.jl:288
 [4] _start() at ./client.jl:484
in expression starting at /home/jingchi/TrajectoryOptimization.jl/examples/benchmark_problems.jl:3

I tried install the latest version of TrajOptPlots with the following cmd:

(@v1.4) pkg> add https://github.com/RoboticExplorationLab/TrajOptPlots.jl.git

which failed with the following error:

ERROR: Unsatisfiable requirements detected for package TrajOptCore [6e71adf8]:
 TrajOptCore [6e71adf8] log:
 ├─TrajOptCore [6e71adf8] has no known versions!
 └─restricted to versions * by TrajOptPlots [7770976a] — no versions left
   └─TrajOptPlots [7770976a] log:
     ├─possible versions are: 0.1.0 or uninstalled
     └─TrajOptPlots [7770976a] is fixed to version 0.1.0

Then I tried to install TrajOptCore, which also failed.

My questions are

  1. How do I get a slightly more complex problem up and running without messing with dependencies?
  2. What is the proper way to install TrajOptPlots.jl and TrajOptCore?
@arfioravanti
Copy link

In my case, I stopped at the following error:

ERROR: LoadError: UndefVarError: TrajectoryOptimization not defined
Stacktrace:

@bjack205 bjack205 added the bug Something isn't working label Dec 16, 2020
@bjack205
Copy link
Member

Yes, this was indeed a problem since I haven't registered the TrajOptPlots package yet. As soon as I get that package registered and get this notebook working properly I'll close this issue.

@grotli
Copy link

grotli commented Jun 22, 2021

I have also run into the same issue. Any update on this is appreciated! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants