Giter Site home page Giter Site logo

Setup.py fails for pip>=20.1 about chumpy HOT 9 OPEN

mattloper avatar mattloper commented on August 23, 2024 12
Setup.py fails for pip>=20.1

from chumpy.

Comments (9)

Andrej730 avatar Andrej730 commented on August 23, 2024 15

Still an issue for me to install chumpy either with pip install git+https://github.com/mattloper/chumpy.git or pip install chumpy. #41 solves the problem for me.

Fast solution for now is to install it with scottandrews@fe51783:
pip install git+https://github.com/scottandrews/chumpy.git@fe51783e0364bf1e9b705541e7d77f894dd2b1ac

from chumpy.

gormonn avatar gormonn commented on August 23, 2024 14

it works to install chumpy, for me:
pip install --force-reinstall pip==19

from chumpy.

gayalkuruppu avatar gayalkuruppu commented on August 23, 2024 2

@gayalkuruppu how it works? Please tell more.

sorry I have added the original gt repo earlier. Following works fine.
pip install git+https://github.com/scottandrews/chumpy.git

from chumpy.

r4ghu avatar r4ghu commented on August 23, 2024 1

PR #42 solves the issue.

from chumpy.

gayalkuruppu avatar gayalkuruppu commented on August 23, 2024

Environment

virtualenv virtual environment
pip version: 20.1
Python version: 3.7
OS: Debian GNU/Linux 9 (stretch)

Steps to Reproduce
pip install chumpy

Output

  Using cached chumpy-0.69.tar.gz (50 kB)
    ERROR: Command errored out with exit status 1:
     command: /home/Gayal/TF_FLAME/my_venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-l8jmoloi/chumpy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-l8jmoloi/chumpy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-5mq7h_yi
         cwd: /tmp/pip-install-l8jmoloi/chumpy/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-l8jmoloi/chumpy/setup.py", line 15, in <module>
        install_requires = [str(ir.req) for ir in install_reqs]
      File "/tmp/pip-install-l8jmoloi/chumpy/setup.py", line 15, in <listcomp>
        install_requires = [str(ir.req) for ir in install_reqs]
    AttributeError: 'ParsedRequirement' object has no attribute 'req'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Tried chumpy previous versions and downto 0.66, no version worked. Then they were not compatible with my tasks.

UPDATE

Tried on ubuntu 16.04. does not work either. works fine on macos. but I need tf-gpu but I dont have gpus on my mac(currently running debian 9 on GCP)

from chumpy.

gayalkuruppu avatar gayalkuruppu commented on August 23, 2024

Okay it worked sorry for the trouble

from chumpy.

gormonn avatar gormonn commented on August 23, 2024

@gayalkuruppu how it works? Please tell more.

from chumpy.

tusharmagrawal avatar tusharmagrawal commented on August 23, 2024

the force reinstall option worked for me too

from chumpy.

duanying98 avatar duanying98 commented on August 23, 2024

AttributeError: 'Ch' object has no attribute '_dirty_vars'
why?

from chumpy.

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.