Python Forum
Install Python3 & PIP3 & Django on MAC OSX
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Install Python3 & PIP3 & Django on MAC OSX
#1
Hello,

I have encountered one setback after another trying to install the trio of Python,PIP and Django on Mac OSX virtual environment.

The root cause seems to be:

Mac comes pre-installed with Python 2.7. When creating Virtual environments using VirtualENV, the result is mismatch of versions. A morass of YouTube videos took me so far down a rabbit hole, I've totally littered my machine with pieces that haven't fixed the issue, moreover they have created additional obstacles. HomeBrew seemed like a logical approach but ended up further complicating matters.

I'd love to get rid of v2.7 entirely as I have no need for it however there is much said that discredits this as being a dangerous proposition. Is it really? I'm new to Python, so I'm not sure why I have to have a legacy version adding confusion to things that are normally simple.

I'd greatly value any help you may be willing to share, especially if it could come in the form of Step-by-Step instructions for the use case I identified.

Thanks in advance!
Reply
#2
yes on linux and mac you should not remove the default python form the system. But you can have as many versions of python installed as you want.

I cant give you step by step instructions as i dont own or have never owned a mac. Nor would i care to. However linux is quite similar in most cases. So i would suggest this tutorial and install however you install packages python3.x with mac
https://python-forum.io/Thread-Basic-Par...nvironment

Once you have python3.x installed it should be as simple as
pip3 install django
EDIT:
also moved out of tutorial submissions
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I install PyGMO in Python3.8? TheGreatGhalib 1 3,841 Jan-20-2021, 09:44 AM
Last Post: buran
  pip3 problem with py3exiv2 jcezanna56 0 1,490 May-28-2020, 08:55 AM
Last Post: jcezanna56
  pip or pip3 - which should it be? Skaperen 0 1,961 Aug-07-2019, 12:55 AM
Last Post: Skaperen
  pip & pip3 question CosmicCliff 1 2,112 Mar-05-2019, 09:22 PM
Last Post: snippsat
  pip vs pip3 Skaperen 16 14,748 Aug-26-2018, 03:15 AM
Last Post: Skaperen
  pip3 under Mac sgbotsford 1 2,418 Apr-06-2018, 05:16 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020