Comments (8)
Which OS?
from intelhex.
Confirmed with Ubuntu + Python 2.7 and 3.4
from intelhex.
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.
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.
@bialix I'd gladly help maintain this package.
from intelhex.
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.
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.
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)
- Can you add hex file support for TI C28x DSP? HOT 7
- TypeError while loading from TemporaryFile (Python 3) HOT 2
- hexdiff.py not working on Ubuntu 19.10 HOT 7
- The binary limitation of bin2hex is 4Kbytes. HOT 3
- Option to insert 'Extended Segment Address' record type instead of 'Extended Linear Address' HOT 6
- Starting Address record line is always the first line, but in original file it was last line HOT 11
- tostring bug when using Python 3.9 HOT 14
- Merge fails on two IntelHex16bit files... HOT 1
- A [0:0] slice will return the entire contents, when it should return a empty object HOT 1
- Array attribute HOT 2
- list(ih) causes the Python interpreter to hang up HOT 1
- Is it possible to get rid of those padding byte in list(ih)? HOT 8
- padding byte not retained in slices HOT 1
- Check two IntelHex objects equality HOT 7
- intelhex hangs on using `in` operator HOT 2
- CS:IP entry point calculation seems to be incorrect HOT 2
- Swapping of bytes HOT 2
- bin2hex.py adds extra random byte HOT 2
- Search doesn't appear to work on the readthedocs site.
- Documentation for hex2bin function is not generated.
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 intelhex.