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

setupgcc-7 : command not found #35

Closed
ronnac opened this issue Apr 4, 2018 · 12 comments
Closed

setupgcc-7 : command not found #35

ronnac opened this issue Apr 4, 2018 · 12 comments

Comments

@ronnac
Copy link

ronnac commented Apr 4, 2018

Dear,

I successfully ran setup-pointles-repo.sh on my aarch64 (LG G4).
I want to switch to the gcc with setupgcc-7, but it says command not found.

My final aim is to make theano and keras work. On my previous phone (sammsung galaxy 2) it worked.
When I install your scipy, clang and pip install theano then it says "segmentation fault" when importing theano in python.
This seems to be compiler related.

@its-pointless
Copy link
Owner

have you install gcc-7 ?

@ronnac
Copy link
Author

ronnac commented Apr 5, 2018 via email

@its-pointless
Copy link
Owner

Install libcrypt-dev

@ronnac
Copy link
Author

ronnac commented Apr 6, 2018 via email

@its-pointless
Copy link
Owner

Yes i can't reproduce.

@ronnac
Copy link
Author

ronnac commented Apr 6, 2018 via email

@its-pointless
Copy link
Owner

I just imported then ... no errors

@ronnac
Copy link
Author

ronnac commented Apr 6, 2018 via email

@ronnac
Copy link
Author

ronnac commented Apr 6, 2018 via email

@ronnac
Copy link
Author

ronnac commented Apr 8, 2018 via email

@vintprox
Copy link

vintprox commented Sep 3, 2019

There is no such command after setting up repository indeed. I am confused.

@JacoCheung
Copy link

JacoCheung commented Aug 23, 2020

Indeed, I had not installed gcc-7. Now I have it installed and setupgcc-7 works. However, this doesn't solve my main problem: I cannot run theano with a compiler. It does work on my other phone (samsung g2, armv7, nougat) and it does work without compiler (but too slow). Ŵhen I install clang or gcc-7, and run theano-cache, I get an error 'python.hc not found'. That goes away with the installation of python-dev, but then I get 'crypt.h not found'. I copied different files crypt.h that I found o.j. the internet to usr/include/python3.6m/ but the best result I can get is ' segmentation fault'. Any idea? Thank you very much advance!

On 4 Apr 2018, its-pointless @.***> wrote: have you install gcc-7 ?

Can you tell me how to install gcc-7 only? I have run setup.sh.But I still wonder how to install gcc-7 in this repo.I tried to use apt install gcc-7 but it told me can't find candidate. By the way , can anyone tell me the difference between "pkg" and "apt".

the error info is:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gcc-7 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-7' has no installation candidate

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

4 participants