Bottom Page

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!
Quote
#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
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  pip or pip3 - which should it be? Skaperen 0 222 Aug-07-2019, 12:55 AM
Last Post: Skaperen
  pip & pip3 question CosmicCliff 1 413 Mar-05-2019, 09:22 PM
Last Post: snippsat
  pip vs pip3 Skaperen 16 5,541 Aug-26-2018, 03:15 AM
Last Post: Skaperen
  pip3 under Mac sgbotsford 1 767 Apr-06-2018, 05:16 AM
Last Post: snippsat

Forum Jump:


Users browsing this thread: 1 Guest(s)