Giter Site home page Giter Site logo

Comments (8)

seva100 avatar seva100 commented on August 16, 2024 11

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.

mnuriyumusak avatar mnuriyumusak commented on August 16, 2024 2

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.

ckingdev avatar ckingdev commented on August 16, 2024 1

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.

ZhangTianrong avatar ZhangTianrong commented on August 16, 2024

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.

lycanthropes avatar lycanthropes commented on August 16, 2024

you can download bcolz for python 3.9 from "https://www.lfd.uci.edu/~gohlke/pythonlibs/#bcolz"

from bcolz.

ckingdev avatar ckingdev commented on August 16, 2024

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.

elijah0kello avatar elijah0kello commented on August 16, 2024

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.

tateemma avatar tateemma commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.