Xem các quyền, chủ sở hữu tệp và nhóm được liên kết với kết quả. Xem xét người dùng gây ra lỗi ban đầu. Bạn có thể cần thay đổi quyền của tệp
Là liên kết tập tin trỏ đến một thư mục?
Đã từng bị từ chối quyền khi bạn cố gắng xác minh rằng Python đã được cài đặt chính xác. ln: /usr/local/bin/python: Permission denied
? . python --version
, sau đó là ls -l /usr/local/bin/python*
và cuối cùng là ln -s -f /usr/local/bin/python3.9 /usr/local/bin/python
Tôi đã cài đặt setuptools 1. 0 với ez_setup. py từ https. //pypi. con trăn. org/pypi/setuptools Sau đó, tôi tải xuống pip. 1. 4. 1 pkg từ https. //pypi. con trăn. org/pypi/pip/1. 4. 1
Chạy [sudo] python setup.py install
trong iTerm cho thấy rằng
running install
running bdist_egg running egg_info writing requirements to
pip.egg-info/requires.txt writing pip.egg-info/PKG-INFO writing
top-level names to pip.egg-info/top_level.txt writing dependency_links
to pip.egg-info/dependency_links.txt writing entry points to
pip.egg-info/entry_points.txt warning: manifest_maker: standard file
'setup.py' not found
reading manifest file 'pip.egg-info/SOURCES.txt' writing manifest file
'pip.egg-info/SOURCES.txt' installing library code to
build/bdist.macosx-10.6-intel/egg running install_lib warning:
install_lib: 'build/lib' does not exist -- no Python modules to
install
creating build/bdist.macosx-10.6-intel/egg creating
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/PKG-INFO -> build/bdist.macosx-10.6-intel/egg/EGG-INFO
copying pip.egg-info/SOURCES.txt ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/dependency_links.txt ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/entry_points.txt ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/not-zip-safe ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/requires.txt ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO copying
pip.egg-info/top_level.txt ->
build/bdist.macosx-10.6-intel/egg/EGG-INFO creating
'dist/pip-1.4.1-py2.7.egg' and adding
'build/bdist.macosx-10.6-intel/egg' to it removing
'build/bdist.macosx-10.6-intel/egg' [and everything under it]
Processing pip-1.4.1-py2.7.egg removing
'/Users/dl/Library/Python/2.7/lib/python/site-packages/pip-1.4.1-py2.7.egg'
[and everything under it] creating
/Users/dl/Library/Python/2.7/lib/python/site-packages/pip-1.4.1-py2.7.egg
Extracting pip-1.4.1-py2.7.egg to
/Users/dl/Library/Python/2.7/lib/python/site-packages pip 1.4.1 is
already the active version in easy-install.pth Installing pip script
to /Users/dl/Library/Python/2.7/bin Installing pip-2.7 script to
/Users/dl/Library/Python/2.7/bin
Installed
/Users/dl/Library/Python/2.7/lib/python/site-packages/pip-1.4.1-py2.7.egg
Processing dependencies for pip==1.4.1 Finished processing
dependencies for pip==1.4.1
Sau đó mình gõ ________ 7 thì báo lỗi như thế này
Traceback [most recent call last]: File
"/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 9,
in
load_entry_point['pip==1.4.1', 'console_scripts', 'pip'][] File "build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 357, in
load_entry_point File
"build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 2394, in
load_entry_point File
"build/bdist.macosx-10.6-intel/egg/pkg_resources.py", line 2108, in
load ImportError: No module named pip
Bất cứ ai đã gặp vấn đề tương tự trước đây và có thể cho tôi một số mẹo để giải quyết nó?
Tôi đã chạy cả hai lệnh trở lên, bạn có thể thấy kết quả đầu ra của tôi.
Trích dẫn từ. vtverdohleb vào ngày 16 Tháng sáu 2015, 02. 01. 13 giờ sáng
No se puede abrir el puerto 9080. Quiz�si ya está� en uso de alguna alicación�n.Proto Recv-Q Send-Q Địa chỉ cục bộ Địa chỉ nước ngoài Bang PID/Tên chương trìnhMã. [Chọn]
netstat -lnpt
tcp 0 0 0. 0. 0. 0. 992 0. 0. 0. 0. * NGHE 3362/vpnserver
tcp 0 0 0. 0. 0. 0. 515 0. 0. 0. 0. * LISTEN 2087/lpd Đang chờ
tcp 0 0 0. 0. 0. 0. 901 0. 0. 0. 0. * NGHE 3684/inetd
tcp 0 0 0. 0. 0. 0. 1194 0. 0. 0. 0. * NGHE 3362/vpnserver
tcp 0 0 0. 0. 0. 0. 3306 0. 0. 0. 0. * NGHE 2510/mysqld
tcp 0 0 0. 0. 0. 0. 139 0. 0. 0. 0. * NGHE 3645/smbd
tcp 0 0 0. 0. 0. 0. 80 0. 0. 0. 0. * NGHE 3121/lighttpd
tcp 0 0 0. 0. 0. 0. 10000 0. 0. 0. 0. * NGHE 3117/perl
tcp 0 0 0. 0. 0. 0. 22 0. 0. 0. 0. * NGHE 3700/dropbear
tcp 0 0 0. 0. 0. 0. 442 0. 0. 0. 0. * NGHE 3362/vpnserver
tcp 0 0 0. 0. 0. 0. 6555 0. 0. 0. 0. * NGHE 3362/vpnserver
tcp 0 0 172. 20. 0. 211. 443 0. 0. 0. 0. * NGHE 3121/lighttpd
tcp 0 0 127. 0. 0. 1. 443 0. 0. 0. 0. * NGHE 3121/lighttpd
tcp 0 0 0. 0. 0. 0. 445 0. 0. 0. 0. * NGHE 3645/smbd
tcp 0 0. 992. * NGHE 3362/vpnserver
tcp 0 0. 9443. * NGHE 3041/bdd
tcp 0 0. 1194. * NGHE 3362/vpnserver
tcp 0 0. 80. * NGHE 3121/lighttpd
tcp 0 0. 22. * NGHE 3700/dropbear
tcp 0 0. 23. * NGHE 3150/telnetd
tcp 0 0. 9080. * NGHE 3041/bdd
tcp 0 0. 442. * NGHE 3362/vpnserver
tcp 0 0. 6555. * NGHE 3362/vpnserver
Trích dẫn
Mã số. [Lựa chọn]
ps ax|grep bdd
ps ax|grep bdd
3041 ? Sl 0:00 /mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/bdd -p9080 -s9443 -d -unobody -h/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive -r/mnt/HD/HD_a2/Nas_Prog/BarracudaDrive/disk --threads 3 --sessions 100 --connections 100 --pidfile bdd
12844 ttyp0 R+ 0:00 grep bdd
Thanks