Python Forum
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIP error
#13
Dos pip work for other modules?
pip install requests

I did a test in a other post,with virtual environment(build into 35).
Here is the run.
# Make virtual enviroment
C:\Python35                                                                                                    
λ python -m venv pyinstaller_test                                                                              
                                                                                                                
C:\Python35                                                                                                    
λ cd pyinstaller_test                                                                                          
        
# Activate virtual environment   
C:\Python35\pyinstaller_test                                                                                   
λ C:\Python35\pyinstaller_test\Scripts\activate.bat                                                            
(pyinstaller_test) C:\Python35\pyinstaller_test                                                      
 
# Check that pip from virtual environment is used   
(pyinstaller_test) C:\Python35\pyinstaller_test                                                                
λ pip -V                                                                                                       
pip 8.1.1 from c:\python35\pyinstaller_test\lib\site-packages (python 3.5)                                     
 
# Install pyinstaller                                                                                                               
(pyinstaller_test) C:\Python35\pyinstaller_test                                                                
λ pip install pyinstaller                                                                                      
Collecting pyinstaller                                                                                         
  Using cached PyInstaller-3.2.1.tar.bz2                                                                       
Requirement already satisfied (use --upgrade to upgrade): setuptools in c:\python35\pyinstaller_test\lib\site-p
ackages (from pyinstaller)                                                                                     
Collecting future (from pyinstaller)                                                                           
  Using cached future-0.16.0.tar.gz                                                                            
Collecting pypiwin32 (from pyinstaller)                                                                        
  Downloading pypiwin32-219-cp35-none-win32.whl (7.9MB)                                                        
    100% |################################| 7.9MB 156kB/s                                                      
Installing collected packages: future, pypiwin32, pyinstaller                                                  
  Running setup.py install for future ... done                                                                 
  Running setup.py install for pyinstaller ... done                                                            
Successfully installed future-0.16.0 pyinstaller-3.2.1 pypiwin32-219                                           
                            
# Make exe                                                                                                               
(pyinstaller_test) C:\Python35\pyinstaller_test                                                                
λ pyinstaller hello.py                                                                                         
A lot of install stuff...........                                          
8040 INFO: Building COLLECT out00-COLLECT.toc completed successfully.                                          
                                                                                                                
(pyinstaller_test) C:\Python35\pyinstaller_test                                                                
λ cd dist                                                                             
                                                                                                 
(pyinstaller_test) C:\Python35\pyinstaller_test\dist                                                           
λ cd hello                                                                                                     
 
# Test exe                                                                                                               
(pyinstaller_test) C:\Python35\pyinstaller_test\dist\hello                                                     
λ hello.exe                                                                                                    
Hello World
Reply


Messages In This Thread
PIP error - by soundcw - Mar-24-2017, 01:10 PM
RE: PIP error - by sparkz_alot - Mar-24-2017, 01:26 PM
RE: PIP error - by soundcw - Mar-24-2017, 01:33 PM
RE: PIP error - by sparkz_alot - Mar-24-2017, 01:39 PM
RE: PIP error - by wavic - Mar-24-2017, 01:52 PM
RE: PIP error - by soundcw - Mar-24-2017, 01:53 PM
RE: PIP error - by wavic - Mar-24-2017, 02:17 PM
RE: PIP error - by soundcw - Mar-24-2017, 02:19 PM
RE: PIP error - by wavic - Mar-24-2017, 02:23 PM
RE: PIP error - by snippsat - Mar-24-2017, 02:28 PM
RE: PIP error - by wavic - Mar-24-2017, 02:29 PM
RE: PIP error - by soundcw - Mar-24-2017, 02:49 PM
RE: PIP error - by snippsat - Mar-24-2017, 03:17 PM
RE: PIP error - by soundcw - Mar-24-2017, 04:39 PM
RE: PIP error - by wavic - Mar-24-2017, 04:55 PM
RE: PIP error - by snippsat - Mar-24-2017, 05:05 PM
RE: PIP error - by soundcw - Mar-24-2017, 05:18 PM

Forum Jump:

User Panel Messages

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