eSSP icon indicating copy to clipboard operation
eSSP copied to clipboard

Can not use this Library in Windows

Open mminecconet opened this issue 6 years ago • 10 comments

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\

mminecconet avatar Sep 22 '17 06:09 mminecconet

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.

Minege avatar Sep 29 '17 23:09 Minege

Does not work on mac either ...same error

BytesTrust avatar Aug 12 '19 16:08 BytesTrust

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 .

Minege avatar Aug 12 '19 17:08 Minege

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/

BytesTrust avatar Aug 12 '19 19:08 BytesTrust

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 .

Minege avatar Aug 12 '19 20:08 Minege

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/

BytesTrust avatar Aug 12 '19 20:08 BytesTrust

Can you try with pip install git+ https://github.com/Minege/eSSP@unstable And pip install git+ https://github.com/Minege/eSSP@update

Minege avatar Aug 12 '19 21:08 Minege

Close issue got it install on ubuntu 16.04 Can you please give example for NV200

BytesTrust avatar Aug 12 '19 21:08 BytesTrust

There is an example in the README.md

Minege avatar Aug 12 '19 22:08 Minege

@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

URSTYLE avatar Feb 12 '20 14:02 URSTYLE