python could not install any script

Đang mở
#260 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

Bắt đầu bằng cách so sánh các đường dẫn được báo cáo bởi brew install python, easy_installpython trong Terminal, sau đó xác định bản cài đặt nào đang xử lý các gói. Không có tệp repository hoặc bài kiểm thử nào được đề cập; để được coi là hoàn tất, cần có chẩn đoán có thể tái hiện và bản sửa lỗi được ghi lại cho sự không khớp giữa các bản cài đặt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I installed python from brew

brew install python

then installed pip

sudo easy_install pip

in Terminal

$ which easy_install
/usr/bin/easy_install

$ which python
/usr/bin/python

But then when I want to install any Python script I get this:

Searching for pexpect
Best match: pexpect 4.2.1
Adding pexpect 4.2.1 to easy-install.pth file

Using /Library/Python/2.7/site-packages
Processing dependencies for pexpect
Finished processing dependencies for pexpect
Searching for pycrypto
Best match: pycrypto 2.6.1
pycrypto 2.6.1 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages
Processing dependencies for pycrypto
Finished processing dependencies for pycrypto
Searching for pyopenssl
Best match: pyOpenSSL 0.13.1
pyOpenSSL 0.13.1 is already the active version in easy-install.pth

Using /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Processing dependencies for pyopenssl
Finished processing dependencies for pyopenssl
Searching for pefile
Best match: pefile 2017.9.3
pefile 2017.9.3 is already the active version in easy-install.pth

Using /Library/Python/2.7/site-packages
Processing dependencies for pefile
Finished processing dependencies for pefile

Here's an image of the problem:

Ngôn ngữ chính
Python
Star
35.4k
Fork
12.9k
Merge trung bình
2 giờ 37 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của geekcomputers/Python

Tất cả issue của geekcomputers/Python

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.