Comments (3)
The log indicates that compiling of Darknet has failed. (It is part of the installation process of yolo34py). It seems there is an issue with nVidia CUDA toolkit installation. The following line suggests that nvcc (nvidia CUDA compiler) cannot find gcc (GNU C compiler).
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use 'nvcc -ccbin clang-3.8' to use that instead.
Do you have gcc installed in your machine? You need to have a version of gcc compatible with the version of nVidia Toolkit installed. (So maybe you need to update your gcc)
from yolo3-4-py.
Yeah. Sorry, this was entirely my fault. I got frustrated and did some bad things to the packages on my system.
The darknet built itself failed with:
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use 'nvcc -ccbin clang-3.8' to use that instead.
make: *** [obj/convolutional_kernels.o] Error 1
On Debian Stretch, the only way I can find around this is to build Darknet from source and manually add -ccbin clang-3.8
to the NVCC command in the Makefile (in addition to setting GPU=1
), and then install with DARKNET_HOME=/path/to/darknet LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DARKNET_HOME pip3 install yolo34py-gpu
from yolo3-4-py.
Great that you managed to find a solution. Package issues can become very tricky!
Cheers and Good Luck!
from yolo3-4-py.
Related Issues (20)
- get error when i install yolo34py in Windows 8 pro HOT 1
- running yolov4 HOT 1
- Error installing from both pip and source HOT 5
- Disable architecture printing HOT 1
- batch inference HOT 1
- ModuleNotFoundError: No module named 'numpy' HOT 1
- does it work with yolov4? HOT 2
- Ubuntu 20.4 installation error HOT 1
- FileNotFoundError: pkg-config, pkg-config HOT 1
- ImportError: No module named pydarknet HOT 5
- Proxy issue in downloading https://github.com/madhawav/darknet while installing YOLO34PY using PIP HOT 1
- crashes on colab using custom weights/config HOT 2
- Trouble installing pip install yolo34py-gpu HOT 1
- Errors in "pip3 install yolo34py-gpu" HOT 1
- Error when installing yolo34py-gpu from source. HOT 2
- Segmentation Fault when running custom model HOT 1
- Error when pip installing
- Installation with newer GCC not working HOT 1
- Error pip installing yolo34py on windows
- Google Colab crashed when I was running the Detector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolo3-4-py.