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

Installation issue after update #19

Closed
PyWaves opened this issue Apr 14, 2018 · 6 comments
Closed

Installation issue after update #19

PyWaves opened this issue Apr 14, 2018 · 6 comments

Comments

@PyWaves
Copy link

PyWaves commented Apr 14, 2018

Hi Tarek,

thanks for accepting the pull request fixing the limit of the message length. Anyway, when i now try to install the library via pip, i get the following error:

The directory '/Users/marcjansen/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/marcjansen/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting python-axolotl-curve25519
Downloading python-axolotl-curve25519-0.4.1.post1.tar.gz (79kB)
100% |████████████████████████████████| 81kB 1.3MB/s
Installing collected packages: python-axolotl-curve25519
Running setup.py install for python-axolotl-curve25519 ... error
Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-VWQUs5/python-axolotl-curve25519/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-u9E4Pi-record/install-record.txt --single-version-externally-managed --compile:
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/setuptools/dist.py:285: UserWarning: Normalizing '0.4.1-1' to '0.4.1.post1'
normalized_version,
running install
running build
running build_ext
building 'axolotl_curve25519' extension
error: unknown file type '.h' (from 'curve/ed25519/additions/compare.h')

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-VWQUs5/python-axolotl-curve25519/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-u9E4Pi-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-VWQUs5/python-axolotl-curve25519/

Greets
Marc

@tgalal
Copy link
Owner

tgalal commented Apr 14, 2018

sorry I screwed up the release, fixed in 0.4.1-2

@tgalal tgalal closed this as completed Apr 14, 2018
@PyWaves
Copy link
Author

PyWaves commented Apr 14, 2018 via email

@SalahAdDin
Copy link

@tgalal I'm still getting this bug:

Running setup.py install for python-axolotl-curve25519: started
    Running setup.py install for python-axolotl-curve25519: finished with status 'error'
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-16iqgzg4/python-axolotl-curve25519/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zza5yxr7-record/install-record.txt --single-version-externally-managed --compile:
    /usr/local/lib/python3.5/dist-packages/setuptools/dist.py:470: UserWarning: Normalizing '0.4.1-2' to '0.4.1.post2'
      normalized_version,
    running install
    running build
    running build_ext
    building 'axolotl_curve25519' extension
    creating build
    creating build/temp.linux-x86_64-3.5
    creating build/temp.linux-x86_64-3.5/curve
    creating build/temp.linux-x86_64-3.5/curve/ed25519
    creating build/temp.linux-x86_64-3.5/curve/ed25519/additions
    creating build/temp.linux-x86_64-3.5/curve/ed25519/nacl_sha512
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fdebug-prefix-map=/build/python3.5-3.5.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Icurve/ed25519/nacl_includes -Icurve/ed25519/additions -Icurve/ed25519 -I/usr/include/python3.5m -c curve/curve25519-donna.c -o build/temp.linux-x86_64-3.5/curve/curve25519-donna.o
    unable to execute 'x86_64-linux-gnu-gcc': No such file or directory
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-16iqgzg4/python-axolotl-curve25519/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-zza5yxr7-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-16iqgzg4/python-axolotl-curve25519/

@jsam2412
Copy link

jsam2412 commented Feb 5, 2020

@SalahAdDin have you found the solution?
I am also gettig the same error

@SalahAdDin
Copy link

No, i left it long time ago.

@arturspon
Copy link

arturspon commented Mar 5, 2020

I got it after running this:
sudo apt-get install cmake
sudo apt-get install gcc g++
sudo apt-get install python3-dev python3-numpy

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

5 participants