[MacPorts] #69094: Install of pipenv on macOS sonoma (arm64) does not create links

MacPorts noreply at macports.org
Thu Jan 11 21:54:50 UTC 2024


#69094: Install of pipenv on macOS sonoma (arm64) does not create links
----------------------+--------------------
 Reporter:  stuchalk  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.8.1
 Keywords:            |       Port:  pipenv
----------------------+--------------------
 Install of pipenv (Python 3.12) on macOS Sonoma (arm64) does not create
 links to pip, pipenv etc in /opt/local/bin and thus pipenv is not found
 after install.

 Command line output


 {{{
 sh-3.2# port install pipenv
 --->  Computing dependencies for pipenv
 The following dependencies will be installed:
  py312-certifi
  py312-distlib
  py312-filelock
  py312-platformdirs
  py312-setuptools
  py312-virtualenv
  python312
  python3_select-312
  python_select-312
 Continue? [Y/n]: Y
 --->  Fetching archive for python3_select-312
 --->  Attempting to fetch python3_select-312-0.1_1.any_any.noarch.tbz2
 from https://packages.macports.org/python3_select-312
 --->  Attempting to fetch
 python3_select-312-0.1_1.any_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/python3_select-312
 --->  Installing python3_select-312 @0.1_1
 --->  Activating python3_select-312 @0.1_1
 --->  Cleaning python3_select-312
 --->  Fetching archive for python_select-312
 --->  Attempting to fetch python_select-312-0.3_1.any_any.noarch.tbz2 from
 https://packages.macports.org/python_select-312
 --->  Attempting to fetch
 python_select-312-0.3_1.any_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/python_select-312
 --->  Installing python_select-312 @0.3_1
 --->  Activating python_select-312 @0.3_1
 --->  Cleaning python_select-312
 --->  Fetching archive for python312
 --->  Attempting to fetch
 python312-3.12.1_0+lto+optimizations.darwin_23.arm64.tbz2 from
 https://packages.macports.org/python312
 --->  Attempting to fetch
 python312-3.12.1_0+lto+optimizations.darwin_23.arm64.tbz2.rmd160 from
 https://packages.macports.org/python312
 --->  Installing python312 @3.12.1_0+lto+optimizations
 --->  Activating python312 @3.12.1_0+lto+optimizations
 --->  Cleaning python312
 --->  Fetching archive for py312-certifi
 --->  Attempting to fetch
 py312-certifi-2023.11.17_0.darwin_any.noarch.tbz2 from
 https://packages.macports.org/py312-certifi
 --->  Attempting to fetch
 py312-certifi-2023.11.17_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-certifi
 --->  Installing py312-certifi @2023.11.17_0
 --->  Activating py312-certifi @2023.11.17_0
 --->  Cleaning py312-certifi
 --->  Fetching archive for py312-setuptools
 --->  Attempting to fetch py312-setuptools-68.2.2_0.darwin_any.noarch.tbz2
 from https://packages.macports.org/py312-setuptools
 --->  Attempting to fetch
 py312-setuptools-68.2.2_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-setuptools
 --->  Installing py312-setuptools @68.2.2_0
 --->  Activating py312-setuptools @68.2.2_0
 --->  Cleaning py312-setuptools
 --->  Fetching archive for py312-distlib
 --->  Attempting to fetch py312-distlib-0.3.6_0.darwin_any.noarch.tbz2
 from https://packages.macports.org/py312-distlib
 --->  Attempting to fetch
 py312-distlib-0.3.6_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-distlib
 --->  Installing py312-distlib @0.3.6_0
 --->  Activating py312-distlib @0.3.6_0
 --->  Cleaning py312-distlib
 --->  Fetching archive for py312-filelock
 --->  Attempting to fetch py312-filelock-3.12.4_0.darwin_any.noarch.tbz2
 from https://packages.macports.org/py312-filelock
 --->  Attempting to fetch
 py312-filelock-3.12.4_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-filelock
 --->  Installing py312-filelock @3.12.4_0
 --->  Activating py312-filelock @3.12.4_0
 --->  Cleaning py312-filelock
 --->  Fetching archive for py312-platformdirs
 --->  Attempting to fetch
 py312-platformdirs-4.1.0_0.darwin_any.noarch.tbz2 from
 https://packages.macports.org/py312-platformdirs
 --->  Attempting to fetch
 py312-platformdirs-4.1.0_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-platformdirs
 --->  Installing py312-platformdirs @4.1.0_0
 --->  Activating py312-platformdirs @4.1.0_0
 --->  Cleaning py312-platformdirs
 --->  Fetching archive for py312-virtualenv
 --->  Attempting to fetch
 py312-virtualenv-20.25.0_0.darwin_any.noarch.tbz2 from
 https://packages.macports.org/py312-virtualenv
 --->  Attempting to fetch
 py312-virtualenv-20.25.0_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/py312-virtualenv
 --->  Installing py312-virtualenv @20.25.0_0
 --->  Activating py312-virtualenv @20.25.0_0
 --->  Cleaning py312-virtualenv
 --->  Fetching archive for pipenv
 --->  Attempting to fetch pipenv-2023.11.15_0.darwin_any.noarch.tbz2 from
 https://packages.macports.org/pipenv
 --->  Attempting to fetch
 pipenv-2023.11.15_0.darwin_any.noarch.tbz2.rmd160 from
 https://packages.macports.org/pipenv
 --->  Installing pipenv @2023.11.15_0
 --->  Activating pipenv @2023.11.15_0
 --->  Cleaning pipenv
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 --->  Some of the ports you installed have notes:
   py312-virtualenv has the following notes:
     The executable is installed as '/opt/local/bin/virtualenv-3.12'. To
 symlink it to '/opt/local/bin/virtualenv', run:

         sudo port select --set virtualenv virtualenv312
   python312 has the following notes:
     To make this the default Python or Python 3 (i.e., the version run by
 the 'python' or 'python3' commands), run one or both of:

         sudo port select --set python python312
         sudo port select --set python3 python312
 sh-3.2# port select --set python python312
 Selecting 'python312' for 'python' succeeded. 'python312' is now active.
 sh-3.2# port select --set python3 python312
 Selecting 'python312' for 'python3' succeeded. 'python312' is now active.
 sh-3.2# port select --set virtualenv virtualenv312
 Selecting 'virtualenv312' for 'virtualenv' succeeded. 'virtualenv312' is
 now active.
 }}}


 Partial file list from /opt/local/bin

 {{{
 -rwxr-xr-x    1 root      admin      3206 Jan  2 11:28 php-config82
 -rwxr-xr-x    1 root      admin  12280752 Jan  2 11:28 php82
 -rwxr-xr-x    1 root      admin      4547 Jan  2 11:28 phpize82
 lrwxr-xr-x    1 root      admin        11 Oct 23  2022 piconv ->
 piconv-5.34
 -rwxr-xr-x    1 root      admin      8380 Dec 27 10:09 piconv-5.34
 -rwxr-xr-x    1 root      admin     87912 Jan  8 06:28 pkgdata
 lrwxr-xr-x    1 root      admin        10 Oct 23  2022 pl2pm -> pl2pm-5.34
 -rwxr-xr-x    1 root      admin      4556 Dec 27 10:09 pl2pm-5.34
 -rwxr-xr-x    1 root      admin     33712 Dec 27 10:28 png-fix-itxt
 -rwxr-xr-x    1 root      admin     88808 Dec 27 10:28 pngfix
 lrwxr-xr-x    1 root      admin        13 Oct 23  2022 pod2html ->
 pod2html-5.34
 -rwxr-xr-x    1 root      admin      4157 Dec 27 10:09 pod2html-5.34
 lrwxr-xr-x    1 root      admin        12 Oct 23  2022 pod2man ->
 pod2man-5.34
 -rwxr-xr-x    1 root      admin     15054 Dec 27 10:09 pod2man-5.34
 -rwxr-xr-x    1 root      admin     25552 Dec 27 11:19 pod2texi
 lrwxr-xr-x    1 root      admin        13 Oct 23  2022 pod2text ->
 pod2text-5.34
 -rwxr-xr-x    1 root      admin     10823 Dec 27 10:09 pod2text-5.34
 lrwxr-xr-x    1 root      admin        14 Oct 23  2022 pod2usage ->
 pod2usage-5.34
 -rwxr-xr-x    1 root      admin      4117 Dec 27 10:09 pod2usage-5.34
 lrwxr-xr-x    1 root      admin        15 Oct 23  2022 podchecker ->
 podchecker-5.34
 -rwxr-xr-x    1 root      admin      3668 Dec 27 10:09 podchecker-5.34
 -r-xr-xr-x    1 root      wheel    209540 Sep 27 00:18 port
 lr-xr-xr-x    1 root      wheel        40 Dec 27 09:44 port-tclsh ->
 /opt/local/libexec/macports/bin/tclsh8.6
 lr-xr-xr-x    1 root      wheel         4 Dec 27 09:44 portf -> port
 -r-xr-xr-x    1 root      wheel     11303 Sep 27 00:18 portindex
 -r-xr-xr-x    1 root      wheel      2330 Sep 27 00:18 portmirror
 -rwxr-xr-x    1 root      admin       180 Dec 27 11:09 pp-trace-mp-15
 lrwxr-xr-x    1 root      admin        10 Oct 23  2022 prove -> prove-5.34
 -rwxr-xr-x    1 root      admin     13678 Dec 27 10:09 prove-5.34
 -rwxr-xr-x    1 root      admin     52448 Dec 27 10:36 psl
 lrwxr-xr-x    1 root      admin         9 Oct 23  2022 ptar -> ptar-5.34
 -rwxr-xr-x    1 root      admin      3586 Dec 27 10:09 ptar-5.34
 lrwxr-xr-x    1 root      admin        13 Oct 23  2022 ptardiff ->
 ptardiff-5.34
 -rwxr-xr-x    1 root      admin      2665 Dec 27 10:09 ptardiff-5.34
 lrwxr-xr-x    1 root      admin        13 Oct 23  2022 ptargrep ->
 ptargrep-5.34
 -rwxr-xr-x    1 root      admin      4415 Dec 27 10:09 ptargrep-5.34
 lrwxr-xr-x    1 root      wheel        24 Jan 11 14:08 pydoc ->
 /opt/local/bin/pydoc3.12
 lrwxr-xr-x    1 root      wheel        24 Jan 11 14:08 pydoc3 ->
 /opt/local/bin/pydoc3.12
 lrwxr-xr-x    1 root      admin        74 Jan  8 06:23 pydoc3.11 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/pydoc3.11
 lrwxr-xr-x    1 root      admin        74 Jan  8 09:37 pydoc3.12 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/pydoc3.12
 lrwxr-xr-x    1 root      wheel        75 Dec 27 13:06 pygmentize ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/pygmentize
 lrwxr-xr-x    1 root      wheel        25 Jan 11 14:08 python ->
 /opt/local/bin/python3.12
 lrwxr-xr-x    1 root      wheel        32 Jan 11 14:08 python-config ->
 /opt/local/bin/python3.12-config
 lrwxr-xr-x    1 root      wheel        25 Jan 11 14:08 python3 ->
 /opt/local/bin/python3.12
 lrwxr-xr-x    1 root      wheel        32 Jan 11 14:08 python3-config ->
 /opt/local/bin/python3.12-config
 lrwxr-xr-x    1 root      admin        75 Jan  8 06:23 python3.11 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
 lrwxr-xr-x    1 root      admin        82 Jan  8 06:23 python3.11-config
 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11-config
 lrwxr-xr-x    1 root      admin        75 Jan  8 09:37 python3.12 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12
 lrwxr-xr-x    1 root      admin        82 Jan  8 09:37 python3.12-config
 ->
 /opt/local/Library/Frameworks/Python.framework/Versions/3.12/bin/python3.12-config
 }}}

 How do I fix?

-- 
Ticket URL: <https://trac.macports.org/ticket/69094>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list