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.

nameerror: name 'build_ext' is not defined during installation on linux

See original GitHub issue

is there any way to solve that problem with installation on linux ?

ERROR: Command errored out with exit status 1: command: /root/anaconda3/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lm35sz6r/pyobjus/setup.py'"'"'; _file__='"'"'/tmp/pip-install-lm35sz6r/pyobjus/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file_);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, _file_, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-lm35sz6r/pyobjus/pip-egg-info cwd: /tmp/pip-install-lm35sz6r/pyobjus/ Complete output (5 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-lm35sz6r/pyobjus/setup.py", line 58, in <module> cmdclass={'build_ext': build_ext}, NameError: name 'build_ext' is not defined

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
tshirtmancommented, Aug 13, 2020

Did you install cython ? and made sure setuptools is a recent version ?

0reactions
vrepo54commented, Jan 19, 2022

I am facing exactly the same issue. Any idea of what could be done about it please?

Read more comments on GitHub >

github_iconTop Results From Across the Web

pyobjus nameerror: name 'build_ext' is not defined during ...
I'm trying to install pyobjus but I still geting error: ERROR: Command errored out with exit status 1: command: /root/anaconda3/bin/python ...
Read more >
build_ext.py - Google Git
An extension name is just a dot-separated list of Python NAMEs (ie. ... command line and make it look like setup.py defined the...
Read more >
Installation procedure for Healpy - Read the Docs
Conda Forge provides a conda channel with a pre-compiled version of healpy for linux 64bit and MAC OS X platforms, you can install...
Read more >
NameError: name 'os' is not defined - LearnDjango.com
NameError: name 'os' is not defined. By Will Vincent; Dec 8, 2022; 7 Comments ... The quick fix is to import os at...
Read more >
Installing python GDAL with pip in local (user) space on ...
My guess is that the gdal-dev version you have is outdated and that the version of python binding you got in pip is...
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