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

C:>python
import bottle

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

Dec 31, 2018 by aryya
• 7,350 points
514 views

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,760 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 20, 2018 in Selenium by Shuvodip
1,364 views
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,000 points
585 views
0 votes
0 answers

How to solve the error - ssl module not found?

I am getting this error while trying ...READ MORE

Aug 8, 2019 in Python by Waseem
• 4,530 points
115 views
+2 votes
1 answer

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
• 50,440 points
2,337 views
–1 vote
1 answer

Selenium XPath error:- Element not found

The reason for Element not found exception ...READ MORE

answered Mar 27, 2018 in Selenium by nsv999
• 5,510 points
6,351 views
0 votes
1 answer