Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errno 104 while install setup.py #35

Open
MStapelfeldt opened this issue Nov 14, 2016 · 6 comments
Open

Errno 104 while install setup.py #35

MStapelfeldt opened this issue Nov 14, 2016 · 6 comments

Comments

@MStapelfeldt
Copy link

Hi,
I'm trying to set up eVic SDK on Ubuntu in a virtual machine (running windows at work) and I keep on getting errors while trying to run command phython3 setup.py install.
I attache a screenshot to show you the log, maybe it's just a liitle something while connecting to pypi.python.org (the line before error).
evic

@Emilgardis
Copy link
Contributor

Try opening https://pypi.python.org/simple/click/ in your browser. Errno 104 means an RST packet was received from the server.

@MStapelfeldt
Copy link
Author

Well, I got back to an early saved state of machine, updated everything and run upgrade after that. Then followed the3 instructions till setup.py and got an other error message:
Installed /usr/local/lib/python3.4/dist-packages/click-6.6-py3.4.egg Searching for bitarray Reading https://pypi.python.org/simple/bitarray/ Best match: bitarray 0.8.1 Downloading https://pypi.python.org/packages/0a/da/9f61d28a20c42b4963334efacfd257c85150ede96d0cd2509b37da69da47/bitarray-0.8.1.tar.gz#md5=3825184f54f4d93508a28031b4c65d3b Processing bitarray-0.8.1.tar.gz Writing /tmp/easy_install-lbvxel8k/bitarray-0.8.1/setup.cfg Running bitarray-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-lbvxel8k/bitarray-0.8.1/egg-dist-tmp-9vk65u_v bitarray/_bitarray.c:9:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden #include "Python.h" ^ compilation terminated. error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Again it failed...

@Ban3
Copy link
Collaborator

Ban3 commented Nov 15, 2016

You need python headers:

sudo apt-get install python-dev

@MStapelfeldt
Copy link
Author

