Giter Site home page Giter Site logo

Comments (6)

BetterLL avatar BetterLL commented on July 22, 2024

Hi,I have the same error with you, do you solve it?

from flightmare.

charlo1998 avatar charlo1998 commented on July 22, 2024

I think i solved it by following #93.

from flightmare.

samaila53 avatar samaila53 commented on July 22, 2024

Hi,I have the same error with you, do you solve it?

from flightmare.

samaila53 avatar samaila53 commented on July 22, 2024

Hi, after following the flightmare install steps , i get this error:

Building wheels for collected packages: flightgym
Building wheel for flightgym (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /home/sam/anaconda3/envs/quad/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/sam/Bureau/flightmare/flightlib/setup.py'"'"'; file='"'"'/home/sam/Bureau/flightmare/flightlib/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-m2jlvmei
cwd: /home/sam/Bureau/flightmare/flightlib/
Complete output (106 lines):
running bdist_wheel
running build
running build_ext
Removing some cache file: /home/sam/Bureau/flightmare/flightlib/build/temp.linux-x86_64-3.6
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ====================== !Flightmare! ======================
-- ======> Setup Dependencies
-- Using system provided Eigen.
/usr/include/eigen3
-- Eigen3 include dir: /usr/include/eigen3
-- Getting Pybind11...
Cloning into 'pybind11-src'...
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
error: 3262 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Cloning into 'pybind11-src'...
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
error: 1511 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Cloning into 'pybind11-src'...
Already on 'master'
-- Pybind11 downloaded!
-- pybind11 v2.12.0 dev1
-- Found PythonInterp: /home/sam/anaconda3/envs/quad/bin/python (found suitable version "3.6.13", minimum required is "3.6")
-- Found PythonLibs: /home/sam/anaconda3/envs/quad/lib/libpython3.6m.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Getting yaml-cpp...
-- Yaml downloaded!
-- Found OpenCV: /usr (found version "4.5.4")
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
INFOBuild time could be improved with ccache!
INFO sudo apt install ccache
-- ======> Setup Compilation
-- Enabling fast optimization flags!
-- The activated CXX RELEASE configuration is:
-DVERSION_INFO="0.0.1" -fPIC -Wall -DNDEBUG -fopenmp -Ofast -march=native
-- The activated CXX DEBUG configuration is:
-DVERSION_INFO="0.0.1" -fPIC -Wall -g -fopenmp
-- ======> Setup Build
-- Getting gtests...
Cloning into 'googletest-src'...
fatal: invalid reference: master
CMake Error at googletest-download/googletest-prefix/tmp/googletest-gitclone.cmake:40 (message):
Failed to checkout tag: 'master'

gmake[2]: *** [CMakeFiles/googletest.dir/build.make:98: googletest-prefix/src/googletest-stamp/googletest-download] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/googletest.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
CMake Error at cmake/gtest.cmake:17 (message):
Build step for googletest failed: 2
Call Stack (most recent call first):
CMakeLists.txt:192 (include)
-- Configuring incomplete, errors occurred!
See also "/home/sam/Bureau/flightmare/flightlib/build/temp.linux-x86_64-3.6/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
File "", line 1, in
File "/home/sam/Bureau/flightmare/flightlib/setup.py", line 106, in
zip_safe=False,
File "/home/sam/anaconda3/envs/quad/lib/python3.6/site-packages/setuptools/init.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/core.py", line 148, in setup
dist.run_commands()
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/sam/anaconda3/envs/quad/lib/python3.6/site-packages/wheel/bdist_wheel.py", line 299, in run
self.run_command('build')
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/command/build.py", line 135, in run
self.run_command(cmd_name)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/home/sam/Bureau/flightmare/flightlib/setup.py", line 59, in run
self.build_extension(ext)
File "/home/sam/Bureau/flightmare/flightlib/setup.py", line 89, in build_extension
cmake_args, cwd=self.build_temp, env=env)
File "/home/sam/anaconda3/envs/quad/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/sam/Bureau/flightmare/flightlib', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/sam/Bureau/flightmare/flightlib/build/lib.linux-x86_64-3.6/', '-DPYTHON_EXECUTABLE=/home/sam/anaconda3/envs/quad/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.

ERROR: Failed building wheel for flightgym

Ho do solve it?

from flightmare.

BetterLL avatar BetterLL commented on July 22, 2024

from flightmare.

samaila53 avatar samaila53 commented on July 22, 2024

Traceback (most recent call last):
File "run_drone_control.py", line 21, in
from flightgym import QuadrotorEnv_v1
ModuleNotFoundError: No module named 'flightgym'

can someone help me please

from flightmare.

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.