question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem when compiling PyDarknet

See original GitHub issue

Hi, I’m currently not being able to compile the Cython module. I followed the installation instructions, but after running the command python3 setup.py build_ext --inplace, I get the following error:

python setup.py build_ext --inplace
/home/user/anaconda3/envs/tensorflow-gpu/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
running build_ext
cythoning pydarknet.pyx to pydarknet.cpp
building 'pydarknet' extension
creating build
creating build/temp.linux-x86_64-3.5
gcc -pthread -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DUSE_CV=1 -I/home/user/anaconda3/envs/tensorflow-gpu/lib/python3.5/site-packages/numpy/core/include -I/home/user/darknet/include -I/home/user/darknet/src -I/home/user/anaconda3/envs/tensorflow-gpu/include/python3.5m -c pydarknet.cpp -o build/temp.linux-x86_64-3.5/pydarknet.o 
gcc: error: : No such file or directory
error: command 'gcc' failed with exit status 1

I should also mention that I’m using conda to manage the required packages. Do you have any idea of what the problem is? Thanks in advance!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
justinas-kazanaviciuscommented, May 4, 2018
0reactions
pherriscommented, Dec 10, 2018

screen shots should be banned from github issues

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to import pydarknet · Issue #1 · madhawav/YOLO3-4-Py
Hi I am getting following error `>>> import pydarknet Traceback (most recent call last): File "" ... Problem when compiling PyDarknet #5.
Read more >
Problems with compiling darknet under ANACONDA
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on...
Read more >
yolo34py-gpu - PyPI
yolo34py comes in 2 variants, CPU Only Version and GPU Version. Installation may take a while since it involves downloading and compiling darknet....
Read more >
Opencv dog recognition - Carlino Edilizia
I guess this is a shape recognition problem more than a face recognition one but ... detection in video with YOLO and Python...
Read more >
Tensorflow Vs Darknet - azione cattolica lucca
How to apply each deep learning framework to the MNIST problem. ... We will also use Pydarknet a wrapper for Darknet in this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found