[Çözüldü] Pytq4 uiplot hatası

Başlatan Kaanx, 11 Aralık 2013 - 04:34:53

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

Kaanx

Hocam sonuç yine aynı

kaan@kaan-Satellite-L655:~/Masaüstü/Python-FFT/Python-Kendim/kayit2$ ./kayit.py
./kayit.py:43: SyntaxWarning: name 'grafikRenk' is assigned to before global declaration
  global grafikRenk
Traceback (most recent call last):
  File "./kayit.py", line 2, in <module>
    import ui_plot
  File "/home/kaan/Masaüstü/Python-FFT/Python-Kendim/kayit2/ui_plot.py", line 11, in <module>
    from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4


@heartsmagic hocamın istediği cıktı burada

kaan@kaan-Satellite-L655:~$ ls -l /usr/lib | grep python
lrwxrwxrwx  1 root root           32 Şub 20  2013 libpyglib-2.0-python2.7.so -> libpyglib-2.0-python2.7.so.0.0.0
lrwxrwxrwx  1 root root           32 Şub 20  2013 libpyglib-2.0-python2.7.so.0 -> libpyglib-2.0-python2.7.so.0.0.0
-rw-r--r--  1 root root        18712 Şub 20  2013 libpyglib-2.0-python2.7.so.0.0.0
drwxr-xr-x 27 root root        20480 Ara 17 04:57 python2.7
drwxr-xr-x  3 root root         4096 Oca  8  2013 python3
drwxr-xr-x 34 root root        20480 Ara 17 04:58 python3.3
drwxr-xr-x  2 root root         4096 Ara 11 04:52 python-tz


Python tab dan sonra gelen cıktılar

kaan@kaan-Satellite-L655:~$ python
python                python3.3             python3-dbg-config
python2               python3.3-config      python3dm
python2.7             python3.3-dbg         python3dm-config
python2.7-config      python3.3-dbg-config  python3m
python2.7-dbg         python3.3dm           python3m-config
python2.7-dbg-config  python3.3dm-config    python-config
python2-config        python3.3m            python-dbg
python2-dbg           python3.3m-config     python-dbg-config
python2-dbg-config    python3-config       
python3               python3-dbg           





Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 09 Ocak 2014 - 05:08:55

Alıntı yapılan: guopx - 07 Ocak 2014 - 00:46:26
@heartsmagic python çalışıyor ama pyqt'de bir sorun var gibime geliyor.
@kaanx
uçbirime python yazın.
sonra from PyQt4 import QtCore, QtGui yazın. Aynı hata çıkıyor mu?
baka bir modül import etmeyi deneyelim mesela
from gi.repository import Gtk bunda da aynı hata var mı?

@quopx hocam buradaki ne göre istenilen cıktıları tekrar aldım onlarda burada

kaan@kaan-Satellite-L655:~$ python
Python 2.7.2 (default, Dec 11 2013, 04:44:08)
[GCC 4.7.3] on linux3
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt4 import QtCore, QtGui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named PyQt4
>>> from gi.repository import Gtk
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named gi.repository
>>>

heartsmagic

Bu sonuçlardan ziyade @guopx'in tariflerindeki çıktılar lazım bize. Zira görünen o ki Python sürümü hâlâ 2.7.2'de kalmış durumda. Kısacası kendisini kaldıramamışsın.
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

Kaanx

#52
Peki hocam aynı işlemleri tekrar yapıcam her adım cıktısını geçicem buraya


Mesaj tekrarı yüzünden mesajınız birleştirildi. Bu mesajın gönderim tarihi : 10 Ocak 2014 - 17:22:41

Cıktılar hocam adım adım ilerlemeyi geçtim buraya
./configure ' den sonra

checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for --with-suffix...
checking for case-insensitive build directory... no
checking LIBRARY... libpython$(VERSION).a
checking LINKCC... $(PURIFY) $(MAINCC)
checking for GNU ld... yes
checking for --enable-shared... no
checking for --enable-profiling...
checking LDLIBRARY... libpython$(VERSION).a
checking for ranlib... ranlib
checking for ar... ar
checking for svnversion... not-found
checking for hg... not-found
checking for a BSD-compatible install... /usr/bin/install -c
checking for --with-pydebug... no
checking whether gcc accepts -fno-strict-aliasing... yes
checking whether gcc accepts -OPT:Olimit=0... no
checking whether gcc accepts -Olimit 1500... no
checking whether gcc supports ParseTuple __format__... no
checking whether pthreads are available without options... no
checking whether gcc accepts -Kpthread... no
checking whether gcc accepts -Kthread... no
checking whether gcc accepts -pthread... yes
checking whether g++ also accepts flags for thread support... yes
checking for ANSI C header files... (cached) yes
checking asm/types.h usability... yes
checking asm/types.h presence... yes
checking for asm/types.h... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking process.h usability... no
checking process.h presence... no
checking for process.h... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdint.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking thread.h usability... no
checking thread.h presence... no
checking for thread.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/modem.h usability... no
checking sys/modem.h presence... no
checking for sys/modem.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking for sys/stat.h... (cached) yes
checking sys/termio.h usability... no
checking sys/termio.h presence... no
checking for sys/termio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking netpacket/packet.h usability... yes
checking netpacket/packet.h presence... yes
checking for netpacket/packet.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking bluetooth.h usability... no
checking bluetooth.h presence... no
checking for bluetooth.h... no
checking bluetooth/bluetooth.h usability... no
checking bluetooth/bluetooth.h presence... no
checking for bluetooth/bluetooth.h... no
checking linux/tipc.h usability... yes
checking linux/tipc.h presence... yes
checking for linux/tipc.h... yes
checking spawn.h usability... yes
checking spawn.h presence... yes
checking for spawn.h... yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether sys/types.h defines makedev... yes
checking for term.h... no
checking for linux/netlink.h... yes
checking for clock_t in time.h... yes
checking for makedev... yes
checking Solaris LFS bug... no
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for ssize_t... yes
checking size of int... 4
checking size of long... 8
checking size of void *... 8
checking size of short... 2
checking size of float... 4
checking size of double... 8
checking size of fpos_t... 16
checking size of size_t... 8
checking size of pid_t... 4
checking for long long support... yes
checking size of long long... 8
checking for long double support... yes
checking size of long double... 16
checking for _Bool support... yes
checking size of _Bool... 1
checking for uintptr_t... yes
checking size of uintptr_t... 8
checking size of off_t... 8
checking whether to enable large file support... no
checking size of time_t... 8
checking for pthread_t... yes
checking size of pthread_t... 8
checking for --enable-toolbox-glue... no
checking for --enable-framework... no
checking for dyld... no
checking SO... .so
checking LDSHARED... $(CC) -shared
checking CCSHARED... -fPIC
checking LINKFORSHARED... -Xlinker -export-dynamic
checking CFLAGSFORSHARED...
checking SHLIBS... $(LIBS)
checking for dlopen in -ldl... yes
checking for shl_load in -ldld... no
checking for library containing sem_init... -lpthread
checking for textdomain in -lintl... no
checking for t_open in -lnsl... no
checking for socket in -lsocket... no
checking for --with-libs... no
checking for pkg-config... /usr/bin/pkg-config
checking for --with-system-expat... no
checking for --with-system-ffi... no
checking for --with-dbmliborder...
checking for --with-signal-module... yes
checking for --with-dec-threads... no
checking for --with-threads... yes
checking if PTHREAD_SCOPE_SYSTEM is supported... yes
checking for pthread_sigmask... yes
checking if --enable-ipv6 is specified... yes
checking if RFC2553 API is available... yes
checking ipv6 stack type... linux-glibc
checking for OSX 10.5 SDK or later... no
checking for --with-doc-strings... yes
checking for --with-tsc... no
checking for --with-pymalloc... yes
checking for --with-valgrind... no
checking for --with-wctype-functions... no
checking for dlopen... yes
checking DYNLOADFILE... dynload_shlib.o
checking MACHDEP_OBJS... MACHDEP_OBJS
checking for alarm... yes
checking for setitimer... yes
checking for getitimer... yes
checking for bind_textdomain_codeset... yes
checking for chown... yes
checking for clock... yes
checking for confstr... yes
checking for ctermid... yes
checking for execv... yes
checking for fchmod... yes
checking for fchown... yes
checking for fork... yes
checking for fpathconf... yes
checking for ftime... yes
checking for ftruncate... yes
checking for gai_strerror... yes
checking for getgroups... yes
checking for getlogin... yes
checking for getloadavg... yes
checking for getpeername... yes
checking for getpgid... yes
checking for getpid... yes
checking for getpriority... yes
checking for getresuid... yes
checking for getresgid... yes
checking for getpwent... yes
checking for getspnam... yes
checking for getspent... yes
checking for getsid... yes
checking for getwd... yes
checking for initgroups... yes
checking for kill... yes
checking for killpg... yes
checking for lchmod... no
checking for lchown... yes
checking for lstat... yes
checking for mkfifo... yes
checking for mknod... yes
checking for mktime... yes
checking for mremap... yes
checking for nice... yes
checking for pathconf... yes
checking for pause... yes
checking for plock... no
checking for poll... yes
checking for pthread_init... no
checking for putenv... yes
checking for readlink... yes
checking for realpath... yes
checking for select... yes
checking for sem_open... yes
checking for sem_timedwait... yes
checking for sem_getvalue... yes
checking for sem_unlink... yes
checking for setegid... yes
checking for seteuid... yes
checking for setgid... yes
checking for setlocale... yes
checking for setregid... yes
checking for setreuid... yes
checking for setsid... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for setuid... yes
checking for setvbuf... yes
checking for snprintf... yes
checking for setlocale... (cached) yes
checking for setregid... (cached) yes
checking for setreuid... (cached) yes
checking for setresuid... yes
checking for setresgid... yes
checking for setsid... (cached) yes
checking for setpgid... (cached) yes
checking for setpgrp... (cached) yes
checking for setuid... (cached) yes
checking for setvbuf... (cached) yes
checking for snprintf... (cached) yes
checking for sigaction... yes
checking for siginterrupt... yes
checking for sigrelse... yes
checking for strftime... yes
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for tcsetpgrp... yes
checking for tempnam... yes
checking for timegm... yes
checking for times... yes
checking for tmpfile... yes
checking for tmpnam... yes
checking for tmpnam_r... yes
checking for truncate... yes
checking for uname... yes
checking for unsetenv... yes
checking for utimes... yes
checking for waitpid... yes
checking for wait3... yes
checking for wait4... yes
checking for wcscoll... yes
checking for _getpty... no
checking for chroot... yes
checking for link... yes
checking for symlink... yes
checking for fchdir... yes
checking for fsync... yes
checking for fdatasync... yes
checking for epoll... yes
checking for kqueue... no
checking for ctermid_r... no
checking for flock declaration... yes
checking for flock... yes
checking for getpagesize... yes
checking for true... true
checking for inet_aton in -lc... yes
checking for chflags... no
checking for lchflags... no
checking for inflateCopy in -lz... yes
checking for hstrerror... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for setgroups... yes
checking for openpty... no
checking for openpty in -lutil... yes
checking for forkpty... yes
checking for memmove... yes
checking for fseek64... no
checking for fseeko... yes
checking for fstatvfs... yes
checking for ftell64... no
checking for ftello... yes
checking for statvfs... yes
checking for dup2... yes
checking for getcwd... yes
checking for strdup... yes
checking for getpgrp... yes
checking for setpgrp... (cached) yes
checking for gettimeofday... yes
checking for major... yes
checking for getaddrinfo... yes
checking getaddrinfo bug... no
checking for getnameinfo... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_flags... no
checking for struct stat.st_gen... no
checking for struct stat.st_birthtime... no
checking for struct stat.st_blocks... yes
checking for time.h that defines altzone... no
checking whether sys/select.h and sys/time.h may both be included... yes
checking for addrinfo... yes
checking for sockaddr_storage... yes
checking whether char is unsigned... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for working signed char... yes
checking for prototypes... yes
checking for variable length prototypes and stdarg.h... yes
checking for socketpair... yes
checking if sockaddr has sa_len member... no
checking whether va_list is an array... yes
checking for gethostbyname_r... yes
checking gethostbyname_r with 6 args... yes
checking for __fpu_control... yes
checking for --with-fpectl... no
checking for --with-libm=STRING... default LIBM="-lm"
checking for --with-libc=STRING... default LIBC=""
checking whether C doubles are little-endian IEEE 754 binary64... yes
checking whether C doubles are big-endian IEEE 754 binary64... no
checking whether C doubles are ARM mixed-endian IEEE 754 binary64... no
checking whether we can use gcc inline assembler to get and set x87 control word... yes
checking for x87-style double rounding... no
checking whether tanh preserves the sign of zero... yes
checking for acosh... yes
checking for asinh... yes
checking for atanh... yes
checking for copysign... yes
checking for erf... yes
checking for erfc... yes
checking for expm1... yes
checking for finite... yes
checking for gamma... yes
checking for hypot... yes
checking for lgamma... yes
checking for log1p... yes
checking for round... yes
checking for tgamma... yes
checking whether isinf is declared... yes
checking whether isnan is declared... yes
checking whether isfinite is declared... yes
checking whether POSIX semaphores are enabled... yes
checking for broken sem_getvalue... no
checking digit size for Python's longs... no value specified
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking size of wchar_t... 4
checking for UCS-4 tcl... no
checking whether wchar_t is signed... yes
checking what type to use for unicode... unsigned short
checking whether byte ordering is bigendian... no
checking whether right shift extends the sign bit... yes
checking for getc_unlocked() and friends... yes
checking how to link readline libs... -lreadline
checking for rl_callback_handler_install in -lreadline... yes
checking for rl_pre_input_hook in -lreadline... yes
checking for rl_completion_display_matches_hook in -lreadline... yes
checking for rl_completion_matches in -lreadline... yes
checking for broken nice()... no
checking for broken poll()... no
checking for struct tm.tm_zone... (cached) yes
checking for working tzset()... yes
checking for tv_nsec in struct stat... yes
checking for tv_nsec2 in struct stat... no
checking whether mvwdelch is an expression... no
checking whether WINDOW has _flags... no
checking for is_term_resized... no
checking for resize_term... no
checking for resizeterm... no
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for %lld and %llu printf() format support... yes
checking for %zd printf() format support... yes
checking for socklen_t... yes
checking for build directories... done
configure: creating ./config.status
config.status: creating Makefile.pre
config.status: creating Modules/Setup.config
config.status: creating Misc/python.pc
config.status: creating Modules/ld_so_aix
config.status: creating pyconfig.h
config.status: pyconfig.h is unchanged
creating Modules/Setup
creating Modules/Setup.local
creating Makefile


Buna ENter dedim hocam

kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$ sudo checkinstall -D --fstrans=no make install

checkinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.



*****************************************
**** Debian package creation selected ***
*****************************************

*** Warning: The package name "Python" contains upper case
*** Warning: letters. dpkg might not like that so I changed
*** Warning: them to lower case.

This package will be built according to these values:

0 -  Maintainer: [ root@kaan-Satellite-L655 ]
1 -  Summary: [ Package created with checkinstall 1.6.2 ]
2 -  Name:    [ python ]
3 -  Version: [ 2.7.2 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ Python-2.7.2 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ python ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue:


/Doc/reference/simple_stmts.rst
./Doc/distutils/
./Doc/distutils/packageindex.rst
./Doc/distutils/extending.rst
./Doc/distutils/configfile.rst
./Doc/distutils/introduction.rst
./Doc/distutils/setupscript.rst
./Doc/distutils/examples.rst
./Doc/distutils/sourcedist.rst
./Doc/distutils/builtdist.rst
./Doc/distutils/index.rst
./Doc/distutils/commandref.rst
./Doc/distutils/uploading.rst
./Doc/distutils/apiref.rst
./LICENSE

Some of the files created by the installation are inside the home directory: /home

You probably don't want them to be included in the package.
Do you want me to list them?  [n]:

Buna "n" diye cevap veriyorum.

Should I exclude them from the package? (Saying yes is a good idea)  [n]:

bu soruya "y" diye cevap veriyorum.


Copying files to the temporary directory...

kısmında bekledim :)
dAHA SONRA ALDIGIM CEVAP BÖYLE HOCAM BUNU İLK SEFERDE ALMAMISTIM SANIRIM.

