+++ DPI scale: -7,9 +7,9 path: /D/software/sublimetext3/Packages In any case, even if your answer is a very good one, one doubt still remains to me, why didn’t I see the console error you’re talking about? In fact, take a look to this diff, it’s a comparison between the startup console log with the bs4 package installed manually I’ve described above and the console log without any bs4 package: - from_file This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.īeautifulSoup(, "html.parser")ĭebug Hi there! As usual you’ve saved the day once again, so thank you very much tmp/sublime_text_3/Data/Packages/bs4/all/bs4/_init_.py:166: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). Package Control: Skipping automatic upgrade, last run at 22:15:30, next run at 23:15:30 or after Now your command works as you would expect: plugins loaded Now the errors in the console at startup are gone because Sublime isn’t trying to load the bs4 package (due to it not having any top level python files). PackageControl will install bs4 for you as a dependency, and if you look at the folder structure, it’s laid out differently than the way that it appears if you just copy that folder directly. Select Package Control: Satisfy Dependencies from the command palette (or restart Sublime, which will make PC notice that the dependency is missing and install it for you). Create a file named dependencies.json in the folder of your package, and put the following in it:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |