If you can't use Beautiful Soup 4 after updating to Python 3.5. ImportError: No module named bs4

Status

After updating to Python 3.5, Beautiful Soup 4 can no longer be used. To be precise, it says "ImportError: No module named bs4".

solution

Sublime text3 build system to python3

Error cause

The build system for Sublime text 3 was python.

python3.sublime-build source code reference

{
	"cmd": ["/usr/local/bin/python3", "-u", "$file"],
	"selector": "source.python",
	"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
	"env": {"LANG": "ja_JP.UTF-8"}
}

Storage location

/Users/*****/Library/Application Support/Sublime Text 3/Packages/User/python3.sublime-build

Recommended Posts

If you can't use Beautiful Soup 4 after updating to Python 3.5. ImportError: No module named bs4
No module named What to do if you get'libs.resources'
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you can't use scikit grid search in Python
python> import seiral> ImportError: No module named serial
What to do if "amazon-linux-extras" → "No module named amazon_linux_extras"
ModuleNotFoundError: No module What to do if you get'tensorflow.contrib'
What to do if you can't use WiFi on Linux
ImportError: No module What to do when you are told
What to do if you can't install pyaudio with pip #Python
Indispensable if you use Python! How to use Numpy to speed up operations!
What to do if you can't use the trash in Lubuntu 18.04.
python / netCDF / CentOS 6.8> ImportError: No module named netCDF4> sudo yum install netcdf4-python.x86_64
If you want to count words in Python, it's convenient to use Counter.
Today's python error: ModuleNotFoundError: No module named
Today's python error: ModuleNotFoundError: No module named
Wall to put OpenCV 3.1.0 in raspberry pi 3 and run sample on python3: ImportError: No module named cv2 solution
ModuleNotFoundError in Python: No module named story
Two document generation tools that you definitely want to use if you write python
How to build an environment when you want to use python2.7 after installing Anaconda3
When you can't uninstall the python library. Can't uninstall'hogehoge'. No files were found to uninstall.
If you try to install Python2 pip after installing Python3 pip and it is rejected
What to do if you can't pipenv shell
Use cryptography module to handle OpenSSL in Python
python> use c quick swap> #if 1 // no reshape
You should know if you use Python! 10 useful libraries
What to do if you get `No kernel for language python found` in Hydrogen
What to do if you can't hit the arrow keys in the Python interactive console