I normally use pycharm and not vs code for my programming assignments…Suddenly my pycharm won’t load sequencial and numpy…I have loaded…reloaded…installed…uninstalled…and neither editor is working…the code they give us doesn’t run correctly and comes back with errors almost every time…Im using 3.12 as my interpreter…numpy and sequencial are both updated and in my environment…both pycharm and vs code…but neither works…notebooks never works correctly…I have spend 4 days trying to solve this problem and I’m falling behind in the class because of it…I’m very frustrated…I know how to write the code…but I’d be flying blind without the code working…so I can test the outputs and know there are no bugs in the code…Anyone have any ideas? I’m running out of them…This is the final lab…week 1…Advanced Algorithms…Please help!!!
The notebooks are intended to be run on Coursera Labs platform.
Running them on other platforms can be difficult to achieve.
I suspect you’ll find setting up a local virtualenv on your laptop/pc, then installing Jupyter notebook (Project Jupyter | Installing Jupyter) a viable alternative to doing all the labs online if you really must do so. Jupiter will provide a similar experience to the online notebook environment. I’ve used this approach and it works. However, you’ll need to ensure all the other dependencies such as data files, helper libraries etc are downloaded too. I’ve used this approach a few times and it’s works okay, but as suggested, it’s extra work. Given the choice, I’d work online … the environment just works!
Thanks ya’ll figured it out…Sequential still won’t load…but it doesn’t seem to affect my output results…but thank you for the help////
If you’re going to run the notebooks locally, you need to use exactly the same versions of all of the packages as what Coursera Labs provides.