Tuesday, April 30, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 169871  / 2 Years ago, tue, january 11, 2022, 8:52:14

I ran the following code in a terminal:



python -c "                 
import sys
sys.path = sys.path[1:]
import django
print(django.__path__)"


This returns the following path:



['/usr/local/lib/python2.7/dist-packages/django']



but I simply cannot find usr/local (from the GUI). Where should it be?



I'm not sure what other information would help, please let me know!


More From » 13.04

 Answers
2

type



sudo cd /usr/local/lib/python2.7/dist-packages


in to terminal. That should take you to the folder



The usr folder is part of the file system, it is accessed from the root of your file system


[#30908] Tuesday, January 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
riffnkful questions
Thu, Nov 17, 22, 04:24, 1 Year ago
Mon, Nov 28, 22, 01:40, 1 Year ago
Mon, Jul 11, 22, 13:24, 2 Years ago
Sun, Feb 5, 23, 05:06, 1 Year ago
;