Hello,
I have fedora 23 which comes preinstalled with Python 2.7. I have installed Python 3.5 in my /home/user/Documents/ directory which required me to make an alias for the python command.
Whenever I use pip to install python packages, they are automatically installed into the Python 2.7's subdirectories.
How can I change this? Did I goof when I installed Python 3.X into my home/user/Documents directory?
send help
>>54673416
>Did I goof when I installed Python 3.X into my home/user/Documents directory?
Yes. Why not just install it normally?
>>54673475
How? When I type: sudo dnf install python3
I get: Package python3-3.4.3-6.fc23.x86_64 is already installed, skipping.
There is nothing to do.
>>54673567
You have python3.4 already installed. If you need 3.5, you can install it from copr.
>>54673416
I just rm -r -f my Python3.5 directory from my Documents directory.
Yet when I type python3, I can still use it. So I'm more confused now, but it's not important.
How can I get pip to install modules to python3.5 and not 2.7?
>>54673628
>>54674088
Sorry I'm an idiot.
How can I get pip to install modules to 3.4 I should say.
>>54674088
Use pip3
>>54674103
python3 -m pip install "module name" should work
>>54674399
Thank you, doubles.
When I tried that I got a message stating that pip didn't exist.
>>54675755
I can use pip to install modules to 2.7. When I am in the python2.7 I can import modules.
I cannot figure out how to install modules for 3.x, and therefore cannot use any that I have attempted to install.
>>54674327
This