This didn't solve the Problem, but I copyed the full Log this time:
`root@pcw-VirtualBox:/home/pcw# apt-get install python-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
libexpat1-dev libpython-dev libpython2.7-dev python2.7-dev
Die folgenden NEUEN Pakete werden installiert:
libexpat1-dev libpython-dev libpython2.7-dev python-dev python2.7-dev
0 aktualisiert, 5 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 19,0 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 31,7 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
Holen: 1 http://de.archive.ubuntu.com/ubuntu/ vivid-updates/main libexpat1-dev amd64 2.1.0-6ubuntu1.1 [115 kB]
Holen: 2 http://de.archive.ubuntu.com/ubuntu/ vivid/main libpython2.7-dev amd64 2.7.9-2ubuntu3 [18,6 MB]
Holen: 3 http://de.archive.ubuntu.com/ubuntu/ vivid/main libpython-dev amd64 2.7.9-1 [7.836 B]
Holen: 4 http://de.archive.ubuntu.com/ubuntu/ vivid/main python2.7-dev amd64 2.7.9-2ubuntu3 [270 kB]
Holen: 5 http://de.archive.ubuntu.com/ubuntu/ vivid/main python-dev amd64 2.7.9-1 [1.220 B]
Es wurden 19,0 MB in 21 s geholt (885 kB/s).
Vormals nicht ausgewähltes Paket libexpat1-dev:amd64 wird gewählt.
(Lese Datenbank ... 206590 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../libexpat1-dev_2.1.0-6ubuntu1.1_amd64.deb ...
Entpacken von libexpat1-dev:amd64 (2.1.0-6ubuntu1.1) ...
Vormals nicht ausgewähltes Paket libpython2.7-dev:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../libpython2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
Entpacken von libpython2.7-dev:amd64 (2.7.9-2ubuntu3) ...
Vormals nicht ausgewähltes Paket libpython-dev:amd64 wird gewählt.
Vorbereitung zum Entpacken von .../libpython-dev_2.7.9-1_amd64.deb ...
Entpacken von libpython-dev:amd64 (2.7.9-1) ...
Vormals nicht ausgewähltes Paket python2.7-dev wird gewählt.
Vorbereitung zum Entpacken von .../python2.7-dev_2.7.9-2ubuntu3_amd64.deb ...
Entpacken von python2.7-dev (2.7.9-2ubuntu3) ...
Vormals nicht ausgewähltes Paket python-dev wird gewählt.
Vorbereitung zum Entpacken von .../python-dev_2.7.9-1_amd64.deb ...
Entpacken von python-dev (2.7.9-1) ...
Trigger für doc-base (0.10.6) werden verarbeitet ...
1 hinzugefügte Doc-base-Datei wird verarbeitet...
Trigger für man-db (2.7.0.2-5) werden verarbeitet ...
libexpat1-dev:amd64 (2.1.0-6ubuntu1.1) wird eingerichtet ...
libpython2.7-dev:amd64 (2.7.9-2ubuntu3) wird eingerichtet ...
libpython-dev:amd64 (2.7.9-1) wird eingerichtet ...
python2.7-dev (2.7.9-2ubuntu3) wird eingerichtet ...
python-dev (2.7.9-1) wird eingerichtet ...
root@pcw-VirtualBox:/home/pcw# apt-get install python3
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python3 ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@pcw-VirtualBox:/home/pcw# apt-get install python3-setuptools
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
python3-setuptools ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@pcw-VirtualBox:/home/pcw# apt-get install git
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
git ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
root@pcw-VirtualBox:/home/pcw# git clone https://github.com/Ban3/python-evic
Klone nach 'python-evic'...
remote: Counting objects: 506, done.
remote: Total 506 (delta 0), reused 0 (delta 0), pack-reused 505
Empfange Objekte: 100% (506/506), 120.42 KiB | 0 bytes/s, Fertig.
Löse Unterschiede auf: 100% (332/332), Fertig.
Prüfe Konnektivität... Fertig.
root@pcw-VirtualBox:/home/pcw# cd python-evic
root@pcw-VirtualBox:/home/pcw/python-evic# python3 setup.py install
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'python-apt (0.9.3.11build1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'ufw (0.34-rc-0ubuntu5)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'apturl (0.5.2ubuntu6)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.2.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.9)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.1.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.8)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.6)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.6.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.6.3)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.7)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.0dev)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.3)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.1b1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.5.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.7.1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.1.2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.5)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.4)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-2.6.2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'pytest (runner-1.0b2)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'python-apt (0.9.3.11build1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'ufw (0.34-rc-0ubuntu5)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'apturl (0.5.2ubuntu6)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-1.1.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-1.0.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-1.4.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-1.3.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-0.26)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'setuptools (scm-1.2.0)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
zip_safe flag not set; analyzing archive contents...

Installed /home/pcw/python-evic/.eggs/pytest_runner-2.9-py3.4.egg
running install
Checking .pth file support in /usr/local/lib/python3.4/dist-packages/
/usr/bin/python3 -E -c pass
TEST PASSED: /usr/local/lib/python3.4/dist-packages/ appears to support .pth files
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'python-apt (0.9.3.11build1)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'ufw (0.34-rc-0ubuntu5)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
/usr/lib/python3/dist-packages/pkg_resources/init.py:2512: PEP440Warning: 'apturl (0.5.2ubuntu6)' is being parsed as a legacy, non PEP 440, version. You may find odd behavior and sort order. In particular it will be sorted as less than 0.0. It is recommend to migrate to PEP 440 compatible versions.
PEP440Warning,
running bdist_egg
running egg_info
creating evic.egg-info
writing requirements to evic.egg-info/requires.txt
writing evic.egg-info/PKG-INFO
writing dependency_links to evic.egg-info/dependency_links.txt
writing entry points to evic.egg-info/entry_points.txt
writing top-level names to evic.egg-info/top_level.txt
writing manifest file 'evic.egg-info/SOURCES.txt'
reading manifest file 'evic.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching 'pycache' found under directory ''
warning: no previously-included files matching '
.py[co]' found under directory ''
warning: no files found matching '
.rst' under directory '*'
writing manifest file 'evic.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/evic
copying evic/dataflash.py -> build/lib/evic
copying evic/aprom.py -> build/lib/evic
copying evic/logo.py -> build/lib/evic
copying evic/init.py -> build/lib/evic
copying evic/device.py -> build/lib/evic
copying evic/cli.py -> build/lib/evic
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/dataflash.py -> build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/aprom.py -> build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/logo.py -> build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/init.py -> build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/device.py -> build/bdist.linux-x86_64/egg/evic
copying build/lib/evic/cli.py -> build/bdist.linux-x86_64/egg/evic
byte-compiling build/bdist.linux-x86_64/egg/evic/dataflash.py to dataflash.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/evic/aprom.py to aprom.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/evic/logo.py to logo.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/evic/init.py to init.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/evic/device.py to device.cpython-34.pyc
byte-compiling build/bdist.linux-x86_64/egg/evic/cli.py to cli.cpython-34.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/udev
copying udev/99-nuvoton-hid.rules -> build/bdist.linux-x86_64/egg/udev
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/entry_points.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evic.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/evic-0.1-py3.4.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing evic-0.1-py3.4.egg
Copying evic-0.1-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Adding evic 0.1 to easy-install.pth file
Installing evic-convert script to /usr/local/bin
Installing evic script to /usr/local/bin
Installing evic-usb script to /usr/local/bin

Installed /usr/local/lib/python3.4/dist-packages/evic-0.1-py3.4.egg
Processing dependencies for evic==0.1
Searching for click
Reading https://pypi.python.org/simple/click/
Best match: click 6.6
Downloading https://pypi.python.org/packages/7a/00/c14926d8232b36b08218067bcd5853caefb4737cda3f0a47437151344792/click-6.6.tar.gz#md5=d0b09582123605220ad6977175f3e51d
Processing click-6.6.tar.gz
Writing /tmp/easy_install-te32hv59/click-6.6/setup.cfg
Running click-6.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-te32hv59/click-6.6/egg-dist-tmp-o3jzt_ut
warning: no previously-included files matching '.pyc' found under directory 'docs'
warning: no previously-included files matching '
.pyo' found under directory 'docs'
warning: no previously-included files matching '.pyc' found under directory 'tests'
warning: no previously-included files matching '
.pyo' found under directory 'tests'
warning: no previously-included files matching '.pyc' found under directory 'examples'
warning: no previously-included files matching '
.pyo' found under directory 'examples'
no previously-included directories found matching 'docs/_build'
zip_safe flag not set; analyzing archive contents...
click.pycache.core.cpython-34: module references file
creating /usr/local/lib/python3.4/dist-packages/click-6.6-py3.4.egg
Extracting click-6.6-py3.4.egg to /usr/local/lib/python3.4/dist-packages
Adding click 6.6 to easy-install.pth file

Installed /usr/local/lib/python3.4/dist-packages/click-6.6-py3.4.egg
Searching for bitarray
Reading https://pypi.python.org/simple/bitarray/
Best match: bitarray 0.8.1
Downloading https://pypi.python.org/packages/0a/da/9f61d28a20c42b4963334efacfd257c85150ede96d0cd2509b37da69da47/bitarray-0.8.1.tar.gz#md5=3825184f54f4d93508a28031b4c65d3b
Processing bitarray-0.8.1.tar.gz
Writing /tmp/easy_install-wpjm47no/bitarray-0.8.1/setup.cfg
Running bitarray-0.8.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-wpjm47no/bitarray-0.8.1/egg-dist-tmp-xscpf0f1
bitarray/_bitarray.c:9:20: fatal error: Python.h: Datei oder Verzeichnis nicht gefunden
#include "Python.h"
^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
`

