I am trying to install the yweather module for python 3.5 on my mac using pip install, however as i have both python 3.5 and 2.7 i don't know how to specify which distribution to install the module for - how would you do this?
Asked
Active
Viewed 692 times
0
-
How do you have them installed? – Simon Nov 10 '16 at 23:59
-
This won't answer the question you asked, but you might consider switching to Anaconda (https://www.continuum.io/downloads). It allows you to maintain entirely separated virtual environments (think users with entirely independent installs of all packages, including python). – Mark Hannel Nov 11 '16 at 00:21
2 Answers
0
pip will install a module for the default python on your system. If you want to be sure that pip installs for a specific version, use pip2 or pip3 instead of pip.
Also if you aren't already, you should consider using virtual environments.

sobek
- 1,386
- 10
- 28
0
Download the most recent release from yweather’s PyPi page. Unpack the tarball. From inside the yweather-0.X directory
Python 2
python setup.py install
Python 3
python3 setup.py install

Jouke
- 459
- 1
- 7
- 20