How to fix Import could not be resolved from source Pylance

  Рет қаралды 157,555

Framework

Framework

2 жыл бұрын

How to fix Import could not be resolved from source Pylance in this video tutorial I'll teach you how can you solve your pylance extension problem so guys follow my instruction carefully otherwise it's not work.
Fix All problem using my pylance tips ►
Import could not be resolved from source Pylance
Import "django.contrib" could not be resolved from sourcePylance
Import "django.apps" could not be resolved from sourcePylance
Import "django.db" could not be resolved from sourcePylance
Import "django.urls" could not be resolved from sourcePylance
Import "django.contrib" could not be resolved from source Pylance
How to fix Import could not be resolved from source Pylance
#Pylance #Pylance_Resolved #django_vscode

Пікірлер: 631
@adrianvazqueztorres
@adrianvazqueztorres 2 жыл бұрын
Half of my day trying to fix this sh*t and you did it in less than 2 minutes, you are a chad!! Thank you for sharing your knowledge.
@frame-work
@frame-work 2 жыл бұрын
I help you to save your half day enjoy brother thanks for watching 😂
@MusicWorldDod9
@MusicWorldDod9 Жыл бұрын
Its still not good for me💀💔
@volkerkoenigsbuescher2394
@volkerkoenigsbuescher2394 2 жыл бұрын
Man! Thanks a lot. I am a newbie to python. I had that infamous problem that I installed some packet, but my code could not find its modules. It took me 2 days googling to not solve the problem. Now I found your video and that I had the same version of Python installed in three different places. Now found the right one with your help.
@frame-work
@frame-work 2 жыл бұрын
Best of luck....
@paulv20
@paulv20 2 жыл бұрын
You saved me who knows how many hours and the frustration... Thankfully I found this video after hour and a half trying to figure out why certain packages weren't recognized
@frame-work
@frame-work 2 жыл бұрын
Thanks
@nizorebg
@nizorebg Жыл бұрын
THANK YOU SO MUCH!!! I SPENT HOURS AND DAYS trying to fix this ONE THING but now i finally get it! you cannot imagine how thankful i am now.
@frame-work
@frame-work Жыл бұрын
Glad I could help! Enjoy your coding
@marthim90
@marthim90 2 жыл бұрын
the most productive two minutes of my day! thank you so much!
@frame-work
@frame-work 2 жыл бұрын
Welcome
@therapeuticpros1530
@therapeuticpros1530 Жыл бұрын
You are 100% amazing! I was struggling with this error for a night or two and was bugging the heck out of me as a new programmer. Amazing work, this actually worked and can't believe it was so simple
@frame-work
@frame-work Жыл бұрын
Thanks for your comments
@ajinmathew4838
@ajinmathew4838 Жыл бұрын
Most productive 2 minutes of my last 3 days... Thank you
@frame-work
@frame-work Жыл бұрын
Welcome brother 😁
Жыл бұрын
I didn't realize how easy was to fix that issue... Thanks a lot!
@frame-work
@frame-work Жыл бұрын
Welcome
@eyadabouker409
@eyadabouker409 6 ай бұрын
Man, i wish i found you 3 days earlier, thank you for releifing tons of stress off my shoulder
@frame-work
@frame-work 6 ай бұрын
Happy to help!
@binaryreliantmind1611
@binaryreliantmind1611 Жыл бұрын
That worked for me. Finally got this figured out. Quick and easy video. Very little time was wasted watching this.
@frame-work
@frame-work Жыл бұрын
Thanks
@megatronskneecap
@megatronskneecap 6 ай бұрын
You're actually amazing. Theres so many of this tutorials that tell you todo stuff that just doesn't work. TYSM!
@frame-work
@frame-work 6 ай бұрын
You're welcome!
@ChandanKumar-iy5xr
@ChandanKumar-iy5xr 2 жыл бұрын
I was fixing this problem for last 5hrs and this guy had a 2min solution :)
@frame-work
@frame-work 2 жыл бұрын
😃
@IrishKnight99
@IrishKnight99 Жыл бұрын
Dude, I can't tell you how much frustration you saved me. THANK YOU!!!
@frame-work
@frame-work Жыл бұрын
Welcome
@prasadwakle2462
@prasadwakle2462 Жыл бұрын
I spent two hours to solve this problem, uninstalled and installed Matplotlib 4 times, searched on web but got nothing until I saw your video. Yes it was an interpreter problem. Thank you.
@frame-work
@frame-work Жыл бұрын
Glad I could help
@Coylll
@Coylll Жыл бұрын
Hello, and if he writes Command 'Python: Select interpreter' resulted in an error
@meogiagamer1723
@meogiagamer1723 2 жыл бұрын
You saved me who knows how many hours and the frustration. Thanks so much.
@frame-work
@frame-work 2 жыл бұрын
Welcome
@zhongshen.xuexizhe
@zhongshen.xuexizhe 3 ай бұрын
Thank you man, you saved me, I was trying to figure out why this was happening it the first place, and couldn't fix it. But thanks to you, it's all good now, thanks again!
@frame-work
@frame-work 3 ай бұрын
Glad I could help
@jeffmwango
@jeffmwango 2 жыл бұрын
It has taken me some 3 days trying to fix this. and it took less than 2 minutes to fix it. Thanks buddy for the video.
@frame-work
@frame-work 2 жыл бұрын
Welcome 😁
@mnm9418
@mnm9418 2 жыл бұрын
I was trying for so long man. Thank you very very much I really appreciate.
@frame-work
@frame-work 2 жыл бұрын
Welcome
@LogicalError007
@LogicalError007 2 ай бұрын
Helped me a lot. Not the same issue but it pointed me at the right direction. Thank you.
@frame-work
@frame-work 2 ай бұрын
Welcome
@chiedozieehirim5659
@chiedozieehirim5659 Жыл бұрын
Problem of more than 4 months solved in less than 2 minutes. Thanks a million
@frame-work
@frame-work Жыл бұрын
Enjoy your coding bro..
@Kinokur
@Kinokur 2 жыл бұрын
Boy, thank you so much. I probably wouldn't have solved this mistake without you.
@frame-work
@frame-work 2 жыл бұрын
Thanks you brother
@shreya6107
@shreya6107 2 жыл бұрын
I was trying so hard for hours to fix this..you gave such an easy and simple solution..thank you 😀
@frame-work
@frame-work 2 жыл бұрын
Welcome
@arkad-journeytobigtech9797
@arkad-journeytobigtech9797 2 жыл бұрын
Never thought that would solve my problem , thank you so much!
@frame-work
@frame-work 2 жыл бұрын
welcome brother.
@Mikael198702
@Mikael198702 2 жыл бұрын
Thanks this finally solved the problem, tried to activate the venv through powershella and even tho it said it had changed it was still throwing me the error.
@Tiecongli
@Tiecongli Жыл бұрын
My case is the python in venv is a symlink to the system one, so pylance is still complaining not found module from the venv's site-package
@user-cp9fh2nj2d
@user-cp9fh2nj2d 2 жыл бұрын
Thank you man! Very much helped out! Greetings from distant Kazakhstan!
@frame-work
@frame-work 2 жыл бұрын
Glad to hear that!
@mathewswardman-mq5dk
@mathewswardman-mq5dk Жыл бұрын
Thanks...I was trying to fix mine for whole day but you just helped me fix it out in less than a minute...
@frame-work
@frame-work Жыл бұрын
Enjoy your coding Don't forget to subscribe 😉
@KanekiSidibe
@KanekiSidibe 2 жыл бұрын
Wish I had google this an hour later you literally saved me !
@frame-work
@frame-work 2 жыл бұрын
Thank you
@randomdude506
@randomdude506 2 жыл бұрын
Wow thank you so much i was stuck for 2 days and you helped me. Thank you :)
@frame-work
@frame-work 2 жыл бұрын
Thanks for watching this video
@santoshsambhram
@santoshsambhram 8 ай бұрын
This video saved a lot troubleshooting time for me.Thanks bro for your video.
@frame-work
@frame-work 8 ай бұрын
Glad it helped
@ratadiyaaj8033
@ratadiyaaj8033 2 жыл бұрын
Love You Brother , your video came at very wise time .
@jessicaryan9820
@jessicaryan9820 2 жыл бұрын
You are a legend my friend! Thank you!!
@frame-work
@frame-work 2 жыл бұрын
Thanks for watching this video
@johnforeverrules
@johnforeverrules Жыл бұрын
I don't know who you are but I love you my man. You just solved the problem with swag. Keep it up
@frame-work
@frame-work Жыл бұрын
Glad I could help. Don't forget to subscribe my channel.
@kylecapelli2409
@kylecapelli2409 2 жыл бұрын
Thank you so much !! Was stuck on this for so long
@frame-work
@frame-work 2 жыл бұрын
Thanks for watching this video
@harshanov27
@harshanov27 2 жыл бұрын
I was trying for hours to fix this 🤦‍♀️..Thank you so much ❤️
@frame-work
@frame-work 2 жыл бұрын
Welcome
@user-sd1cg7vi4h
@user-sd1cg7vi4h 8 ай бұрын
Bro really saved us from generational error fumble 😂, thanks man this was really helpful
@frame-work
@frame-work 8 ай бұрын
Glad it helped
@arslanabid2245
@arslanabid2245 9 ай бұрын
when i choose virtual envirements interpreter my streamlit's error is fixed. but the dotenv get an error of Import could not be resolved from source Pylance and when i choose the global envirement interpreter my dotenv error is fixed but the streamlit get the error of Import could not be resolved from source Pylance
@arslanabid2245
@arslanabid2245 8 ай бұрын
So i have solved my problem, actually i was trying to create the conda envirement within the project folder. thats why the dependencies were not installed properly. the problem was solved just by creating the conda envirement outside of the project folder using cmd the VS Studio's terminal. and then installing the dependencies. and now its working fine.
@tanwichakraborty5218
@tanwichakraborty5218 2 жыл бұрын
Hey, I tried to write a function - def __str__ (self)-> str: but __str__ is not working as I can't see any suggestion been shown on __str__ while writing this. Where is the problem?
@frame-work
@frame-work 2 жыл бұрын
Follow Stack overflow
@pixiwisp
@pixiwisp 9 ай бұрын
lifesaver omfg!!! thank you so much i've been struggling w this forever (a few days) 😭😭😭
@frame-work
@frame-work 9 ай бұрын
Enjoy your coding...
@IndiMops
@IndiMops 3 ай бұрын
Thank you, you saved me from burning my rear end
@frame-work
@frame-work 3 ай бұрын
Great to hear!
@michellebarrow1208
@michellebarrow1208 6 ай бұрын
I spent 2 days trying to figure this out. Thank you!!
@frame-work
@frame-work 6 ай бұрын
You are welcome!
@bhaskarroy3364
@bhaskarroy3364 2 жыл бұрын
my issue still stays the same. I am not using a virtual interpreter on the system and clicked on the recommended path. the 'warper' lines under "phonenumbers" in the import phonenumbers function.
@frame-work
@frame-work 2 жыл бұрын
If you are not using virtual environment then select your default path I hope you can fix your problem
@samtyagi6311
@samtyagi6311 2 жыл бұрын
theres no Scripts directory in my venv folder. There are bin, include, lib, lib64, share, pyvenv.cfg Please help
@frame-work
@frame-work 2 жыл бұрын
It's simple follow my entire video again if it is not solved let me know
@tingting6612
@tingting6612 2 жыл бұрын
Looked everywhere to fix this, Thanks alot !
@frame-work
@frame-work 2 жыл бұрын
Thanks
@punjabiexplorer
@punjabiexplorer 2 жыл бұрын
i like the way you say bhirchul environment and bhoila at end !
@kmax2356
@kmax2356 8 ай бұрын
love you man ♥. I faced many problems with this error and you guided me to solve it. thank you.
@frame-work
@frame-work 8 ай бұрын
Glad to hear that
@fahad_Almansour1
@fahad_Almansour1 2 жыл бұрын
Thank you sooooo much that’s really help me all I can say is thank you
@frame-work
@frame-work 2 жыл бұрын
Welcome
@buny4694
@buny4694 Жыл бұрын
Thank you very much, this vide was really helpful. It's 2022 😊
@frame-work
@frame-work Жыл бұрын
Welcome
@daviddecherf8434
@daviddecherf8434 Жыл бұрын
Great video, solved my issue! Thank you so much!
@frame-work
@frame-work Жыл бұрын
Welcome brother
@byron4422
@byron4422 Жыл бұрын
You're a life saver, thank you brother
@frame-work
@frame-work Жыл бұрын
Happy to help
@brunoruiztalamo3692
@brunoruiztalamo3692 Жыл бұрын
Jesus christ I can't believe how easy it was.. Subscribed!
@frame-work
@frame-work Жыл бұрын
Enjoy your code
@AsadAbbas-rd9yf
@AsadAbbas-rd9yf 2 жыл бұрын
I was struggling with this for 2 hours, and just 2 mins here i got it, THANK YOU VERY MUCH
@frame-work
@frame-work 2 жыл бұрын
Welcome !
@yorkrogers990
@yorkrogers990 2 жыл бұрын
I have a Error: Import "flask_mysqldb" could not be resolvedPylancereportMissingImports and I cant resolve, please help me. Thanks. I have tried as you have shown us, but I don't get it. Python ver 3.10...windows 11 Visual studio Code 1.67.
@frame-work
@frame-work 2 жыл бұрын
Okay I'll try to fix your problem
@yorkrogers990
@yorkrogers990 2 жыл бұрын
​@@frame-work Thanks for answering and thanks for the help, I'll be waiting and I'll also continue with the investigation on my own. Greetings from Tokyo/JP
@nateshkumar458
@nateshkumar458 2 жыл бұрын
Same error bro would you fix it.
@rokasdeveikis6450
@rokasdeveikis6450 2 жыл бұрын
thanks, i was looking for this for an hour.
@frame-work
@frame-work 2 жыл бұрын
Welcome
@krigarious8327
@krigarious8327 Жыл бұрын
Thanks man. Liked and subscribed.
@frame-work
@frame-work Жыл бұрын
Welcome 🤗
@ny_x_
@ny_x_ Жыл бұрын
super helpful, this video was a life saver thank you so much dude 🙏🙂🔥
@frame-work
@frame-work Жыл бұрын
Welcome
@yasirsaleem201
@yasirsaleem201 Жыл бұрын
Love you!!! amazing just get solved 🤩
@frame-work
@frame-work Жыл бұрын
Thanks
@shahu6015
@shahu6015 5 ай бұрын
thank you so much, you saved lot of my time
@frame-work
@frame-work 5 ай бұрын
You're welcome!
@7md394
@7md394 2 ай бұрын
i love you, you just saved my life, and the rest of my bloodline!
@frame-work
@frame-work 2 ай бұрын
Thanks man...
@klauskuhlmann5856
@klauskuhlmann5856 3 ай бұрын
you're my hero, thanks brother !!!
@frame-work
@frame-work 3 ай бұрын
Glad to help
@techburied
@techburied Жыл бұрын
thank you so freaking much broooooooo it actually worked 😊😊😊😊😊😊😊😊😊😊😊😊
@wakgate577
@wakgate577 2 жыл бұрын
Man you are my hero! God bless you!
@frame-work
@frame-work 2 жыл бұрын
Thank you brother
@LawrenceLivingstone
@LawrenceLivingstone Жыл бұрын
Thanks man you resolved me a problem!!!
@frame-work
@frame-work Жыл бұрын
Welcome
@travisscott5388
@travisscott5388 Жыл бұрын
I have spent 3 days to find a solution to this problem lol, thanks brother
@frame-work
@frame-work Жыл бұрын
Glad I could help
@SMSATHISHKUMARV
@SMSATHISHKUMARV Жыл бұрын
thk u so much sir very very much usefull...........................................
@frame-work
@frame-work Жыл бұрын
Most welcome brother
@chandubadde1060
@chandubadde1060 Жыл бұрын
Tq so much you saved my time
@frame-work
@frame-work Жыл бұрын
Welcome
@bdengineeringsolution5559
@bdengineeringsolution5559 Жыл бұрын
Congratulation on your first 100k views 🎉
@frame-work
@frame-work Жыл бұрын
Thank you! 😃
@LegoBuilderAJH
@LegoBuilderAJH 2 жыл бұрын
for some reason when I try to add another interpreter the only option I have is .exe files which means I cannot open the .py file.
@frame-work
@frame-work 2 жыл бұрын
Actually bro I don't know which type of error you got. that's why I can't help yet sorry for that
@needmorepips
@needmorepips 6 ай бұрын
Great video! Thanks. I solved in a minute.
@frame-work
@frame-work 6 ай бұрын
Glad it helped!
@Auspicious_Media
@Auspicious_Media 2 жыл бұрын
Tq very much you have help me figure up where is the problem,really really appreciate it thank you again man.
@frame-work
@frame-work 2 жыл бұрын
Welcome
@echomouser
@echomouser 2 жыл бұрын
Thanks! i have been strugguling with this for a while now lol.
@frame-work
@frame-work 2 жыл бұрын
Welcome
@assisneto1849
@assisneto1849 2 жыл бұрын
thank you, worked like a charm
@frame-work
@frame-work 2 жыл бұрын
Thanks for watching this video
@mo7amed5attab
@mo7amed5attab Жыл бұрын
Dude, you saved my life. Thanks so much.
@frame-work
@frame-work Жыл бұрын
Welcome
@eldrigeampong8573
@eldrigeampong8573 2 жыл бұрын
You deserve a thumbs up. Great job
@frame-work
@frame-work 2 жыл бұрын
Thanks brother
@HiOgesh9922
@HiOgesh9922 Жыл бұрын
Sir, I tryed this but for 1-2 seconds all problem were resolved but again I got Import could not be resolved from the source Pylance
@frame-work
@frame-work Жыл бұрын
If you create new venv for your new project then you have to do the same thing again
@Nicholas_Carey
@Nicholas_Carey Жыл бұрын
Saved me, Thank you!!
@frame-work
@frame-work Жыл бұрын
Welcome
@Africana_Jay
@Africana_Jay 29 күн бұрын
It’s worked you got a new subscriber 🔥
@frame-work
@frame-work 16 күн бұрын
Thanks for the sub
@fabsync
@fabsync Жыл бұрын
fantastic! It worked on mac.. though I had to get the url path and enter manually..
@frame-work
@frame-work Жыл бұрын
Thanks for your comments...
@matthewg7702
@matthewg7702 Жыл бұрын
Fixed my problem in 2 minutes thank you!
@frame-work
@frame-work Жыл бұрын
Welcome
@herdarling241
@herdarling241 9 ай бұрын
Bro your amazing! Stuff like this are so sh** to fix. Thank you!!
@frame-work
@frame-work 9 ай бұрын
Glad to help
@tlots4614
@tlots4614 2 жыл бұрын
python select interpreter' resulted in an error (command 'python.setinterpreter' not found) 😥
@frame-work
@frame-work 2 жыл бұрын
Please watch this video again and follow my steps exactly
@zbtz
@zbtz 2 жыл бұрын
u need to trust the file u are in
@yayush5458
@yayush5458 2 жыл бұрын
Thanks sir , It is usefull for me
@frame-work
@frame-work 2 жыл бұрын
Welcome
@PedroCarneiroJr1971
@PedroCarneiroJr1971 Жыл бұрын
It worked instantly!!! Thank you!!!
@frame-work
@frame-work Жыл бұрын
Thank you ☺️
@MsGuilhermeGarcia
@MsGuilhermeGarcia 2 жыл бұрын
Hell yeah, thanks dude!
@frame-work
@frame-work 2 жыл бұрын
Welcome
@tennisdudu3188
@tennisdudu3188 Жыл бұрын
thank you ! Its work but when I run some code its show “Non-UTF-8 code starting with ‘\xe0’” how can I fix it🥺
@frame-work
@frame-work Жыл бұрын
Hmm actually I don't face that kind of error if I face it I'll provide a another solution
@lboy2941
@lboy2941 Жыл бұрын
thanks man you save my day
@frame-work
@frame-work Жыл бұрын
Welcome 🤗
@karygordo
@karygordo Жыл бұрын
Thank you for this my friend!
@frame-work
@frame-work Жыл бұрын
My pleasure!
@devpauloalberto
@devpauloalberto Жыл бұрын
i love my friend , very good. Thanks!😍
@frame-work
@frame-work Жыл бұрын
Thank you! Cheers!
@user-lf1th5me7o
@user-lf1th5me7o 11 күн бұрын
thank you . after watch 10 videos I find the right one..
@frame-work
@frame-work 11 күн бұрын
Glad I could help
@timofdev
@timofdev 2 жыл бұрын
You're the best! Thank u!
@frame-work
@frame-work 2 жыл бұрын
Welcome
@rosuperhitttttttt4206
@rosuperhitttttttt4206 Жыл бұрын
bro are genius thank u show much
@frame-work
@frame-work Жыл бұрын
Welcome 😊
@KrishnaManohar8021
@KrishnaManohar8021 2 жыл бұрын
How can we use multiple python versions? (one project user Python2, and another project user Python3.)
@frame-work
@frame-work 2 жыл бұрын
If you have dual python version don't worry just select python 2 in vs code bottom left
@vahidmoradi9696
@vahidmoradi9696 2 жыл бұрын
thank you man, it fixed my problem.
@frame-work
@frame-work 2 жыл бұрын
Welcome man
@alexandremartins3962
@alexandremartins3962 2 жыл бұрын
Thank you, perfect explanation
@frame-work
@frame-work 2 жыл бұрын
🤗 Welcome
@anjanashetty482
@anjanashetty482 2 жыл бұрын
This video was helpful but I am sitll getting same error for airflow plugins. Ex: airflow.models shows Import "airflow.models" could not be resolved Pylance
@frame-work
@frame-work 2 жыл бұрын
Actually it's resolved your pylance problem only.
@gonzaoca9
@gonzaoca9 Жыл бұрын
te amo man, estuve como un millon de años intentando arreglar esto y entre a tu video y en 2 minutos lo resolvi xdxd
@frame-work
@frame-work Жыл бұрын
Thanks
@vidhijani3899
@vidhijani3899 Жыл бұрын
This was really awesome, Thank You !❤❤
@frame-work
@frame-work Жыл бұрын
You're so welcome!
@JDOV
@JDOV 2 жыл бұрын
Thank u very much, greetings from Chile 🤝
@frame-work
@frame-work 2 жыл бұрын
Glad it helped
@user-qb1gk2yd5j
@user-qb1gk2yd5j 6 ай бұрын
Thanks brother great help👍
@frame-work
@frame-work 6 ай бұрын
Always welcome
How To Fix Import Could Not Be Resolved From Source Pylance
7:07
ProgrammingKnowledge2
Рет қаралды 33 М.
25 nooby Python habits you need to ditch
9:12
mCoding
Рет қаралды 1,7 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 73 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
Interview with a Senior Python Developer - Part1
4:57
Programmers are also human
Рет қаралды 783 М.
Hacking Websites with SQL Injection - Computerphile
8:59
Computerphile
Рет қаралды 2,4 МЛН
Using docker in unusual ways
12:58
Dreams of Code
Рет қаралды 419 М.
I made my own Text Editor (in Rust)
8:16
FaceDev
Рет қаралды 101 М.
Object-Oriented Programming is Bad
44:35
Brian Will
Рет қаралды 2,3 МЛН
Python Game Hacking Tutorial - Simple External Cheat
13:28
Guided Hacking
Рет қаралды 138 М.