Webserver not starting

Posted on
Sun Oct 20, 2019 7:55 pm
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Webserver not starting

I reinstalled python 2.7.16 as part of the troubleshooting I was doing initially when this issue started but other than that I haven't installed anything else recently. Is there any way to make sure? I remember using 'pip' for something a long while ago.
In regards to non standard app installs, I had to install SoftRAID by disabling the SIP to update the driver in Catalina. Nothing else besides that.

Posted on
Sun Oct 20, 2019 8:05 pm
FlyingDiver offline
User avatar
Posts: 7216
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Webserver not starting

How did you reinstall 2.7.16? It's part of the standard OS install, so it would have been really difficult to uninstall it in the first place.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Oct 20, 2019 10:20 pm
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Webserver not starting

Didn't really uninstall it since I couldn't find it. So assuming it had somehow been deleted or wasn't present in the latest OS, I reinstalled it from https://www.python.org/downloads/release/python-2716/

Posted on
Mon Oct 21, 2019 5:23 am
FlyingDiver offline
User avatar
Posts: 7216
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Webserver not starting

Coolcaper wrote:
Didn't really uninstall it since I couldn't find it. So assuming it had somehow been deleted or wasn't present in the latest OS, I reinstalled it from https://www.python.org/downloads/release/python-2716/


If you do 'which python' in Terminal, what does it give you?

Python is still in Catalina. I did a fresh install in a VM the other day to check. So now I think you've got the classic multiple install problem that's messing you up.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 21, 2019 5:32 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Webserver not starting

If you do 'which python' in Terminal, what does it give you?


/Library/Frameworks/Python.framework/Versions/2.7/bin/python

So now I think you've got the classic multiple install problem that's messing you up.


Had this issue before I installed the version from the website. In fact the only reason I installed another version is to troubleshoot this issue. Is there any way to get rid of the new install?

Posted on
Mon Oct 21, 2019 5:38 am
FlyingDiver offline
User avatar
Posts: 7216
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Webserver not starting

Coolcaper wrote:
If you do 'which python' in Terminal, what does it give you?


/Library/Frameworks/Python.framework/Versions/2.7/bin/python

So now I think you've got the classic multiple install problem that's messing you up.


Had this issue before I installed the version from the website. In fact the only reason I installed another version is to troubleshoot this issue. Is there any way to get rid of the new install?


Yeah, the default version of Python is /usr/bin/python. /Library/Frameworks/Python.framework/ only has Python 3.7 in it (in a clean Catalina install).

Check the docs on the site you downloaded it from.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 21, 2019 5:54 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Webserver not starting

Uninstalled downloaded python. So now 'which python' gives me:

iMac:~ home$ which python
/usr/bin/python

Posted on
Mon Oct 21, 2019 5:58 am
FlyingDiver offline
User avatar
Posts: 7216
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Webserver not starting

Coolcaper wrote:
Uninstalled downloaded python. So now 'which python' gives me:

iMac:~ home$ which python
/usr/bin/python


That's the correct location. Running it should give you:
Code: Select all
jkeenan@Kraken ~ % python

WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.

Python 2.7.16 (default, Aug 24 2019, 18:37:03)
[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.32.4) (-macos10.15-objc-s on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Oct 21, 2019 6:03 am
Coolcaper offline
Posts: 299
Joined: Aug 30, 2013
Location: Australia

Re: Webserver not starting

Perfect, thanks. Thats what I get now:

Code: Select all
iMac:~ home$ python

WARNING: Python 2.7 is not recommended.
This version is included in macOS for compatibility with legacy software.
Future versions of macOS will not include Python 2.7.
Instead, it is recommended that you transition to using 'python3' from within Terminal.

Python 2.7.16 (default, Aug 24 2019, 18:37:03)
[GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.32.4) (-macos10.15-objc-s on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>>


Restarted the Mac hoping....but no luck...still the same story...at least I got rid of the other version :)

Posted on
Mon Oct 21, 2019 2:59 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Webserver not starting

I'm going to send you an email off the forum so we can debug into this.

Image

Who is online

Users browsing this forum: No registered users and 5 guests