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

Can not use this Library in Windows #9

Open
mminecconet opened this issue Sep 22, 2017 · 10 comments
Open

Can not use this Library in Windows #9

mminecconet opened this issue Sep 22, 2017 · 10 comments

Comments

@mminecconet
Copy link

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\

@Minege
Copy link
Owner

Minege commented Sep 29, 2017

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.

@BytesTrust
Copy link

BytesTrust commented Aug 12, 2019

Does not work on mac either ...same error

@Minege
Copy link
Owner

Minege commented Aug 12, 2019 via email

@BytesTrust
Copy link

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/

@Minege
Copy link
Owner

Minege commented Aug 12, 2019 via email

@BytesTrust
Copy link

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/

@Minege
Copy link
Owner

Minege commented Aug 12, 2019

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

@BytesTrust
Copy link

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

@Minege
Copy link
Owner

Minege commented Aug 12, 2019

There is an example in the README.md

@URSTYLE
Copy link

URSTYLE commented Feb 12, 2020

@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

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

No branches or pull requests

4 participants