I am new to Ubuntu coming from Windows.  I need to install the easygui Python module but the version currently on PyPI has issues.  The previous release 0.97 is fine.  Using pip install easygui installs 0.98.  I can download the 0.97 library from SourceForge and I want to install it on Ubuntu 16.04.  The download does not have a setup.py file (which I get how to use to install libraries).  In Windows I could copy the easygui.py file to the Libs directory and call the module.  Where do I put this file in Linux 16.04?  The file structure is confusing for me.
            Asked
            
        
        
            Active
            
        
            Viewed 1,523 times
        
    1
            
            
         
    
    
        GBG
        
- 233
- 5
- 17
2 Answers
2
            You can use pip to specify the version of the module you would like to install:
pip install easygui==0.97
You could also tack on the flag --force-reinstall if you run into trouble with the module being installed already.
as a side note: This might be a good time to start using virtual environments.
 
    
    
        RagingRoosevelt
        
- 2,046
- 19
- 34
- 
                    Thanks @RagingRoosevelt. I had my Bash syntax wrong. I did try sudo install easygui-0.97. – GBG Sep 14 '17 at 20:11
2
            
            
        If you have easy_install working, you could try:
"sudo easy_install easygui"
or if you want to specify the location or if you do not have the root privileges:
"easy_install --install-dir=here-some-folder-where-to-install easygui"
If you want to install some specific version of the tool with the easygui, perhaps this post helps:
Install particular version with easy_install
At least "sudo easy_install easygui==0.97" worked for me.
 
    
    
        msi_gerva
        
- 2,021
- 3
- 22
- 28