geekcomputers / geekcomputers/Python

python could not install any script

Open
#260 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
35.4k
Forks
12.9k
Avg merge
2h 37m
Merged PRs (30d)
1

Description

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:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the reported brew install python, easy_install, and python paths in Terminal, then determine which installation is handling the packages. There are no repository files or tests mentioned; done would require a reproducible diagnosis and a documented correction for the installation mismatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.