![]() ![]() It looks like its' still pointing to the 2. Self.move_wheel_files(self.source_dir, root=root)įile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 998, in move_wheel_filesįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 339, in move_wheel_filesįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/wheel.py", line 310, in clobberįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/utils/_init_.py", line 71, in ensure_dirįile "/System/Library/Frameworks/amework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs I then tried to install Django, but when I do I am thrown the following error Traceback (most recent call last):įile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/basecommand.py", line 211, in mainįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/commands/install.py", line 311, in runįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_set.py", line 646, in installįile "/Library/Python/2.7/site-packages/pip-7.1.2-py2.7.egg/pip/req/req_install.py", line 803, in install I downloaded the latest version which is 3.5. We can start debugging session by clicking green run icon.My mac has 2.7 python. Select Django Launch and debug a Django Web ApplicationĬlick on Run icon again and RUN Python: Django option is available now. So, in this section, we will understand how we can create a virtual environment and use it to install Django in Linux and Mac operating systems. The minor difference is in the command for activating the virtual environment. Select Run menu icon in left sidebar and Click on create a launch.json file Now, the steps to install Django in Linux and Mac are the same as there in Windows. ![]() Go Forward - Cmd ] Using virtual environment selecting and activating python environment Press Ctrl k Ctrl s to open Keyboard Shortcuts and update the shortcut keys. I prefer using Cmd for code navigation. Now, cmd left
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |