MODULENOTFOUNDERROR: No module named ‘selenium’ [SOLVED]
Simple fix for this one. Open up a terminal on your linux box and type
pip3 install selenium
Your package will now be installed and ready to run
Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…
Simple fix for this one. Open up a terminal on your linux box and type
pip3 install selenium
Your package will now be installed and ready to run
Simple install. From the linux terminal type
pip3 install pandas
Simple install from the terminal on your linux box
pip3 install pickle-mixin
When running
pip install bs4
you receive this error
soupsieve requires Python ‘>=3.5’ but the running Python is 2.7.16
To fix the error run
pip3 install bs4
That’s it
To Upgrade Python, simply run
sudo bash
apt-get update
apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev tar wget vim
wget https://www.python.org/ftp/python/3.8.0/Python-3.8.0.tgz
tar zxf Python-3.8.0.tgz && cd Python-3.8.0 && ./configure –enable-optimizations && make -j 4 && make altinstall
echo “alias python=/usr/local/bin/python3.8” >> ~/.bashrc
source ~/.bashrc
python -v
You should now be 3.8
If you are trying to manually upload firmware for the Makerbot Replicator 2, and you try to use the most recent version of Python (version 3.8 at the time of this writing), it simply will not allow you to run the Makerbot firmware upload tool. If you see the following error when you run the tool, you will know what I mean:
C:\Users\%username%\Downloads\winBotTool_76_G\winBotTool_76_G>Traceback (most
recent call last):
File “C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”,
line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File “C:\Program
Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.752.0_x64__qbz5n2kfra8p0\lib\runpy.py”,
line 86, in _run_code
exec(code, run_globals)
File “bot_tool_v1\__main__.py”, line 2, in <module>
File “<frozen importlib._bootstrap>”, line 991, in _find_and_load
File “<frozen importlib._bootstrap>”, line 971, in _find_and_load_unlocked
File “<frozen importlib._bootstrap>”, line 914, in _find_spec
File “<frozen importlib._bootstrap_external>”, line 1342, in find_spec
File “<frozen importlib._bootstrap_external>”, line 1316, in _get_spec
File “<frozen importlib._bootstrap_external>”, line 1297, in
_legacy_get_spec
File “<frozen importlib._bootstrap>”, line 414, in spec_from_loader
File “<frozen importlib._bootstrap_external>”, line 649, in
spec_from_file_location
File “<frozen zipimport>”, line 191, in get_filename
File “<frozen zipimport>”, line 713, in _get_module_code
File “<frozen zipimport>”, line 647, in _compile_source
File “bot_tool_v1\bot_tool.py”, line 37
yield (str(value[1]), str(value[0]))
^
TabError: inconsistent use of tabs and spaces in indentation
To fix this error above, simply remove Python 3.8 and install Python 2.7 from the following link:
https://www.python.org/ftp/python/2.7.17/python-2.7.17.amd64.msi