0.7.0/master fails to build with python 3.7, can't find std_memory.pxd
See original GitHub issueI’m getting this when trying to install either master or 0.7.0:
running install
running bdist_egg
running egg_info
writing python_rocksdb.egg-info/PKG-INFO
writing dependency_links to python_rocksdb.egg-info/dependency_links.txt
writing requirements to python_rocksdb.egg-info/requires.txt
writing top-level names to python_rocksdb.egg-info/top_level.txt
cythoning rocksdb/_rocksdb.pyx to rocksdb/_rocksdb.cpp
/home/ec2-user/python-rocksdb/.eggs/Cython-3.0a3-py3.7-linux-x86_64.egg/Cython/Compiler/Main.py:344: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /home/ec2-user/python-rocksdb/rocksdb/_rocksdb.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
from cpython.bytes cimport PyBytes_Size
from cpython.bytes cimport PyBytes_FromString
from cpython.bytes cimport PyBytes_FromStringAndSize
from cpython.unicode cimport PyUnicode_Decode
from std_memory cimport shared_ptr
^
------------------------------------------------------------
rocksdb/_rocksdb.pyx:15:0: 'std_memory.pxd' not found
This happens on both Linux and macos. 0.6.9 release from pypi installs fine. The file is there, so not sure why Python isn’t happy.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Scipy build failure in AIX with Python 3.7 · Issue #12797 - GitHub
Trying to build the master branch of scipy in AIX with python 3.7 fails with the below error message Traceback (most recent call...
Read more >installing python@3.7 MacBook Air m1 problem - Stack Overflow
Error : python@3.7: An unsatisfied requirement failed this build. My question is that "how can I install python3.7 on MacBook Air m1 using...
Read more >The Python Tutorial — Python 3.11.1 documentation
Python is an easy to learn, powerful programming language. ... This tutorial does not attempt to be comprehensive and cover every single feature, ......
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 FreeTop 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
Top GitHub Comments
I was getting same errors, but upgrading pip (and friends) helped here.
This helped on Fedora 32 here too, thanks!
Thanks Fotis