Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error importing cs50 method in Python #336

Closed
M1st3rfr10 opened this issue Jun 27, 2024 · 2 comments
Closed

Error importing cs50 method in Python #336

M1st3rfr10 opened this issue Jun 27, 2024 · 2 comments

Comments

@M1st3rfr10
Copy link

M1st3rfr10 commented Jun 27, 2024

Hi, I am doing Lecture 6 (2023) and can import cs50 method with the following code:

from cs50 import get_int

height = get_int("Height: ")

ImportError: cannot import name 'MappingProxyType' from 'types' (/workspaces/138399398/w6Lecture/types.py)

@rongxin-liu
Copy link
Contributor

Please rename your types.py file to something else. Thanks!

@M1st3rfr10
Copy link
Author

Hi, rongxin-liu:

I have a trouble and don not find how to open a discussion or where to make a post about it.

There are some issues with the VSC, and when I loged in today I found that there are some missing folders that am working on to finish my CS50 course.

I already ask for help at the technical support, but may be you know how to proceed in this case.

If it helps, I know that there are three folders lost, at least: finance; project; TWT

Thank you and sorry to bother you. Have a great day

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants