Coder Social home page Coder Social logo

pip install mode on scripts about intelhex HOT 8 OPEN

yarko avatar yarko commented on July 19, 2024 1
pip install mode on scripts

from intelhex.

Comments (8)

bialix avatar bialix commented on July 19, 2024

Which OS?

from intelhex.

bialix avatar bialix commented on July 19, 2024

Confirmed with Ubuntu + Python 2.7 and 3.4

from intelhex.

bialix avatar bialix commented on July 19, 2024

As a workaround try to install from sources tarball, not from wheels, e.g.

sudo pip3 install intelhex --no-use-wheel

This worked as expected for me on Ubuntu, i.e. scripts are installed into /usr/local/bin and they HAVE executable bit set.

I'm sorry, but I have no idea what's wrong with wheel distribution archive, and more than 30 mins of googling did not reveal any clear hints how can I fix it.

Patche is welcome! though.

from intelhex.

bialix avatar bialix commented on July 19, 2024

Sorry for not working on your issue. I'm looking for a new maintainer for Python IntelHex project. I hope someone will help.

from intelhex.

mfiumara avatar mfiumara commented on July 19, 2024

@bialix I'd gladly help maintain this package.

from intelhex.

xiongyihui avatar xiongyihui commented on July 19, 2024

Rebuilding the wheel package can solve the issue

$ pip3 download intelhex==2.2.1
Collecting intelhex==2.2.1
  Using cached https://files.pythonhosted.org/packages/bf/77/bf670318b3db325c71e2ac6a90b7bcfdf9fc739b7cf6aebb31715721623e/intelhex-2.2.1-py2.py3-none-any.whl
  Saved ./intelhex-2.2.1-py2.py3-none-any.whl
Successfully downloaded intelhex
$ unzip intelhex-2.2.1-py2.py3-none-any.whl
...
$ ls intelhex-2.2.1.data/scripts/ -la
total 44
drwxr-xr-x 2 gitpod gitpod 4096 Feb  4 09:40 .
drwxr-xr-x 3 gitpod gitpod 4096 Feb  4 09:40 ..
-rw-rw-rw- 1 gitpod gitpod 3808 Jan 30  2018 bin2hex.py
-rw-rw-rw- 1 gitpod gitpod 4667 Jan 30  2018 hex2bin.py
-rw-rw-rw- 1 gitpod gitpod 4532 Jan 30  2018 hex2dump.py
-rw-rw-rw- 1 gitpod gitpod 2840 Jan 30  2018 hexdiff.py
-rw-rw-rw- 1 gitpod gitpod 3652 Jan 30  2018 hexinfo.py
-rw-rw-rw- 1 gitpod gitpod 6197 Jan 30  2018 hexmerge.py
$ git clone https://github.com/python-intelhex/intelhex.git github
$ cd github/
$ python3 setup.py bdist_wheel
$ cd dist/
$ unzip intelhex-2.2.1-py2.py3-none-any.whl
$ ls intelhex-2.2.1.data/scripts/ -la
total 44
drwxr-xr-x 2 gitpod gitpod 4096 Feb  4 09:45 .
drwxr-xr-x 3 gitpod gitpod 4096 Feb  4 09:45 ..
-rwxr-xr-x 1 gitpod gitpod 3810 Feb  4 09:45 bin2hex.py
-rwxr-xr-x 1 gitpod gitpod 4669 Feb  4 09:45 hex2bin.py
-rwxr-xr-x 1 gitpod gitpod 4534 Feb  4 09:45 hex2dump.py
-rwxr-xr-x 1 gitpod gitpod 2842 Feb  4 09:45 hexdiff.py
-rwxr-xr-x 1 gitpod gitpod 3654 Feb  4 09:45 hexinfo.py
-rwxr-xr-x 1 gitpod gitpod 6199 Feb  4 09:45 hexmerge.py

from intelhex.

xiongyihui avatar xiongyihui commented on July 19, 2024

The latest pip3 (20.0.2) doesn't have an option named --no-use-wheel

Use pip3 install https://github.com/python-intelhex/intelhex/archive/master.zip instead

from intelhex.

rotu avatar rotu commented on July 19, 2024

The latest pip3 (20.0.2) doesn't have an option named --no-use-wheel

I successfully used pip3 install intelhex --force --no-binary :all:.

from intelhex.

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.