@ghost
Copy link

ghost commented Aug 18, 2017

my notes:

INSTALL evic SDK Ubuntu 17 ( fresh installation KVM , no updates)
gcc 6.3.0 already installed
Python 3.5.3 already installed

sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
sudo apt-get update
sudo apt-get install gcc-arm-embedded

sudo apt-get install libstdc++6
sudo apt-get install python3-dev
sudo apt-get install python3-bitarray

sudo apt-get install git

git clone https://github.com/Ban3/python-evicpython
cd python-evic
sudo python3 setup.py install

sudo apt-get install libudev-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libhidapi-dev
sudo apt-get install patch
sudo apt-get install cython3

https://pypi.python.org/pypi/pip
wget https://pypi.python.org/packages/11/b6/abcb525026a4be042b486df43905d6893fb04f05aac21c32c638e939e447/pip-9.0.1.tar.gz#md5=35f01da33009719497f01a4ba69d63c9
tar -xzvf pip-9.0.1.tar.gz
cd pip-9.0.1
sudo python3 setup.py install
pip3 install pillow

cd ..
wget https://pypi.python.org/packages/source/h/hidapi/hidapi-0.7.99.post12.tar.gz
wget http://pastebin.com/raw/16E7UdNF && echo >> 16E7UdNF
tar -zxvf hidapi-0.7.99.post12.tar.gz
patch -s -p0 < 16E7UdNF
cd hidapi-0.7.99.post12
python3 setup.py install

cd ..

git clone https://github.com/ReservedField/evic-sdk.git
download M451 Series_BSP_CMSIS_V3.01.001.zip
Extract "library" and copy it under the evic-sdk/nuvoton-sdk folder

cd evic-sdk
echo "export EVICSDK=$(pwd)" >> $HOME/.bashrc
RESTART terminal
Verify the variable path : echo $EVICSDK

make

@ghost
Copy link

ghost commented Aug 18, 2017

INSTALL evic SDK Linux mint 18.2

Gcc 5.4.0 already installed
Python 3.5.2

sudo apt-get install gcc-arm-none-eabi
sudo apt-get install libstdc++6

sudo apt-get install python3-dev
sudo apt-get install python3-bitarray

git clone https://github.com/Ban3/python-evic
cd python-evic
sudo python3 setup.py install

sudo apt-get install libudev-dev
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libhidapi-dev
sudo apt-get install patch ( se non esiste)
sudo apt-get install cython

...see above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants