installation issue (unknown file type '.pyx')
See original GitHub issueI installed dependencies and when I run setup.py script (python setup.py develop), I got the following error:
(Cython is installed. In Python 3.7.6, I use with/without creating an environment, the error is the same.)
miniconda3/lib/python3.7/site-packages/setuptools/dist.py:476: UserWarning: Normalizing '0.7.rc1+ecaf5db' to '0.7rc1+ecaf5db'
normalized_version,
running develop
running egg_info
writing mmskeleton.egg-info/PKG-INFO
writing dependency_links to mmskeleton.egg-info/dependency_links.txt
writing requirements to mmskeleton.egg-info/requires.txt
writing top-level names to mmskeleton.egg-info/top_level.txt
reading manifest file 'mmskeleton.egg-info/SOURCES.txt'
writing manifest file 'mmskeleton.egg-info/SOURCES.txt'
running build_ext
building 'mmskeleton.ops.nms.gpu_nms' extension
error: unknown file type '.pyx' (from 'mmskeleton/ops/nms/gpu_nms.pyx')
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (1 by maintainers)
Top Results From Across the Web
Unknown file type error with .pyx file - python - Stack Overflow
Just to note, I'm using the Enthought build of Python (7.1) on OSX with the latest Xcode (4.1). this was the first hit...
Read more >pip error error: unknown file type '.pyx' (from 'fairseq/data ...
When i pip fairseq in build dockerfile.Raise error. dockerfile. FROM pytorch/pytorch:1.3-cuda10.1-cudnn7-devel. RUN pip install redis fairseq ...
Read more >error: unknown file type '.pyx' graphql
If the error is describing an Unknown field 'X' on type 'Query', the content type you are trying to source is likely not...
Read more >PYX File Extension: What Is It & How To Open It? - Solvusoft
When you double-click your PYX file, you may see a dialog box from your operating system stating that it "Cannot Open This File...
Read more >2180 ([with patch, with positive review] cython skipping (build ...
pyx file 3) sage -br 4) The bug is that you get a message like: building 'sage.rings.polynomial.multi_polynomial_factor' extension error: unknown file type '....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I solved this problem by under step:
build folder is created. copy build/temp.linux…/.o to $mmskeleton_home/build/temp.linux…/mmskeleton/ops/nms/ copy build/lib.linux…/.so to $mmskeleton_home/build/lib.linux…/mmskeleton/ops/nms/*
cd $mmskeleton_home
executepython setup.py develop
again.I solved the problem through the method provided by wind-cludy. Command lines are as follows: cd mmskeleton/ops/nms/ python setup_linux.py build

Thanks for wind-cludy’s answer