I am new in django and python.I am using windows 7 and Eclipse IDE.I have installed python 2.7,django and pip.I have created a system variable called PYTHONPATH with values C:\Python27;C:\Python27\Scripts.I am unable to set path for django and pip.When i type django-admin.py and pip in powershell,it shows commandnotfoundexception.I have attached screen shots of my django files and pip files.
 Please help me
Please help me
            Asked
            
        
        
            Active
            
        
            Viewed 296 times
        
    0
            
            
         
    
    
        Techy
        
- 2,626
- 7
- 41
- 88
2 Answers
2
            You need to set the Powershell specific path variable.  It does not know to look for an environment variable called pythonpath.  That is helpful only for python aware applications (such as installers for Python modules).  
You need to add the Python directories to the $env:Path environment variable in Powershell.  See Setting Windows PowerShell path variable
$env:Path += ";C:\Python27;C:\Python27\Scripts"
0
            
            
        Also, if you're just getting started with Django and Eclipse, make sure you configure your PyDev interpreter settings to include the site-packages directory. This will ensure Eclipse can find your Django packages.
You can find more details about setting up your PYTHONPATH inside Eclipse here:
 
    
    
        bunn
        
- 11
- 3
 
    