Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command prompt execution
#1
I am shifting version of python from 2.7 to 3.6 . The 2.7 code gave errors like “dictionary changed during run time” for python 3.6 when i ran in Pycharm ide. I fixed them . But while running through command prompt again i am getting the same error.like “dictionary chamged due to iteration”.IN environmental variables i only changed PYTHON-HOME to c:/python36 and the path variables are same as for puthon 2.7
Reply
#2
We need to know where the error comes from. Do you have a full error traceback?
Reply
#3
(Aug-21-2018, 05:39 PM)Gribouillis Wrote: We need to know where the error comes from. Do you have a full error traceback?

The error came in for loop. I resolved and in pycharm ide it is working fine. The issue is only while running through command prompt
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is the difference between Command Prompt and Sublimes yaoyao22 1 588 Jul-09-2023, 02:56 PM
Last Post: snippsat
  Facing Problem while opening a file through command prompt vlearner 4 1,857 Jan-30-2022, 08:10 AM
Last Post: snippsat
  Noob warning: trying to use pip to install pytest and pep8 in Command Prompt adifrank 4 5,230 Dec-20-2020, 04:23 AM
Last Post: adifrank
  Running Python in Command Prompt Anwar 3 3,002 Nov-15-2020, 03:15 PM
Last Post: snippsat
  starting python from windows command prompt MaartenRo 4 2,746 Sep-04-2020, 12:25 PM
Last Post: MaartenRo
  Will not print in command prompt PandaCode 12 12,826 May-06-2020, 03:48 AM
Last Post: PandaCode
  Script works when executed from command prompt but not when executed in SDP Tippex 0 1,965 Apr-07-2020, 04:26 PM
Last Post: Tippex
  Can read files in command prompt but not IDE Exsul 2 2,120 Sep-13-2019, 01:40 AM
Last Post: jsira2003
  command prompt saisankalpj 8 5,163 Nov-28-2018, 04:13 AM
Last Post: saisankalpj
  Command Prompt Issue benzenegirl 2 2,521 Oct-25-2018, 03:09 PM
Last Post: The_Raven

Forum Jump:

User Panel Messages

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