Some of the files created by the installation are inside the home directory: /home

You probably don't want them to be included in the package.
Do you want me to list them?  [n]: n
Should I exclude them from the package? (Saying yes is a good idea)  [n]: y

Copying files to the temporary directory...OK

Stripping ELF binaries and libraries...OK

Compressing man pages...OK

Building file list...OK

Building Debian package...OK

Installing Debian package... FAILED!

*** Failed to install the package



VE ALTINDA BU SORUYU SORDU
Do you want to see the log file?  [y]:

Yes dediğimde bu ekran geldi hocam

dpkg: warning: downgrading python from 2.7.4-0ubuntu1 to 2.7.2-1
(Reading database ... 356330 files and directories currently installed.)
Preparing to replace python 2.7.4-0ubuntu1 (using .../python_2.7.2-1_amd64.deb) ...
Unpacking replacement python ...
dpkg: dependency problems prevent configuration of python:
python-minimal (2.7.4-0ubuntu1) breaks python (<= 2.7.3-1~) and is installed.
  Version of python to be configured is 2.7.2-1.

dpkg: error processing python (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 removed doc-base file...
Registering documents with scrollkeeper...
Errors were encountered while processing:
python
/var/tmp/tmp.0FYEnyQFka/dpkginstall.log (END)



Devam ettim hocam daha sonra  aynı terminalden

kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$ sudo dpkg -i *.deb
[sudo] password for kaan:
(Reading database ... 361238 files and directories currently installed.)
Preparing to replace python 2.7.2-1 (using python_2.7.2-1_amd64.deb) ...
Unpacking replacement python ...
dpkg: dependency problems prevent configuration of python:
python-minimal (2.7.4-0ubuntu1) breaks python (<= 2.7.3-1~) and is installed.
  Version of python to be configured is 2.7.2-1.

dpkg: error processing python (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
python


daha sonraki adım ve cıktısı

kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$ sudo dpkg --purge --force-all python
dpkg: python: dependency problems, but removing anyway as you requested:
python-sphinx depends on python (>= 2.7.1-0ubuntu2).
python-sphinx depends on python (<< 2.8).
python-sphinx depends on python (>= 2.7.1-0ubuntu2).
python-sphinx depends on python (<< 2.8).
python-ubuntu-sso-client depends on python (>= 2.7.1-0ubuntu2).
python-ubuntu-sso-client depends on python (<< 2.8).
python-ubuntu-sso-client depends on python (>= 2.7.1-0ubuntu2).
python-ubuntu-sso-client depends on python (<< 2.8).
python-gconf depends on python (>= 2.7).
python-gconf depends on python (<< 2.8).
python-gconf depends on python (>= 2.7).
python-gconf depends on python (<< 2.8).
python-debian depends on python (>= 2.7.1-0ubuntu2).
python-debian depends on python (<< 2.8).
python-debian depends on python (>= 2.7.1-0ubuntu2).
python-debian depends on python (<< 2.8).
update-notifier-common depends on python.
python-uno depends on python (>= 2.7.1-0ubuntu2).
python-uno depends on python (<< 2.8).
python-uno depends on pytho
(Reading database ... 361237 files and directories currently installed.)
Removing python ...
dpkg: warning: while removing python, directory '/usr/local/lib/python2.7/config' not empty so not removed
dpkg: warning: while removing python, directory '/usr/local/bin' not empty so not removed
dpkg: warning: while removing python, directory '/usr/local/share' not empty so not removed
Processing triggers for man-db ...


daha sonraki adımda böyle devam etti

kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$ sudo apt-get install --reinstall python
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dnsmasq freeglut3 hostapd libmikmod2 libportmidi0 libsdl-mixer1.2
  libsdl-ttf2.0-0 libsmpeg0
Use 'apt-get autoremove' to remove them.
Suggested packages:
  python-doc
The following NEW packages will be installed:
  python
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/169 kB of archives.
After this operation, 682 kB of additional disk space will be used.
Selecting previously unselected package python.
(Reading database ... 356278 files and directories currently installed.)
Unpacking python (from .../python_2.7.4-0ubuntu1_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Registering documents with scrollkeeper...
Setting up python (2.7.4-0ubuntu1) ...
N: Ignoring file 'network-manager-ppa-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nilarimogard-webupd8-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'network-manager-ppa-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nilarimogard-webupd8-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'network-manager-ppa-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nilarimogard-webupd8-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$


ve final adımndaki cıktıda böyle hocam

kaan@kaan-Satellite-L655:~/pythonkaldır/Python-2.7.2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dnsmasq freeglut3 hostapd libmikmod2 libportmidi0 libsdl-mixer1.2
  libsdl-ttf2.0-0 libsmpeg0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
N: Ignoring file 'network-manager-ppa-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nilarimogard-webupd8-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'network-manager-ppa-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'nilarimogard-webupd8-raring.list.save' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

heartsmagic

2.7.2 paketleri kurulmamış bağımlılık çakışmaları nedeniyle. Fakat benim dikkatimi başka bir şey çekti, paket değişikliği iletilerinde 2.7.3 diyor. Oluşan paketler hangi sürüme ait?

ls -l ~/pythonkaldır/Python-2.7.2

ne diyor?
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

Kaanx

Hocam istediğiniz çıktı burada

kaan@kaan-Satellite-L655:~$ ls -l ~/pythonkaldır/Python-2.7.2
total 90140
-rw-r--r--  1 root root 41762915 Oca 10 17:24 backup-011020141723-pre-python.tgz
drwxr-xr-x  5 root root     4096 Oca  8 21:26 build
-rw-rw-r--  1 kaan kaan   461870 Oca 10 17:00 config.log
-rwxrwxr-x  1 kaan kaan    37559 Oca 10 17:00 config.status
-rwxr-xr-x  1 kaan kaan   405992 Haz 11  2011 configure
-rw-r--r--  1 kaan kaan   125755 Haz 11  2011 configure.in
drwxr-x--- 22 kaan kaan     4096 Haz 11  2011 Demo
-rw-r--r--  1 root root       40 Oca  8 21:25 description-pak
drwxr-x--- 17 kaan kaan     4096 Haz 11  2011 Doc
drwxr-xr-x  3 root root     4096 Oca  8 21:25 doc-pak
-rw-r--r--  1 root root    11604 Oca 10 17:17 e ... 356330 files and directories currently installed.)
drwxr-x---  2 kaan kaan     4096 Haz 11  2011 Grammar
drwxr-xr-x  2 kaan kaan     4096 Haz 11  2011 Include
-rwxr-xr-x  1 kaan kaan     7122 Haz 11  2011 install-sh
-rw-r--r--  1 kaan kaan    14231 Haz 11  2011 LICENSE
drwxr-x--- 47 kaan kaan    12288 Oca  8 21:28 Lib
-rw-r--r--  1 root root 14342070 Oca 10 17:02 libpython2.7.a
drwxr-x--- 11 kaan kaan     4096 Haz 11  2011 Mac
-rw-rw-r--  1 kaan kaan    44395 Oca 10 17:00 Makefile
-rw-rw-r--  1 kaan kaan    40997 Oca 10 17:00 Makefile.pre
-rw-r--r--  1 kaan kaan    40972 Haz 11  2011 Makefile.pre.in
drwxr-x---  5 kaan kaan     4096 Oca 10 17:00 Misc
drwxr-x---  9 kaan kaan     4096 Oca 10 17:02 Modules
drwxr-x---  3 kaan kaan     4096 Oca  8 21:26 Objects
drwxr-x---  2 kaan kaan     4096 Oca  8 21:26 Parser
drwxr-x--- 10 kaan kaan     4096 Haz 11  2011 PC
drwxr-x---  2 kaan kaan     4096 Haz 11  2011 PCbuild
-rw-rw-r--  1 kaan kaan    35825 Oca  8 21:25 pyconfig.h
-rw-r--r--  1 kaan kaan    34163 Haz 11  2011 pyconfig.h.in
drwxr-x---  2 kaan kaan     4096 Oca  8 21:26 Python
-rwxr-xr-x  1 root root  8078189 Oca 10 17:02 python
-rw-r--r--  1 root root 26542056 Oca 10 17:13 python_2.7.2-1_amd64.deb
-rw-r--r--  1 root root    47501 Oca  8 21:28 python-gdb.py
-rw-r--r--  1 kaan kaan    53738 Haz 11  2011 README
drwxr-x---  5 kaan kaan     4096 Haz 11  2011 RISCOS
-rw-r--r--  1 kaan kaan    90350 Haz 11  2011 setup.py
-rw-------  1 root root        0 Oca  8 21:26 stA0UfGe
-rw-------  1 root root        0 Oca  8 21:26 stIzbYs5
-rw-------  1 root root        0 Oca  8 21:26 stm2XTcj
-rw-------  1 root root        0 Oca  8 21:26 stNz0kxe
-rw-------  1 root root        0 Oca  8 21:26 stVA93th
-rw-------  1 root root        0 Oca  8 21:26 stwU4Ssr
-rw-------  1 root root        0 Oca  8 21:26 stzQo7aD
drwxr-x--- 22 kaan kaan     4096 Haz 11  2011 Tools

Kaanx

Hocam az önce bir deneme yaptım ve uygulamam çalıştı hatasız :)

heartsmagic

Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

Kaanx

hocam böyle diyor

kaan@kaan-Satellite-L655:~$ python
Python 2.7.4 (default, Sep 26 2013, 03:20:26)
[GCC 4.7.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

guopx

Localdeki python 2.7.2 kalktı mı acaba? ls -l /usr/local/lib/python2.7 çıktısı ne diyor?
Sevdiklerine sevdiğini söyle çok geç olmadan.

Kaanx

Hocam cıktımız burada

kaan@kaan-Satellite-L655:~$ ls -l /usr/local/lib/python2.7
total 8
drwxr-sr-x 2 root staff 4096 Oca 10 17:18 config
drwxrwsr-x 2 root staff 4096 Ara 11 04:26 dist-packages

guopx

İşe yaradı galiba, kalkmış görünüyor. Uygulamalarda ya da modül import ederken bir sorun var mı yoksa düzgün mü?
Sevdiklerine sevdiğini söyle çok geç olmadan.

Kaanx

Hocam direk ekran görüntüsü paylaşıyorum sizin için



http://i.hizliresim.com/KZWZBG.png

heartsmagic

@guopx'in ellerine sağlık :) Bence de sorun yok gibi görünmekte. @Kaanx, başlığı etiketleyebiliriz sanırım: cozuldukonusu
Hayattan çıkarı olmayanların, ölümden de çıkarı olmayacaktır.
Hayatlarıyla yanlış olanların ölümleriyle doğru olmalarına imkân var mıdır?


Böylece yalan, dünyanın düzenine dönüştürülüyor.

Kaanx

Hemen etiketliyorum hocam. Her birinize ayrı ayrı teşekkür ediyorum emeğinize sağlık. Allah razı olsun :)