Getting error module bottle not found

0 votes

Facing problem while installing bottle package to python 2.7

I am using windows 7 system which having python 2.7 & 3.4. 
'PY' command is for python 2.7 & 'PYTHON' command is for python 3.4 

Now how to install bottle package in python 2.7

C:> py 
import bottle
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: No module named bottle

I installed for python 3.4 using easy_install -U bottle command.
It's working fine for python 3.4

import bottle

I am facing problem how to install bottle packages in python 2.7

Dec 31, 2018 by aryya
• 7,440 points

1 answer to this question.

0 votes

I would recommend installing pip first and then running the command

pip install bottle

in your shell.

answered Dec 31, 2018 by charlie_brown
• 7,780 points

Related Questions

+1 vote
1 answer
0 votes
1 answer
0 votes
1 answer

Getting error saying element not found in selenium

Hey @Jino, The things I figured out ...READ MORE

answered Dec 21, 2018 in Selenium by Shuvodip
0 votes
1 answer

Getting error 404 not found when trying to download JDK

Try this command, it should work: wget --no-check-certificate ...READ MORE

answered Dec 26, 2018 in Java by Omkar
• 69,150 points
0 votes
2 answers

How to solve the error - ssl module not found?

Hey, @There, nstall the necessary packages for Python ...READ MORE

answered Oct 23, 2020 in Python by Gitika
• 65,970 points
+2 votes
3 answers

Error occurred during initialization of boot layer java.lang.module.FindException: Module Selenium not found

This might probably be coz while creating ...READ MORE

answered Nov 27, 2019 in Selenium by Sirajul
• 59,090 points
0 votes
1 answer

Error: "Module not found" while importing tensorflow in pycharm.

Try the following: Go to Files -> Settings ...READ MORE

answered Jun 23, 2020 in Python by Sirajul
• 59,090 points
+1 vote
1 answer

WindowsError: [Error 126] The specified module could not be found.

Hi@akhtar, You can download the shapely module in ...READ MORE

answered Jul 13, 2020 in Python by MD
• 95,300 points