Python Forum
Call pip3 from python folder build by me call pip3 from the /usr/bin
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call pip3 from python folder build by me call pip3 from the /usr/bin
#1
I have build the latest release of python3 on a Mageia7 system.
Here the configuration command line:
./configure --prefix=${PY_PATH} --enable-shared

And if I call pip3 like that:

${PY_PATH}/bin/pip3 …
${PY_PATH}/bin/python3 pip3 …
${PY_PATH}/bin/python3 ${VENV_PATH}/bin/pip3 …
${PY_PATH}/bin/python3.7 ${VENV_PATH}/bin/pip3.7 …
${PY_PATH}/bin/python3.7m ${VENV_PATH}/bin/pip3.7 …

All this command lines have the same result.
An output example:
Output:
Requirement already satisfied, skipping upgrade: apipkg>=1.4 in /usr/local/lib/python3.7/site-packages (from execnet>=1.1->pytest-xdist) (1.5)
Or :
Error:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission non accordée: '/usr/local/bin/f2py' Consider using the `--user` option or check the permissions.
Why ${PY_PATH}/bin/python3 ${VENV_PATH}/bin/pip3 call the pip3 system from /usr/bin?

(Please don't ask me to use a venv, virtualenv or anaconda or wathever... I hate the hasardous behaviour of this things. Angry)

Response: don't build python with the shared option.


It's works. I don't khow why.
Reply


Messages In This Thread
Call pip3 from python folder build by me call pip3 from the /usr/bin - by Suryavarman - Oct-01-2019, 03:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Call CLI app with input? Winfried 5 569 May-23-2025, 07:52 PM
Last Post: snippsat
Question [SOLVED] [newbie] Why call super()? When to use parent? Winfried 4 1,412 Feb-10-2025, 11:40 AM
Last Post: Winfried
  not able to call the variable inside the if/elif function mareeswaran 3 748 Feb-09-2025, 04:27 PM
Last Post: mareeswaran
  Variable Substitution call keys Bobbee 15 3,217 Aug-28-2024, 01:52 PM
Last Post: Bobbee
  Multiplayer call to Telegram bot AlexSn2020 4 4,175 May-13-2024, 10:02 PM
Last Post: deanhystad
  call query telebot lolita7777 1 2,647 May-13-2024, 06:49 PM
Last Post: david_jr_br
  Hide CMD call window tester_V 8 3,208 Apr-16-2024, 08:26 PM
Last Post: deanhystad
Question How to add Python folder in Windows Registry ? Touktouk 1 1,368 Feb-20-2024, 01:04 PM
Last Post: DeaD_EyE
  Is possible to run the python command to call python script on linux? cuten222 6 2,636 Jan-30-2024, 09:05 PM
Last Post: DeaD_EyE
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 1,636 Jan-05-2024, 05:16 PM
Last Post: Pedroski55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020