Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Mam problem z instalacją pythona.
tajwan@tajwan:~/Pobrane/Python-3.4.1$ ls config.guess Doc Lib Misc PC README config.sub Grammar LICENSE Modules PCbuild setup.py configure Include Mac Objects pyconfig.h.in Tools configure.ac install-sh Makefile.pre.in Parser Python
[url]http://wklej.org/id/1419734/[/url]
[url]http://wklej.org/id/1419735/[/url]
tajwan@tajwan:~/Pobrane/Python-3.4.1$ make test running build running build_ext INFO: Can't locate Tcl/Tk libs and/or headers Python build finished successfully! The necessary bits to build these optional modules were not found: _bz2 _curses _curses_panel _dbm _gdbm _lzma _sqlite3 _ssl _tkinter readline zlib To find the necessary bits, look in setup.py in detect_modules() for the module's name. running build_scripts copying and adjusting /home/tajwan/Pobrane/Python-3.4.1/Tools/scripts/pydoc3 -> build/scripts-3.4 copying and adjusting /home/tajwan/Pobrane/Python-3.4.1/Tools/scripts/idle3 -> build/scripts-3.4 copying and adjusting /home/tajwan/Pobrane/Python-3.4.1/Tools/scripts/2to3 -> build/scripts-3.4 copying and adjusting /home/tajwan/Pobrane/Python-3.4.1/Tools/scripts/pyvenv -> build/scripts-3.4 changing mode of build/scripts-3.4/pydoc3 from 644 to 755 changing mode of build/scripts-3.4/idle3 from 644 to 755 changing mode of build/scripts-3.4/2to3 from 644 to 755 changing mode of build/scripts-3.4/pyvenv from 644 to 755 renaming build/scripts-3.4/pydoc3 to build/scripts-3.4/pydoc3.4 renaming build/scripts-3.4/idle3 to build/scripts-3.4/idle3.4 renaming build/scripts-3.4/2to3 to build/scripts-3.4/2to3-3.4 renaming build/scripts-3.4/pyvenv to build/scripts-3.4/pyvenv-3.4 ./python -E -c 'import sys ; from sysconfig import get_platform ; print(get_platform()+"-"+sys.version[0:3])' >platform ./python ./Tools/scripts/run_tests.py /home/tajwan/Pobrane/Python-3.4.1/python -W default -bb -E -R -W error::BytesWarning -m test -r -w -j 0 -u all,-largefile,-audio,-gui == CPython 3.4.1 (default, Jul 18 2014, 09:42:55) [GCC 4.9.0] == Linux-3.14-1-amd64-x86_64-with-debian-jessie-sid little-endian == hash algorithm: siphash24 64bit == /home/tajwan/Pobrane/Python-3.4.1/build/test_python_12580 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=1, verbose=0, bytes_warning=2, quiet=0, hash_randomization=1, isolated=0) Using random seed 2304497 [ 1/388] test_marshal [ 2/388] test_codecencodings_kr [ 3/388] test_metaclass [ 4/388] test_winreg test_winreg skipped -- No module named 'winreg' [ 5/388] test_rlcompleter [ 6/388] test_heapq [ 7/388] test_dis [ 8/388] test_structmembers [ 9/388] test_base64 [ 10/388] test_cgi [ 11/388] test_pickletools [ 12/388] test_scope [ 13/388] test_array [ 14/388] test_shelve [ 15/388] test_strtod [ 16/388] test_raise [ 17/388] test_codecmaps_tw fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT ... [ 18/388] test_univnewlines [ 19/388] test_collections [ 20/388] test_optparse [ 21/388] test_calendar [ 22/388] test_codecmaps_cn fetching http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml ... fetching http://people.freebsd.org/~perky/i18n/EUC-CN.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP936.TXT ... [ 23/388] test_colorsys [ 24/388] test_threaded_import [ 25/388] test_compare [ 26/388] test_unpack_ex [ 27/388] test_crashers [ 28/388] test_fileio [ 29/388] test_ucn fetching http://www.unicode.org/Public/6.3.0/ucd/NamedSequences.txt ... [ 30/388] test_global [ 31/388] test_enum [ 32/388] test_startfile test_startfile skipped -- object <module 'os' from '/home/tajwan/Pobrane/Python-3.4.1/Lib/os.py'> has no attribute 'startfile' [ 33/388] test_struct [ 34/388] test_asynchat [ 35/388] test_bool [ 36/388] test_ttk_textonly test_ttk_textonly skipped -- No module named '_tkinter' [ 37/388] test_io [ 38/388] test_largefile [ 39/388] test_getpass [ 40/388] test_ioctl [ 41/388] test_isinstance [ 42/388] test_doctest2 [ 43/388] test_setcomps [ 44/388] test_reprlib [ 45/388] test_mimetypes [ 46/388] test_subprocess [ 47/388] test_threadsignals [ 48/388] test_file [ 49/388] test_tarfile [ 50/388] test_xml_etree_c [ 51/388] test_eof [ 52/388] test_multiprocessing_fork [ 53/388] test_dbm_dumb [ 54/388] test_pyclbr [ 55/388] test_pwd [ 56/388] test_wait4 [ 57/388] test_strlit [ 58/388] test_dynamicclassattribute [ 59/388] test_smtpd [ 60/388] test_gzip test_gzip skipped -- No module named 'zlib' [ 61/388] test_argparse [ 62/388] test_listcomps [ 63/388] test__locale [ 64/388] test_codecs [ 65/388] test_pty [ 66/388] test_descrtut [ 67/388] test_pulldom [ 68/388] test_class [ 69/388] test_epoll [ 70/388] test__opcode [ 71/388] test_zipimport [ 72/388] test_readline test_readline skipped -- No module named 'readline' [ 73/388] test_msilib test_msilib skipped -- No module named '_msi' [ 74/388] test_trace [ 75/388] test_gettext [ 76/388] test_doctest [ 77/388] test_future [ 78/388] test_textwrap [ 79/388] test_unicode_file [ 80/388] test_queue [ 81/388] test_crypt [ 82/388] test_urllib_response [ 83/388] test_poplib [ 84/388] test_devpoll test_devpoll skipped -- test works only on Solaris OS family [ 85/388] test_ossaudiodev test_ossaudiodev skipped -- Use of the 'audio' resource not enabled [ 86/388] test_abstract_numbers [ 87/388] test_imp [ 88/388] test_urllib [ 89/388] test_descr [ 90/388] test_compileall [ 91/388] test_linecache [ 92/388] test_pep380 [ 93/388] test_wave [ 94/388] test_weakset [ 95/388] test_dictcomps [ 96/388] test_unicode [ 97/388] test_glob [ 98/388] test_pep352 [ 99/388] test_zipfile64 test_zipfile64 skipped -- test requires loads of disk-space bytes and a long time to run [100/388] test_mmap [101/388] test_http_cookies [102/388] test_ensurepip [103/388] test_source_encoding [104/388] test_shlex [105/388] test_pow [106/388] test_venv [107/388] test_minidom [108/388] test_parser [109/388] test_cmd_line_script [110/388] test_codecencodings_jp [111/388] test_bigaddrspace [112/388] test_binop [113/388] test_binascii [114/388] test_augassign [115/388] test_unicodedata [116/388] test_sys_settrace [117/388] test_logging [118/388] test_xmlrpc [119/388] test_sys_setprofile [120/388] test_pipes [121/388] test_openpty [122/388] test_bigmem [123/388] test_tk test_tk skipped -- No module named '_tkinter' [124/388] test_print [125/388] test_profile [126/388] test_code [127/388] test_httplib [128/388] test_bisect [129/388] test_userstring [130/388] test_pep292 [131/388] test_nis [132/388] test_multibytecodec [133/388] test__osx_support [134/388] test_statistics [135/388] test_resource [136/388] test_py_compile [137/388] test_int [138/388] test___all__ Warning -- locale was modified by test___all__ [139/388] test_audioop [140/388] test_faulthandler [141/388] test_wait3 [142/388] test_call [143/388] test_copy [144/388] test_osx_env [145/388] test_int_literal [146/388] test_pep3120 [147/388] test_dynamic [148/388] test_codecencodings_iso2022 [149/388] test_keywordonlyarg [150/388] test_contains [151/388] test_warnings Warning -- warnings.filters was modified by test_warnings [152/388] test_bytes [153/388] test_atexit [154/388] test_fork1 [155/388] test_telnetlib [156/388] test_defaultdict [157/388] test_pyexpat [158/388] test_locale [159/388] test_getargs2 [160/388] test_support [161/388] test_pkg [162/388] test_ctypes [163/388] test_dbm_ndbm test_dbm_ndbm skipped -- No module named '_dbm' [164/388] test_getopt [165/388] test_uuid [166/388] test_xdrlib [167/388] test_pep3151 [168/388] test_dbm [169/388] test_charmapcodec [170/388] test_pep3131 [171/388] test_pkgutil [172/388] test_future5 [173/388] test_thread [174/388] test_sys [175/388] test_traceback [176/388] test_dbm_gnu test_dbm_gnu skipped -- No module named '_gdbm' [177/388] test_codeccallbacks [178/388] test_distutils [179/388] test_site [180/388] test_pprint [181/388] test_runpy [182/388] test_iterlen [183/388] test_socketserver [184/388] test_imghdr [185/388] test_string [186/388] test_sndhdr [187/388] test_hash [188/388] test_weakref [189/388] test_csv [190/388] test_sunau [191/388/1] test_urllib2net test test_urllib2net failed -- multiple errors occurred; run in verbose mode for details [192/388/1] test_signal [193/388/1] test_ast [194/388/1] test_tokenize [195/388/1] test_multiprocessing_forkserver [196/388/1] test_cmd [197/388/1] test_mailcap [198/388/1] test_platform [199/388/1] test_codecencodings_cn [200/388/1] test_grammar [201/388/1] test_htmlparser [202/388/1] test_frame [203/388/1] test_memoryview [204/388/1] test_range [205/388/1] test_math [206/388/1] test_decimal [207/388/1] test_structseq [208/388/1] test_tuple [209/388/1] test_binhex [210/388/1] test_select [211/388/1] test_userdict [212/388/1] test_symtable [213/388/1] test_smtpnet test_smtpnet skipped -- No module named '_ssl' [214/388/1] test_itertools [215/388/1] test_json [216/388/1] test_cmath [217/388/1] test_xml_dom_minicompat [218/388/1] test_compile [219/388/1] test_generators [220/388/1] test_pydoc [221/388/1] test_stat [222/388/1] test_grp [223/388/1] test_regrtest [224/388/1] test_lzma test_lzma skipped -- No module named '_lzma' [225/388/1] test_tools [226/388/1] test_fnmatch [227/388/1] test_types [228/388/1] test_docxmlrpc [229/388/1] test_unary [230/388/1] test_netrc [231/388/1] test_extcall [232/388/1] test_codecmaps_kr fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP949.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-KR.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/KSC/JOHAB.TXT ... [233/388/1] test_idle test_idle skipped -- No module named '_tkinter' [234/388/1] test_os [235/388/1] test_urllib2_localnet [236/388/1] test_sqlite test_sqlite skipped -- No module named '_sqlite3' [237/388/1] test_popen [238/388/1] test_configparser [239/388/1] test_cgitb [240/388/1] test_typechecks [241/388/1] test_slice [242/388/1] test_longexp [243/388/1] test_super [244/388/1] test_socket [245/388/1] test_set [246/388/1] test_future4 [247/388/1] test_curses test_curses skipped -- No module named '_curses' [248/388/1] test_capi [249/388/1] test_pkgimport [250/388/1] test_datetime [251/388/1] test_bufio [252/388/1] test_builtin [253/388/1] test_cprofile [254/388/1] test_gdb test_gdb skipped -- Couldn't find gdb on the path [255/388/1] test_unittest [256/388/1] test_xmlrpc_net [257/388/1] test_fcntl [258/388/1] test_imaplib [259/388/1] test_random [260/388/1] test_syntax [261/388/1] test_codecmaps_hk fetching http://people.freebsd.org/~perky/i18n/BIG5HKSCS-2004.TXT ... [262/388/1] test_asyncio [263/388/1] test_hashlib /home/tajwan/Pobrane/Python-3.4.1/Lib/test/test_hashlib.py:52: UserWarning: Did a C extension fail to compile? No module named '_hashlib' warnings.warn('Did a C extension fail to compile? %s' % error) [264/388/1] test_wsgiref [265/388/1] test_importlib [266/388/1] test_unpack [267/388/1] test_xml_etree [268/388/1] test_dictviews [269/388/1] test_shutil [270/388/1] test_asyncore [271/388/1] test_ssl test_ssl skipped -- No module named '_ssl' [272/388/1] test_threading [273/388/1] test_complex [274/388/1] test_numeric_tower [275/388/1] test_pdb [276/388/1] test_import [277/388/1] test_copyreg [278/388/1] test_robotparser [279/388/1] test_strftime [280/388/1] test_re [281/388/1] test_posixpath [282/388/1] test_abc [283/388/1] test_urlparse [284/388/1] test_smtplib /home/tajwan/Pobrane/Python-3.4.1/Lib/socket.py:444: ResourceWarning: unclosed <socket.socket fd=5, family=AddressFamily.AF_INET, type=2049, proto=6, laddr=('127.0.0.1', 41877), raddr=('127.0.0.1', 35289)> self._sock = None [285/388/1] test_hmac [286/388/1] test_fileinput [287/388/1] test_exception_variations [288/388/1] test_pep277 [289/388/1] test_richcmp [290/388/1] test_nntplib [291/388/1] test_sched [292/388/1] test_pathlib [293/388/1] test_html [294/388/1] test_aifc [295/388/1] test_posix [296/388/1] test_enumerate [297/388/1] test_poll [298/388/1] test_gc [299/388/1] test_multiprocessing_main_handling [300/388/1] test_codecencodings_hk [301/388/1] test_memoryio [302/388/1] test_pstats [303/388/1] test_ttk_guionly test_ttk_guionly skipped -- No module named '_tkinter' [304/388/1] test_long [305/388/1] test_stringprep [306/388/1] test_http_cookiejar [307/388/1] test_funcattrs [308/388/1] test_modulefinder [309/388/1] test_difflib [310/388/1] test_with [311/388/1] test_buffer [312/388/1] test_tracemalloc [313/388/1] test_codecencodings_tw [314/388/1] test_inspect [315/388/1] test_time [316/388/1] test_finalization [317/388/1] test_zlib test_zlib skipped -- No module named 'zlib' [318/388/1] test_index [319/388/1] test_sax [320/388/1] test_float [321/388/1] test_urllibnet /home/tajwan/Pobrane/Python-3.4.1/Lib/test/test_urllibnet.py:94: DeprecationWarning: FancyURLopener style of invoking requests is deprecated. Use newer urlopen functions/methods open_url = urllib.request.FancyURLopener().open(URL) [322/388/1] test_flufl [323/388/1] test_functools [324/388/1] test_syslog [325/388/1] test_zipimport_support [326/388/1] test_keyword [327/388/1] test_tempfile [328/388/1] test_macurl2path [329/388/1] test_normalization fetching http://www.unicode.org/Public/6.3.0/ucd/NormalizationTest.txt ... [330/388/1] test_urllib2 [331/388/1] test_file_eintr [332/388/1] test_bz2 test_bz2 skipped -- No module named '_bz2' [333/388/1] test_sysconfig [334/388/1] test_timeout Resource 'blackhole.snakebite.net' is not available [335/388/1] test_property [336/388/1] test_sundry [337/388/1] test_fractions [338/388/1] test_dummy_threading [339/388/1] test_plistlib [340/388/1] test_ftplib [341/388/1] test_macpath [342/388/1] test_codeop [343/388/1] test_userlist [344/388/1] test_uu [345/388/1] test_quopri [346/388/1] test_timeit [347/388/1] test_mailbox [348/388/1] test_peepholer [349/388/1] test_pep247 [350/388/1] test_ipaddress [351/388/1] test_exceptions [352/388/1] test_cmd_line [353/388/1] test_deque [354/388/1] test_ntpath [355/388/1] test_email [356/388/1] test_genexps [357/388/1] test_errno [358/388/1] test_operator [359/388/1] test_future3 [360/388/1] test_opcodes [361/388/1] test_zipfile [362/388/1] test_tcl test_tcl skipped -- No module named '_tkinter' [363/388/1] test_winsound test_winsound skipped -- Use of the 'audio' resource not enabled [364/388/1] test_threadedtempfile [365/388/1] test_genericpath [366/388/1] test_pickle [367/388/1] test_contextlib [368/388/1] test_format [369/388/1] test_code_module [370/388/1] test_module [371/388/1] test_selectors [372/388/1] test_strptime [373/388/1] test_codecmaps_jp fetching http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP932.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-JISX0213.TXT ... fetching http://people.freebsd.org/~perky/i18n/EUC-JP.TXT ... fetching http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/JIS/SHIFTJIS.TXT ... fetching http://people.freebsd.org/~perky/i18n/SHIFT_JISX0213.TXT ... [374/388/1] test_dummy_thread [375/388/1] test_decorators [376/388/1] test_list [377/388/1] test_dict [378/388/1] test_sort [379/388/1] test_webbrowser [380/388/1] test_iter [381/388/1] test_kqueue test_kqueue skipped -- test works only on BSD [382/388/1] test_httpservers [383/388/1] test_filecmp [384/388/1] test___future__ [385/388/1] test_threading_local [386/388/1] test_lib2to3 [387/388/1] test_concurrent_futures [388/388/1] test_multiprocessing_spawn 360 tests OK. 1 test failed: test_urllib2net 2 tests altered the execution environment: test___all__ test_warnings 25 tests skipped: test_bz2 test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_gdb test_gzip test_idle test_kqueue test_lzma test_msilib test_ossaudiodev test_readline test_smtpnet test_sqlite test_ssl test_startfile test_tcl test_tk test_ttk_guionly test_ttk_textonly test_winreg test_winsound test_zipfile64 test_zlib Re-running failed tests in verbose mode Re-running test 'test_urllib2net' in verbose mode test_close (test.test_urllib2net.CloseSocketTest) ... ok test_custom_headers (test.test_urllib2net.OtherNetworkTests) ... ok test_file (test.test_urllib2net.OtherNetworkTests) ... ok test_ftp (test.test_urllib2net.OtherNetworkTests) ... ok test_redirect_url_withfrag (test.test_urllib2net.OtherNetworkTests) ... ERROR test_sites_no_connection_close (test.test_urllib2net.OtherNetworkTests) ... ok test_urlwithfrag (test.test_urllib2net.OtherNetworkTests) ... ERROR test_ftp_basic (test.test_urllib2net.TimeoutTest) ... ok test_ftp_default_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_no_timeout (test.test_urllib2net.TimeoutTest) ... ok test_ftp_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_basic (test.test_urllib2net.TimeoutTest) ... ok test_http_default_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_no_timeout (test.test_urllib2net.TimeoutTest) ... ok test_http_timeout (test.test_urllib2net.TimeoutTest) ... ok ====================================================================== ERROR: test_redirect_url_withfrag (test.test_urllib2net.OtherNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tajwan/Pobrane/Python-3.4.1/Lib/test/test_urllib2net.py", line 171, in test_redirect_url_withfrag res = urllib.request.urlopen(req) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 461, in open response = meth(req, response) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 571, in http_response 'http', request, response, code, msg, hdrs) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 493, in error result = self._call_chain(*args) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 676, in http_error_302 return self.parent.open(new, timeout=req.timeout) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 1257, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: <urlopen error unknown url type: https> ====================================================================== ERROR: test_urlwithfrag (test.test_urllib2net.OtherNetworkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/tajwan/Pobrane/Python-3.4.1/Lib/test/test_urllib2net.py", line 163, in test_urlwithfrag res = urllib.request.urlopen(req) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 153, in urlopen return opener.open(url, data, timeout) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 455, in open response = self._open(req, data) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 478, in _open 'unknown_open', req) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 433, in _call_chain result = func(*args) File "/home/tajwan/Pobrane/Python-3.4.1/Lib/urllib/request.py", line 1257, in unknown_open raise URLError('unknown url type: %s' % type) urllib.error.URLError: <urlopen error unknown url type: https> ---------------------------------------------------------------------- Ran 15 tests in 12.928s FAILED (errors=2) test test_urllib2net failed Makefile:942: polecenia dla obiektu 'test' nie powiodły się make: *** [test] Błąd 1 tajwan@tajwan:~/Pobrane/Python-3.4.1$
[url]http://wklej.org/id/1419733/[/url]
tego nie mam
[img]http://centurion2.com/Python/PythonShell2.JPG[/img]
Ostatnio edytowany przez tajwan (2014-07-18 10:11:43)
Offline
Wyjaśnisz mi powód czemu instalujesz pythona ze strony projektu zamiast skorzystać z repo (zwlaszcza,że na 90% masz juz go w systemie)
Poza tym na linuxie konsole pythona masz dostepną po wpisaniu python w konsoli
Ostatnio edytowany przez thomsson (2014-07-18 12:42:08)
Offline
tajwan@tajwan:~$ python
[b]Python 2.7.8[/b] (default, Jul 4 2014, 13:08:34)
[GCC 4.9.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Ostatnio edytowany przez tajwan (2014-07-18 13:37:26)
Offline
python3 Python 3.4.1 (default, Jul 18 2014, 09:42:55) [GCC 4.9.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>>
Offline
Teraz już spoko a jak spolszczyć IDLE, oraz nie mogę wejść w opcje IDLE.
Ostatnio edytowany przez tajwan (2014-07-18 14:42:31)
Offline
Zainstalowałem idle3 do pythona3 i nie działają opcje w IDLE a reszta zakładek działa. Zakładam, że w opcjach powinno się dać zmienić język na pl.
tajwan@tajwan:~$ idle3 ** IDLE can't import Tkinter. Your Python may not be configured for Tk. **
Ostatnio edytowany przez tajwan (2014-07-18 16:30:29)
Offline
root@tajwan:/home/tajwan# aptitude install komodo Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "komodo" Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "komodo" Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety. 0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowanych. Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B. root@tajwan:/home/tajwan# aptitude install komodo-edit Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "komodo-edit" Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "komodo-edit" Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety. 0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 0 nieaktualizowanych. Do pobrania 0 B archiwów. Zajęte po rozpakowaniu: 0 B.
Offline
root@tajwan:/home/tajwan# apt-cache search komodo libtest-indistdir-perl - test environment setup for development with IDE
root@tajwan:/home/tajwan# aptitude install libtest-indistdir-perl Następujące NOWE pakiety zostaną zainstalowane: libtest-indistdir-perl 0 pakietów aktualizowanych, 1 instalowanych, 0 do usunięcia i 0 nieaktualizowanych. Do pobrania 0 B/6704 B archiwów. Zajęte po rozpakowaniu: 61,4 kB. Wybieranie wcześniej niewybranego pakietu libtest-indistdir-perl. (Odczytywanie bazy danych ... 107810 plików i katalogów obecnie zainstalowanych.) Preparing to unpack .../libtest-indistdir-perl_1.112071-1_all.deb ... Unpacking libtest-indistdir-perl (1.112071-1) ... Processing triggers for man-db (2.6.7.1-1) ... Konfigurowanie pakietu libtest-indistdir-perl (1.112071-1) ...
tajwan@tajwan:~$ komodo bash: komodo: nie znaleziono polecenia
Offline
Serio :P
Offline
weź zostaw linuksa i wgraj windowsa. podałem Ci link do IDE, a Ty nic. Poszukałeś jakiegoś pakietu gdzie nawet nie ma komodo w nazwie i go wgrałeś. Nawet nie wiesz co, to jest najlepsze. WTF ?
Offline
To samo a nawet lepsze mam w Qt więc chyba się nie dogadaliśmy.
Offline
Coś od siebie: Nie polecam Pythona 3.
Offline
A niby dla czego ?
Offline
Bo jest problem z bibliotekami do niego jeszcze (np. banalne OpenCV). Do bardziej ambitnych projektów typu praca dyplomowa się nie nadaje bo nie dociągniesz sensownych rozszerzeń. No chyba, że chcesz się printem pobawić - o ile wcześniej znajdziesz pythonową konsolę. ;) Poza tym dochodzą zmiany w składni więc nawet z printem mogą być problemy (ja przy pierwszej wywrotce na princie zgłupiałam i to sprawiło że jakoś mnie nie ciągnie do tej nowinki - takich rzeczy się programistom nie robi, bowiem print to podstawowe "narzędzie" do debugowania :D )
Ostatnio edytowany przez Trin (2014-07-19 12:27:37)
Offline
[quote=ethanak]święte słowa, pani szanowna![/quote]
Właśnie dlatego wolę Perla. :D
Offline
W pythonie nie ma już printa :P , a ja nie chce pisać pisać pracy dyplomowej tylko tak trochę sobie pokodzić sam dla siebie.
Offline
no to używaj pythona 2 a nie 3.
btw. lambdy w trójce też już nie ma (pewnie za trudne do pojęcia).
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00003 | SET NAMES latin2 |
0.00097 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.219.18.238' WHERE u.id=1 |
0.00126 | UPDATE punbb_online SET logged=1732450097 WHERE ident='18.219.18.238' |
0.00051 | SELECT * FROM punbb_online WHERE logged<1732449797 |
0.00136 | DELETE FROM punbb_online WHERE ident='18.117.166.52' |
0.00115 | SELECT topic_id FROM punbb_posts WHERE id=271729 |
0.00007 | SELECT id FROM punbb_posts WHERE topic_id=26145 ORDER BY posted |
0.00088 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=26145 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00254 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=26145 ORDER BY p.id LIMIT 0,25 |
0.00123 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=26145 |
Total query time: 0.01014 s |