How can I force a clean pip install of a package? (Solved)
My program keeps crashing because it's running the wrong version of the PySimpleGUIWeb package. Instead of loading and running 0.6.0 it's running the older 0.5.0 version.
I can't seem to force the upgrade even with the requirements file set to 0.6.0.
Here's the output from the startup of my script:
Python 3.6.1 (default, Dec 2015, 13:05:11)
[GCC 4.8.2] on linux
Collecting PySimpleGUIWeb==0.6.0 (from -r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/b9/1b/32ac8a0e21963a3ed3b07aa837bd38cbb024effecc7541a08ee5c910bba3/PySimpleGUIWeb-0.6.0-py3-none-any.whl
Collecting remi (from PySimpleGUIWeb==0.6.0->-r requirements.txt (line 1))
Using cached https://files.pythonhosted.org/packages/db/18/8c26a975e1d3c484d11098ce71e41041d201311fc5991dc11b17e5944f5b/remi-2018.12-py3-none-any.whl
Installing collected packages: remi, PySimpleGUIWeb
Successfully installed PySimpleGUIWeb-0.6.0 remi-2018.12
Target directory /home/runner/.site-packages/remi-2018.12.dist-info already exists. Specify--upgrade to force replacement.
Target directory /home/runner/.site-packages/PySimpleGUIWeb already exists. Specify --upgrade to force replacement.
Target directory /home/runner/.site-packages/remi already exists. Specify --upgrade to force replacement.
Target directory /home/runner/.site-packages/editor already exists. Specify --upgrade to force replacement.
Target directory /home/runner/.site-packages/PySimpleGUIWeb-0.6.0.dist-info already exists.Specify --upgrade to force replacement.
You are using pip version 9.0.1, however version 19.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Here is the repl location:
It was working great earlier but now it seems stuck on this version problem.
F1 didn't bring up anything for me but Chrome's help.
I just figured out how to run pip by calling
I was able to call this using the Python shell prompt in my repl.it window:
os.system('pip uninstall PySimpleGUIWeb')
Thanks to everyone that replied so QUICKLY!
The way I can tell it's 0.5.0 that's loaded is that it crashes showing this line of code in the traceback:
remi.start(self.MyApp, title=self.Title ,debug=False, address='0.0.0.0', port=Window.port_number, start_browser=True, update_interval=.00001, userdata=(self,))
In 0.6.0 the parameter