Python Forum
python2.7 executables thus the system python2.7 was erroring utility.execute()?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python2.7 executables thus the system python2.7 was erroring utility.execute()?
#1
The error I get when I run python manage.py runserver is:

Traceback (most recent call last): File "manage.py", line 24, in execute_from_command_line(sys.argv) File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/init.py", line 363, in execute_from_command_line utility.execute() File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/init.py", line 355, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/base.py", line 283, in run_from_argv self.execute(*args, **cmd_options) File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 62, in execute super(Command, self).execute(*args, **options) File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/base.py", line 330, in execute output = self.handle(*args, **options) File "/Users/mac/.virtualenvs/myvenv/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 73, in handle if not settings.DEBUG and not settings.
Reply
#2
Actually what I'm getting version conflict on 2.7 compared to 3.x.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Migrating of python2 script to python3 zuri 7 952 Oct-05-2023, 02:40 PM
Last Post: snippsat
  Migration of Python2 and Python3 using Modernize and Future Rakshan 5 2,500 Oct-05-2023, 08:55 AM
Last Post: zuri
  launching executables DPaul 6 1,363 Jan-15-2023, 02:45 PM
Last Post: DeaD_EyE
  Psycopg2 doesn't work with python2 MedianykEugene 3 2,940 Aug-10-2021, 07:00 AM
Last Post: ndc85430
  Difference between os.system("clear") and os.system("cls") chmsrohit 7 16,600 Jan-11-2021, 06:30 PM
Last Post: ykumar34
  python2 python3 messed up : How to fix ? hary 15 7,979 Dec-30-2020, 08:26 PM
Last Post: hary
  using pudb on python2 code ErnestTBass 2 1,683 Aug-10-2020, 08:12 PM
Last Post: snippsat
  Getting a small Python2 prog to run in Python3 steve140 4 3,854 Apr-19-2020, 09:27 AM
Last Post: steve140
  output mismatching when porting a python from python2 env to python3 env prayuktibid 2 2,545 Jan-21-2020, 04:41 AM
Last Post: prayuktibid
  Trying to use python-nmap but receiving however python2 or 3 can't find PortScanner. PythonNmap 21 10,841 Jan-19-2020, 07:54 PM
Last Post: PythonNmap

Forum Jump:

User Panel Messages

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