![]() I have installed python 3.7 successfully and I can install modules using pip (or pip3) but those modules are installed in Python 3.6 (Comes with ubuntu). If that is the case, how can I install pip for python 3.7, since it's already installed? I'm assuming that if I can install pip for Python 3.7, I can run the pip install command and get the modules I need. Now I'm stuck, pip is installed, but apparently not for Python 3.7. Somewhere (probably a question in SO) I found a suggestion to install the module using python3.7 -m pip install module but then I get /usr/local/bin/python3.7: no module named pip. So I did some research and apparently when used pip to install, it installed in the modules in previous version of Python. I've downloaded several modules through pip install module but when I try to import them, I get a ModuleNotFoundError: No module names 'xx' Making Python 3.7 default Python : $ sudo vim ~/.bashrc Unzip it, on Desktop Installation : Open Terminal (ctrl +shift+T) Go to the Extracted folder Following this instructions in case it's relevant:Äownload : Python 3.7 from Python Website ,on Desktop and manually I've installed Python 3.7 on my Ubuntu 18.04 machine.
0 Comments
Leave a Reply. |