eSSP
eSSP copied to clipboard
Can not use this Library in Windows
I am very interested in using Mineage/eSSP for Python (2.7) on Win32 (and on Win64) platform, but I always get some error during installation:
\python.exe setup.py install running install running build running build_py Compiling library error: [WinError 2] The system cannot find the file specified
or
pip install eSSP6 Collecting eSSP6 Using cached eSSP6-1.0.6.tar.gz Installing collected packages: eSSP6 Running setup.py install for eSSP6 ... error Complete output from command c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\dejan\appdata\local\temp\pip-build-ah_vot\eSSP6\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\dejan\appdata\local\temp\pip-xsiqij-record\install-record.txt --single-version-externally-managed --compile: running install running build running build_py creating build creating build\lib creating build\lib\eSSP copying eSSP\constants.py -> build\lib\eSSP copying eSSP\eSSP.py -> build\lib\eSSP copying eSSP_init_.py -> build\lib\eSSP Compiling library error: [Error 2] The system cannot find the file specified
----------------------------------------
Command "c:\python27\python.exe -u -c "import setuptools, tokenize;file='c:\users\dejan\appdata\local\temp\pip-build-ah_vot\eSSP6\setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record c:\users\dejan\appdata\local\temp\pip-xsiqij-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\dejan\appdata\local\temp\pip-build-ah_vot\eSSP6\
Hi,
As we use ".so" libraries to get the low-level stuff done, it's normal that it doesn't work on Win32. If you can rewrite them for Windows, it will be really useful for people with a Windows environement. Anyway i recommand you to setup this kind of system in a linux environment, especially for a BTM.
Does not work on mac either ...same error
Hello, can you try to run it with python 3.6
Le lun. 12 août 2019 à 18:28, Lenz Petion [email protected] a écrit :
Does not work on mac either
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/9?email_source=notifications&email_token=ABIPWKIBDFF2ZK6TA375DDDQEGFRHA5CNFSM4D4BDUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DCNIA#issuecomment-520496800, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIPWKKF6XS5I545JNW37ZTQEGFRHANCNFSM4D4BDUOQ .
error: can't copy '/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/_eSSP/libessp.so': doesn't exist or not a regular file
----------------------------------------
Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-04bud7yr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/
Which version of the package are you trying to install? The one in the pip repository?
Try install the version on git with pip install git+ https://github.com/Minege/eSSP
Le lun. 12 août 2019 à 21:51, Lenz Petion [email protected] a écrit :
error: can't copy '/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/_eSSP/libessp.so': doesn't exist or not a regular file
Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize; file='/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-04bud7yr-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-build-3vrtg_vj/eSSP6/
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Minege/eSSP/issues/9?email_source=notifications&email_token=ABIPWKJZBMNATKX3V4EKET3QEG5KXA5CNFSM4D4BDUO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4DUG4Q#issuecomment-520569714, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIPWKJDWILHF65ONJGZQRTQEG5KXANCNFSM4D4BDUOQ .
python3.6 -m pip install git+https://github.com/Minege/eSSP
error: can't copy '/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-4ok9sknx-build/_eSSP/libessp.so': doesn't exist or not a regular file
----------------------------------------
Command "/usr/local/bin/python3.6 -u -c "import setuptools, tokenize;file='/private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-4ok9sknx-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-i95s2ec7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/97/8vd7lxr110lfrq58txz48yjh0000gn/T/pip-4ok9sknx-build/
Can you try with pip install git+ https://github.com/Minege/eSSP@unstable
And pip install git+ https://github.com/Minege/eSSP@update
Close issue got it install on ubuntu 16.04 Can you please give example for NV200
There is an example in the README.md
@Minege it's not working on OSX using pip install / pip install git+
Complete output (15 lines):
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/eSSP
copying eSSP/eSSP.py -> build/lib/eSSP
copying eSSP/constants.py -> build/lib/eSSP
copying eSSP/__init__.py -> build/lib/eSSP
Compiling library
cc -shared -fPIC -ggdb -g3 -Wl,-soname,libessp.so.1 -o libessp.so init.o ssp_helpers.o linux.o lib/bin/libitlssp.a
ld: unknown option: -soname
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libessp.so] Error 1
error: can't copy '/private/var/folders/p3/jr3zyl1s7x5b1khkwy8ldvtm0000gn/T/pip-req-build-o6zv2zfm/_eSSP/libessp.so': doesn't exist or not a regular file