Coder Social home page Coder Social logo

Comments (5)

cutright avatar cutright commented on June 3, 2024

from dvh-analytics.

sama2689 avatar sama2689 commented on June 3, 2024

Yes this is a new computer, the OS is still MSW10 though. Though I have tried from fresh environments.

from dvh-analytics.

sama2689 avatar sama2689 commented on June 3, 2024

Checking the regressors PyPi page shows that it is not tested for Python>3.4. I suspect this could be the issue, but I don't understand then how dvha was sucessfully installed and run on 3.8 and 3.9 environments? The error when installing dvha is one in regressors itself, specifically error in regressors setup command: use_2to3 is invalid.

This seems to imply the issue is my python version, but again to the best of my knowledge dvha has been installed on 3.8 before so I am not sure what is special about my specific installation. I am not installing with admin rights, not sure if this could be a potential issue or not but I can't imagine how it would be.

from dvh-analytics.

sama2689 avatar sama2689 commented on June 3, 2024

I have fixed the issue, it turns out that the problem was that I had the latest version of setuptools, but downgrading setuptools to 50.3.2 did the trick (conda install -c anaconda setuptools=50.3.2 if using anaconda). This seems to be a known issue with setuptools but it could well cause issues when trying to install dvha using pip. After downgrading setuptools, pip install regressors works fine. and therefore so does pip install dvha

Also, setuptools was recently upgraded on conda, which is likely why my previous installations worked just fine (dvha was installed on my other computer months ago, well before the setuptools update, but installing dvha now created an issue)

from dvh-analytics.

cutright avatar cutright commented on June 3, 2024

Good find @sama2689

I tried installing a package using regressors last week on an M1 Mac and I was unsuccessful. Unfortunately, downgrading setup tools to 50.3.2 didn't resolve the issue. At least in my case, the real culprit appears to be statsmodels, which regressors depends on. For any other M1 Mac users out there, I used this trick to install statsmodels (just replace scipy with statsmodels). You may have to do the same with some other packages. Also note that the latest scipy dev has wheels for M1 (so you don't need this trick). Finally, do a regular pip install regressors after all of its dependencies are installed.

from dvh-analytics.

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.