[sage-devel] Adding Turing Machines

2019-04-01 Thread Quentin Hillebrand
Hello,

For a school project, me and some classmates have implemented in Sage 
functions for the printing of Turing Machines along with the execution.
We were wondering in what way those could be incorporated to Sage and if 
anyone has any suggestion on the requiered functions for a submission to 
Sage.

Thank you and have a nice day,

Quentin Hillebrand

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Error building Sage

2019-02-27 Thread Quentin Hillebrand
Thank you very much, it's working perfectly.

And I am the one who's sorry for not asking in English in the first place.

Le jeudi 28 février 2019 07:02:49 UTC+9, John H Palmieri a écrit :
>
> Please try this:
>
> ./sage -f zlib
> ./sage -f python2 python3
> make
>
> and see if that fixes the problem. (Apologies for not responding in 
> French.)
>
>
>
> On Wednesday, February 27, 2019 at 1:52:02 PM UTC-8, Quentin Hillebrand 
> wrote:
>>
>> En compilant avec make j'obtiens j'obtiens une erreure lors de la 
>> construction de pip-18.0.
>>
>> Je suis sur un MacBook Pro avec macOS Mojave Version 10.14.3.
>>
>> Merci d'avance de votre attention
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Error building Sage

2019-02-27 Thread Quentin Hillebrand
En compilant avec make j'obtiens j'obtiens une erreure lors de la 
construction de pip-18.0.

Je suis sur un MacBook Pro avec macOS Mojave Version 10.14.3.

Merci d'avance de votre attention

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
Found local metadata for pip-18.0
Using cached file 
/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/upstream/pip-18.0.tar.gz
pip-18.0

Setting up build directory for pip-18.0
Finished extraction
No patch files found in ../patches

Host system:
Darwin MacBook-Pro-de-Quentin.local 18.2.0 Darwin Kernel Version 18.2.0: Thu 
Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64

C compiler: gcc
C compiler version:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr 
--with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.5)
Target: x86_64-apple-darwin18.2.0
Thread model: posix
InstalledDir: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

No record that 'pip' was ever installed; skipping uninstall
Traceback (most recent call last):
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/lib/python3.6/runpy.py",
 line 193, in _run_module_as_main
"__main__", mod_spec)
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/lib/python3.6/runpy.py",
 line 85, in _run_code
exec(code, run_globals)
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0/src/src/pip/__main__.py",
 line 16, in 
from pip._internal import main as _main  # isort:skip # noqa
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0/src/src/pip/_internal/__init__.py",
 line 20, in 
from pip._vendor.urllib3.exceptions import DependencyWarning
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/__init__.py",
 line 8, in 
from .connectionpool import (
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/connectionpool.py",
 line 36, in 
from .response import HTTPResponse
  File 
"/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/response.py",
 line 3, in 
import zlib
ModuleNotFoundError: No module named 'zlib'

Error building / installing pip3


real0m0.218s
user0m0.152s
sys 0m0.054s

Error installing package pip-18.0

Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the log file
  /Users/quentin/Documents/M1/Projet_Integre/sage-8.6/logs/pkgs/pip-18.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0
 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/local/var/tmp/sage/build/pip-18.0'
 && '/Users/quentin/Documents/M1/Projet_Integre/sage-8.6/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.