Comments (8)
For me installing bcolz-zipline instead of bcolz helped (pip install bcolz-zipline
). Could not get it working with python 3.9 any other way.
from bcolz.
first you need you need to install cython and zipline
pip install cython
pip install zipline
pip install bcolz
this order should work.
another option is just install below
pip install bcolz-zipline
from bcolz.
After digging through the zipline code trying to find what could be happening there that would make installation of bcolz work after installing zipline, I found a comment in the requirements file
# bcolz fails to install if this is not in the build_requires.
setuptools>18.0
from bcolz.
That probably is a problem with compiler version. When I switched from gcc 9
to gcc 4
, it got installed in python 3.8
(but not 3.9
), except that it is asking for an older version of pandas
(older than 1.0
).
from bcolz.
you can download bcolz for python 3.9 from "https://www.lfd.uci.edu/~gohlke/pythonlibs/#bcolz"
from bcolz.
Without knowing the details of the error(s) in compiling, it's not really possible to give any assistance.
That said- the issue you linked is having an error compiling c-blosc that has been encountered before- setting a compiler flag looks to be the ticket.
from bcolz.
I got the same error when trying to pip install bcolz
. I tried it with conda install bcolz
and I got this error.
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- bcolz -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.8,<3.9.0a0|>=3.7,<3.8.0a0|>=3.5,<3.6.0a0']
Your python: python=3.9
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
So I think the issue is having python 3.9. bcolz at the moment may only support older python versions
from bcolz.
For me installing bcolz-zipline instead of bcolz helped (
pip install bcolz-zipline
). Could not get it working with python 3.9 any other way.
This worked for me too
from bcolz.
Related Issues (20)
- requirements.txt has numpy version >= 1.17 even for older bcolz
- Failed to install 1.2.1 by pip on Dell Optiplex 5050 («error: conflicting types for ‘_xgetbv’»). Probably problem in compiling if "avx2" in cpu_info["flags"] HOT 8
- Is bcolz works on mac os Catalina? HOT 6
- What is the purpose of validate_names()?
- Deprecation warning due to invalid escape sequences.
- get exception when import bcolz when my git is return non-zero exit.
- undefined reference to `blosc_internal_xgetbv'
- Compile error on shuffle.c (mingw) HOT 2
- bcolz.zeros cannot handle structured data type (ValueError: too many values to unpack (expected 2))
- Installation issue mac HOT 3
- error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 HOT 1
- bcolz\carray_ext.c(45964): error C2039: 'tp_print': is not a member of '_typeobject'
- Is it possible to append value to the end of each column?
- how to share ctable object in share memory with multi process HOT 2
- shit 这**软件 装不上
- cant install bcolz library HOT 1
- how to get my carray data back afterr flush? HOT 2
- Improvements to C code that can improve performance HOT 1
- macos Ventura 13.1 Python 3.7 pip install bcolz error
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 bcolz.