Hot answers tagged

2

I had the same problem as you describe in your post. As @Rushil mentioned in his comment, it can be sorted by renaming the file you have named "string.py" in your directory. Seems there is a conflict while importing the cs50 library and at the same time having a file called "string.py" in your folder...


1

You might consider cloning your workspace in CS50 IDE > Dashboard. Then experiment in the clone to learn whether it will "break" your IDE. Since backup is hardly ever a bad idea, you can backup your workspace to your local computer with File -> Download Workspace.


Only top voted, non community-wiki answers of a minimum length are eligible