conda / conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
https://docs.conda.io/projects/conda/
Other
6.45k stars 1.68k forks source link

Windows wrong Pytorch shebang line #14052

Open mantaionut opened 3 months ago

mantaionut commented 3 months ago

Checklist

What happened?

If I install PyTorch with conda install pytorch cpuonly -c pytorch, in the Scripts/torchrun-script.py the shebang line will be #!C:\cb\PYTORC~1_h_env\python.exe which does not exist. I've been trying to debug it but I am confused on how it works. Should this line be replaced when installing the package? Is this a conda issue or PyTorch issue?

Conda Info

active environment : base
    active env location : C:\Users\manta\anaconda3
            shell level : 1
       user config file : C:\Users\manta\.condarc
 populated config files : C:\Users\manta\.condarc
          conda version : 24.5.0
    conda-build version : 24.5.1
         python version : 3.12.3.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=x86_64_v3
                          __conda=24.5.0=0
                          __cuda=12.3=0
                          __win=0=0
       base environment : C:\Users\manta\anaconda3  (writable)
      conda av data dir : C:\Users\manta\anaconda3\etc\conda
  conda av metadata url : None
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
                          https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://conda.anaconda.org/pytorch/win-64
                          https://conda.anaconda.org/pytorch/noarch
          package cache : C:\Users\manta\anaconda3\pkgs
                          C:\Users\manta\.conda\pkgs
                          C:\Users\manta\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\manta\anaconda3\envs
                          C:\Users\manta\.conda\envs
                          C:\Users\manta\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/24.5.0 requests/2.32.2 CPython/3.12.3 Windows/11 Windows/10.0.22631 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8 aau/0.4.4 c/. s/. e/.
          administrator : False
             netrc file : None
           offline mode : False

Conda Config

==> C:\Users\manta\.condarc <==
ssl_verify: False
channels:
  - defaults
  - conda-forge
  - pytorch
unsatisfiable_hints: True
anaconda_upload: False

==> envvars <==
allow_softlinks: False
debug: False

Conda list

# packages in environment at C:\Users\manta\anaconda3:
#
# Name                    Version                   Build  Channel
_anaconda_depends         2024.06             py312_mkl_2    defaults
_libavif_api              1.1.0                h57928b3_0    conda-forge
aiobotocore               2.12.3          py312haa95532_0    defaults
aiohttp                   3.9.5           py312h2bbff1b_0    defaults
aioitertools              0.7.1              pyhd3eb1b0_0    defaults
aiosignal                 1.2.0              pyhd3eb1b0_0    defaults
alabaster                 0.7.16          py312haa95532_0    defaults
altair                    5.0.1           py312haa95532_0    defaults
anaconda-anon-usage       0.4.4           py312hfc23b7f_100    defaults
anaconda-catalogs         0.2.0           py312haa95532_1    defaults
anaconda-client           1.12.3          py312haa95532_0    defaults
anaconda-cloud-auth       0.5.1           py312haa95532_0    defaults
anaconda-navigator        2.6.0           py312haa95532_0    defaults
anaconda-project          0.11.1          py312haa95532_0    defaults
annotated-types           0.6.0           py312haa95532_0    defaults
anyio                     4.2.0           py312haa95532_0    defaults
aom                       3.9.1                he0c23c2_0    conda-forge
appdirs                   1.4.4              pyhd3eb1b0_0    defaults
archspec                  0.2.3              pyhd3eb1b0_0    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0          py312h2bbff1b_0    defaults
arrow                     1.2.3           py312haa95532_1    defaults
arrow-cpp                 13.0.0          h57928b3_42_cpu    conda-forge
astroid                   2.14.2          py312haa95532_0    defaults
astropy                   6.1.0           py312h4b0e54e_0    defaults
astropy-iers-data         0.2024.6.3.0.31.14 py312haa95532_0    defaults
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
astunparse                1.6.3                    pypi_0    pypi
async-lru                 2.0.4           py312haa95532_0    defaults
atomicwrites              1.4.0                      py_0    defaults
attrs                     23.1.0          py312haa95532_0    defaults
automat                   20.2.0                     py_0    defaults
autopep8                  2.0.4              pyhd3eb1b0_0    defaults
aws-c-auth                0.7.22               ha390a07_2    conda-forge
aws-c-cal                 0.6.14               h750c3ff_1    conda-forge
aws-c-common              0.9.19               h2466b09_0    conda-forge
aws-c-compression         0.2.18               h750c3ff_6    conda-forge
aws-c-event-stream        0.4.2               he05106e_12    conda-forge
aws-c-http                0.8.1               h55c4ea9_17    conda-forge
aws-c-io                  0.14.8               ha255af7_5    conda-forge
aws-c-mqtt                0.10.4               heb8cf2b_4    conda-forge
aws-c-s3                  0.5.9                haf5e0f7_3    conda-forge
aws-c-sdkutils            0.1.16               h750c3ff_2    conda-forge
aws-checksums             0.1.18               h750c3ff_6    conda-forge
aws-crt-cpp               0.26.9               hb2f7e64_0    conda-forge
aws-sdk-cpp               1.11.329             h752cf48_3    conda-forge
babel                     2.11.0          py312haa95532_0    defaults
bcrypt                    3.2.0           py312h2bbff1b_1    defaults
beautifulsoup4            4.12.3          py312haa95532_0    defaults
binaryornot               0.4.4              pyhd3eb1b0_1    defaults
black                     24.4.2          py312haa95532_0    defaults
blas                      1.0                         mkl    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
blinker                   1.6.2           py312haa95532_0    defaults
blosc                     1.21.5               hbd69f2e_1    conda-forge
bokeh                     3.4.1           py312hfc267ef_0    defaults
boltons                   23.0.0          py312haa95532_0    defaults
boost-cpp                 1.85.0               h6f18f0d_2    conda-forge
boto3                     1.34.69            pyhd8ed1ab_0    conda-forge
botocore                  1.34.69         py312haa95532_0    defaults
bottleneck                1.3.7           py312he558020_0    defaults
brotli                    1.0.9                ha925a31_2    defaults
brotli-bin                1.1.0                hcfcfb64_1    conda-forge
brotli-python             1.0.9           py312hd77b12b_8    defaults
bzip2                     1.0.8                h2bbff1b_6    defaults
c-ares                    1.32.2               h2466b09_0    conda-forge
c-blosc2                  2.14.4               h183a6f4_1    conda-forge
ca-certificates           2024.7.4             h56e8100_0    conda-forge
cached-property           1.5.2                      py_0    defaults
cachetools                5.3.3           py312haa95532_0    defaults
certifi                   2024.7.4        py312haa95532_0    defaults
cffi                      1.16.0          py312h2bbff1b_1    defaults
cfitsio                   3.470                h2bbff1b_7    defaults
chardet                   4.0.0           py312haa95532_1003    defaults
charls                    2.4.2                h1537add_0    conda-forge
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.1.7           py312haa95532_0    defaults
cloudpickle               2.2.1           py312haa95532_0    defaults
cmake                     3.26.4               h693b641_0    defaults
colorama                  0.4.6           py312haa95532_0    defaults
colorcet                  3.1.0           py312haa95532_0    defaults
comm                      0.2.1           py312haa95532_0    defaults
conda                     24.5.0          py312haa95532_0    defaults
conda-build               24.5.1          py312haa95532_0    defaults
conda-content-trust       0.2.0           py312haa95532_1    defaults
conda-index               0.5.0           py312haa95532_0    defaults
conda-libmamba-solver     24.1.0             pyhd3eb1b0_0    defaults
conda-pack                0.7.1           py312haa95532_0    defaults
conda-package-handling    2.3.0           py312haa95532_0    defaults
conda-package-streaming   0.10.0          py312haa95532_0    defaults
conda-repo-cli            1.0.88          py312haa95532_0    defaults
conda-token               0.5.0              pyhd3eb1b0_0    defaults
console_shortcut          0.1.1                haa95532_6    defaults
constantly                23.10.4         py312haa95532_0    defaults
contourpy                 1.2.0           py312h59b6b97_0    defaults
cookiecutter              2.6.0           py312haa95532_0    defaults
cpuonly                   2.0                           0    pytorch
cryptography              42.0.5          py312h89fc84f_1    defaults
cssselect                 1.2.0           py312haa95532_0    defaults
curl                      8.8.0                h0dd56e1_1    conda-forge
cycler                    0.11.0             pyhd3eb1b0_0    defaults
cytoolz                   0.12.2          py312h2bbff1b_0    defaults
dask                      2024.5.0        py312haa95532_0    defaults
dask-core                 2024.5.0        py312haa95532_0    defaults
dask-expr                 1.1.0           py312haa95532_0    defaults
datashader                0.16.2          py312haa95532_0    defaults
dav1d                     1.2.1                h2bbff1b_0    defaults
debugpy                   1.6.7           py312hd77b12b_0    defaults
decorator                 5.1.1              pyhd3eb1b0_0    defaults
defusedxml                0.7.1              pyhd3eb1b0_0    defaults
diff-match-patch          20200713           pyhd3eb1b0_0    defaults
dill                      0.3.8           py312haa95532_0    defaults
distributed               2024.5.0        py312haa95532_0    defaults
distro                    1.9.0           py312haa95532_0    defaults
docstring-to-markdown     0.11            py312haa95532_0    defaults
docutils                  0.18.1          py312haa95532_3    defaults
entrypoints               0.4             py312haa95532_0    defaults
et_xmlfile                1.1.0           py312haa95532_1    defaults
executing                 0.8.3              pyhd3eb1b0_0    defaults
expat                     2.6.2                hd77b12b_0    defaults
expecttest                0.2.1                    pypi_0    pypi
filelock                  3.13.1          py312haa95532_0    defaults
flake8                    7.0.0           py312haa95532_0    defaults
flask                     3.0.3           py312haa95532_0    defaults
fmt                       9.1.0                h6d14046_1    defaults
fonttools                 4.51.0          py312h2bbff1b_0    defaults
freetype                  2.12.1               hdaf720e_2    conda-forge
frozendict                2.4.2           py312haa95532_0    defaults
frozenlist                1.4.0           py312h2bbff1b_0    defaults
fsspec                    2024.3.1        py312haa95532_0    defaults
gensim                    4.3.2           py312hc7c4135_0    defaults
gflags                    2.2.2                hd77b12b_1    defaults
giflib                    5.2.2                h64bf75a_0    conda-forge
gitdb                     4.0.7              pyhd3eb1b0_0    defaults
gitpython                 3.1.37          py312haa95532_0    defaults
glib                      2.80.2               h0df6a38_0    conda-forge
glib-tools                2.80.2               h2f9d560_0    conda-forge
glog                      0.5.0                hd77b12b_1    defaults
greenlet                  3.0.1           py312hd77b12b_0    defaults
gst-plugins-base          1.24.4               hba88be7_0    conda-forge
gstreamer                 1.24.4               h5006eae_0    conda-forge
h5py                      3.11.0          nompi_py312ha036244_102    conda-forge
hdf5                      1.14.3          nompi_h2b43c12_105    conda-forge
heapdict                  1.0.1              pyhd3eb1b0_0    defaults
holoviews                 1.19.0          py312haa95532_0    defaults
hvplot                    0.10.0          py312haa95532_0    defaults
hyperlink                 21.0.0             pyhd3eb1b0_0    defaults
hypothesis                6.108.2                  pypi_0    pypi
icc_rt                    2022.1.0             h6049295_2    defaults
icu                       73.2                 h63175ca_0    conda-forge
idna                      3.7             py312haa95532_0    defaults
imagecodecs               2024.6.1        py312h8a63b06_0    conda-forge
imageio                   2.33.1          py312haa95532_0    defaults
imagesize                 1.4.1           py312haa95532_0    defaults
imbalanced-learn          0.12.3          py312haa95532_1    defaults
importlib-metadata        7.0.1           py312haa95532_0    defaults
incremental               22.10.0            pyhd3eb1b0_0    defaults
inflection                0.5.1           py312haa95532_1    defaults
iniconfig                 1.1.1              pyhd3eb1b0_0    defaults
intake                    0.7.0           py312haa95532_0    defaults
intel-openmp              2023.1.0         h59b6b97_46320    defaults
intervaltree              3.1.0              pyhd3eb1b0_0    defaults
ipykernel                 6.28.0          py312haa95532_0    defaults
ipython                   8.25.0          py312haa95532_0    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                7.8.1           py312haa95532_0    defaults
isort                     5.13.2          py312haa95532_0    defaults
itemadapter               0.3.0              pyhd3eb1b0_0    defaults
itemloaders               1.1.0           py312haa95532_0    defaults
itsdangerous              2.2.0           py312haa95532_0    defaults
jaraco.classes            3.2.1              pyhd3eb1b0_0    defaults
jedi                      0.18.1          py312haa95532_1    defaults
jellyfish                 1.0.1           py312h36a85e1_0    defaults
jinja2                    3.1.4           py312haa95532_0    defaults
jmespath                  1.0.1           py312haa95532_0    defaults
joblib                    1.4.2           py312haa95532_0    defaults
jq                        1.6                  haa95532_1    defaults
json5                     0.9.6              pyhd3eb1b0_0    defaults
jsonpatch                 1.33            py312haa95532_1    defaults
jsonpointer               2.1                pyhd3eb1b0_0    defaults
jsonschema                4.19.2          py312haa95532_0    defaults
jsonschema-specifications 2023.7.1        py312haa95532_0    defaults
jupyter                   1.0.0           py312haa95532_9    defaults
jupyter-lsp               2.2.0           py312haa95532_0    defaults
jupyter_client            8.6.0           py312haa95532_0    defaults
jupyter_console           6.6.3           py312haa95532_1    defaults
jupyter_core              5.7.2           py312haa95532_0    defaults
jupyter_events            0.10.0          py312haa95532_0    defaults
jupyter_server            2.14.1          py312haa95532_0    defaults
jupyter_server_terminals  0.4.4           py312haa95532_1    defaults
jupyterlab                4.0.11          py312haa95532_0    defaults
jupyterlab-variableinspector 3.1.0           py312haa95532_0    defaults
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_server         2.25.1          py312haa95532_0    defaults
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1    defaults
jxrlib                    1.1                  he774522_2    defaults
keyring                   24.3.1          py312haa95532_0    defaults
kiwisolver                1.4.4           py312hd77b12b_0    defaults
krb5                      1.21.3               hdf4eb48_0    conda-forge
lazy-object-proxy         1.10.0          py312h2bbff1b_0    defaults
lazy_loader               0.4             py312haa95532_0    defaults
lcms2                     2.16                 h67d730c_0    conda-forge
lerc                      4.0.0                h63175ca_0    conda-forge
libabseil                 20240116.2      cxx17_h5da7b33_0    defaults
libaec                    1.1.3                h63175ca_0    conda-forge
libarchive                3.6.2                h6f8411a_1    conda-forge
libarrow                  13.0.0          h4d976e1_42_cpu    conda-forge
libavif                   1.1.0                hf4f7b25_0    conda-forge
libavif16                 1.1.0                hf4f7b25_0    conda-forge
libboost                  1.85.0               h9a677ad_2    conda-forge
libboost-devel            1.85.0               h91493d7_2    conda-forge
libboost-headers          1.85.0               h57928b3_2    conda-forge
libbrotlicommon           1.1.0                hcfcfb64_1    conda-forge
libbrotlidec              1.1.0                hcfcfb64_1    conda-forge
libbrotlienc              1.1.0                hcfcfb64_1    conda-forge
libclang                  9.0.1           default_hf44288c_0    defaults
libclang13                18.1.7          default_h97ce8ae_0    conda-forge
libcrc32c                 1.1.2                hd77b12b_0    defaults
libcurl                   8.8.0                hd5e4a3a_1    conda-forge
libdeflate                1.20                 hcfcfb64_0    conda-forge
libevent                  2.1.12               h56d1f94_1    defaults
libexpat                  2.6.2                h63175ca_0    conda-forge
libffi                    3.4.4                hd77b12b_1    defaults
libglib                   2.80.2               h0df6a38_0    conda-forge
libgoogle-cloud           2.24.0               h5e7cea3_0    conda-forge
libgoogle-cloud-storage   2.24.0               hce61461_0    conda-forge
libgrpc                   1.62.2               h5273850_0    conda-forge
libiconv                  1.17                 hcfcfb64_2    conda-forge
libintl                   0.22.5               h5728263_2    conda-forge
libintl-devel             0.22.5               h5728263_2    conda-forge
libjpeg-turbo             3.0.3                h827c3e9_0    defaults
liblief                   0.12.3               hd77b12b_0    defaults
libmamba                  1.5.8                h99b1521_2    defaults
libmambapy                1.5.8           py312h77c03ed_2    defaults
libogg                    1.3.5                h2bbff1b_1    defaults
libpng                    1.6.43               h19919ed_0    conda-forge
libpq                     12.2                 hb652d5d_1    defaults
libprotobuf               4.25.3               h503648d_0    conda-forge
libre2-11                 2023.09.01           hf8d8778_2    conda-forge
libsodium                 1.0.18               h62dcd97_0    defaults
libsolv                   0.7.29               h0ea2cb4_0    conda-forge
libspatialindex           1.9.3                h6c2663c_0    defaults
libsqlite                 3.46.0               h2466b09_0    conda-forge
libssh2                   1.11.0               h7dfc565_0    conda-forge
libthrift                 0.19.0               ha2b3283_1    conda-forge
libtiff                   4.6.0                hddb2be6_3    conda-forge
libutf8proc               2.8.0                h82a8f57_0    conda-forge
libuv                     1.48.0               h827c3e9_0    defaults
libvorbis                 1.3.7                he774522_0    defaults
libwebp-base              1.4.0                hcfcfb64_0    conda-forge
libxcb                    1.15                 hcd874cb_0    conda-forge
libxml2                   2.13.1               h24da03e_0    defaults
libxslt                   1.1.39               h3df6e99_0    conda-forge
libzlib                   1.2.13               h2466b09_6    conda-forge
libzopfli                 1.0.3                ha925a31_0    defaults
linkify-it-py             2.0.0           py312haa95532_0    defaults
llvmlite                  0.43.0          py312hf2fb9eb_0    defaults
locket                    1.0.0           py312haa95532_0    defaults
lxml                      5.2.2           py312h56c7e3b_0    conda-forge
lz4                       4.3.2           py312h2bbff1b_0    defaults
lz4-c                     1.9.4                h2bbff1b_1    defaults
lzo                       2.10                 he774522_2    defaults
m2-msys2-runtime          2.5.0.17080.65c939c               3    defaults
m2-patch                  2.7.5                         2    defaults
m2w64-gcc-libgfortran     5.3.0                         6    defaults
m2w64-gcc-libs            5.3.0                         7    defaults
m2w64-gcc-libs-core       5.3.0                         7    defaults
m2w64-gmp                 6.1.0                         2    defaults
m2w64-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markdown                  3.4.1           py312haa95532_0    defaults
markdown-it-py            2.2.0           py312haa95532_1    defaults
markupsafe                2.1.3           py312h2bbff1b_0    defaults
matplotlib                3.8.4           py312haa95532_0    defaults
matplotlib-base           3.8.4           py312hc7c4135_0    defaults
matplotlib-inline         0.1.6           py312haa95532_0    defaults
mccabe                    0.7.0              pyhd3eb1b0_0    defaults
mdit-py-plugins           0.3.0           py312haa95532_0    defaults
mdurl                     0.1.0           py312haa95532_0    defaults
menuinst                  2.1.1           py312h5da7b33_0    defaults
metaflow                  2.12.8             pyhd8ed1ab_0    conda-forge
mistune                   2.0.4           py312haa95532_0    defaults
mkl                       2023.1.0         h6b88ed4_46358    defaults
mkl-service               2.4.0           py312h2bbff1b_1    defaults
mkl_fft                   1.3.8           py312h2bbff1b_0    defaults
mkl_random                1.2.4           py312h59b6b97_0    defaults
more-itertools            10.1.0          py312haa95532_0    defaults
mpmath                    1.3.0           py312haa95532_0    defaults
msgpack-python            1.0.3           py312h59b6b97_0    defaults
msys2-conda-epoch         20160418                      1    defaults
multidict                 6.0.4           py312h2bbff1b_0    defaults
multipledispatch          0.6.0           py312haa95532_0    defaults
mypy                      1.10.0          py312h827c3e9_0    defaults
mypy_extensions           1.0.0           py312haa95532_0    defaults
navigator-updater         0.5.1           py312haa95532_0    defaults
nbclient                  0.8.0           py312haa95532_0    defaults
nbconvert                 7.10.0          py312haa95532_0    defaults
nbformat                  5.9.2           py312haa95532_0    defaults
nest-asyncio              1.6.0           py312haa95532_0    defaults
networkx                  3.2.1           py312haa95532_0    defaults
ninja                     1.11.1.1                 pypi_0    pypi
ninja-base                1.10.2               h6d14046_5    defaults
nltk                      3.8.1           py312haa95532_0    defaults
notebook                  7.0.8           py312haa95532_0    defaults
notebook-shim             0.2.3           py312haa95532_0    defaults
npop                      0.1.0                   py312_0    local
numba                     0.60.0          py312h0158946_0    defaults
numexpr                   2.8.7           py312h96b7d27_0    defaults
numpy                     1.26.4          py312hfd52020_0    defaults
numpy-base                1.26.4          py312h4dde369_0    defaults
numpydoc                  1.7.0           py312haa95532_0    defaults
openjpeg                  2.5.2                h3d672ee_0    conda-forge
openpyxl                  3.1.2           py312h2bbff1b_0    defaults
openssl                   3.3.1                h2466b09_1    conda-forge
optree                    0.12.1                   pypi_0    pypi
orc                       2.0.1                h7e885a9_1    conda-forge
overrides                 7.4.0           py312haa95532_0    defaults
packaging                 23.2            py312haa95532_0    defaults
pandas                    2.2.2           py312h0158946_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
panel                     1.4.4           py312haa95532_0    defaults
param                     2.1.0           py312haa95532_0    defaults
paramiko                  2.8.1              pyhd3eb1b0_0    defaults
parsel                    1.8.1           py312haa95532_0    defaults
parso                     0.8.3              pyhd3eb1b0_0    defaults
partd                     1.4.1           py312haa95532_0    defaults
pathspec                  0.10.3          py312haa95532_0    defaults
patsy                     0.5.6           py312haa95532_0    defaults
pcre2                     10.43                h17e33f8_0    conda-forge
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    10.3.0          py312h6f6a607_0    conda-forge
pip                       24.0            py312haa95532_0    defaults
pkce                      1.0.3           py312haa95532_0    defaults
pkginfo                   1.10.0          py312haa95532_0    defaults
platformdirs              3.10.0          py312haa95532_0    defaults
plotly                    5.22.0          py312hfc267ef_0    defaults
pluggy                    1.0.0           py312haa95532_1    defaults
ply                       3.11            py312haa95532_1    defaults
powershell_shortcut       0.0.1                haa95532_4    defaults
prometheus_client         0.14.1          py312haa95532_0    defaults
prompt-toolkit            3.0.43          py312haa95532_0    defaults
prompt_toolkit            3.0.43               hd3eb1b0_0    defaults
protego                   0.1.16                     py_0    defaults
protobuf                  4.25.3          py312h958608f_0    defaults
psutil                    5.9.0           py312h2bbff1b_0    defaults
pthread-stubs             0.3                  h3c9f919_1    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
py-cpuinfo                9.0.0           py312haa95532_0    defaults
py-lief                   0.12.3          py312hd77b12b_0    defaults
pyarrow                   13.0.0          py312h4af9903_42_cpu    conda-forge
pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
pyasn1-modules            0.2.8                      py_0    defaults
pybind11-abi              5                    hd3eb1b0_0    defaults
pycodestyle               2.11.1          py312haa95532_0    defaults
pycosat                   0.6.6           py312h2bbff1b_1    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyct                      0.5.0           py312haa95532_0    defaults
pycurl                    7.45.2          py312he2ea4bf_1    defaults
pydantic                  2.5.3           py312haa95532_0    defaults
pydantic-core             2.14.6          py312h062c2fa_0    defaults
pydeck                    0.8.0           py312haa95532_2    defaults
pydispatcher              2.0.5           py312haa95532_3    defaults
pydocstyle                6.3.0           py312haa95532_0    defaults
pyerfa                    2.0.1.4         py312h4b0e54e_0    defaults
pyflakes                  3.2.0           py312haa95532_0    defaults
pygments                  2.15.1          py312haa95532_1    defaults
pyjwt                     2.8.0           py312haa95532_0    defaults
pylint                    2.16.2          py312haa95532_0    defaults
pylint-venv               3.0.3           py312haa95532_0    defaults
pyls-spyder               0.4.0              pyhd3eb1b0_0    defaults
pynacl                    1.5.0           py312h8cc25b3_0    defaults
pyodbc                    5.0.1           py312hd77b12b_0    defaults
pyopenssl                 24.0.0          py312haa95532_0    defaults
pyparsing                 3.0.9           py312haa95532_0    defaults
pyqt                      5.15.10         py312hd77b12b_0    defaults
pyqt5-sip                 12.13.0         py312h2bbff1b_0    defaults
pyqtwebengine             5.15.10         py312hd77b12b_0    defaults
pysocks                   1.7.1           py312haa95532_0    defaults
pytables                  3.9.2           py312h7ab76d9_2    conda-forge
pytest                    7.4.4           py312haa95532_0    defaults
python                    3.12.3          h2628c8c_0_cpython    conda-forge
python-dateutil           2.9.0post0      py312haa95532_2    defaults
python-dotenv             0.21.0          py312haa95532_0    defaults
python-fastjsonschema     2.16.2          py312haa95532_0    defaults
python-json-logger        2.0.7           py312haa95532_0    defaults
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
python-lmdb               1.4.1           py312hd77b12b_0    defaults
python-lsp-black          2.0.0           py312haa95532_0    defaults
python-lsp-jsonrpc        1.1.2              pyhd3eb1b0_0    defaults
python-lsp-server         1.10.0          py312haa95532_0    defaults
python-slugify            5.0.2              pyhd3eb1b0_0    defaults
python-snappy             0.6.1           py312hd77b12b_0    defaults
python-tzdata             2023.3             pyhd3eb1b0_0    defaults
python_abi                3.12                    4_cp312    conda-forge
pytoolconfig              1.2.6           py312haa95532_0    defaults
pytorch                   2.3.1              py3.12_cpu_0    pytorch
pytorch-mutex             1.0                         cpu    pytorch
pytz                      2024.1          py312haa95532_0    defaults
pyviz_comms               3.0.2           py312haa95532_0    defaults
pywavelets                1.5.0           py312he558020_0    defaults
pywin32                   305             py312h2bbff1b_0    defaults
pywin32-ctypes            0.2.2           py312haa95532_0    defaults
pywinpty                  2.0.10          py312h5da7b33_0    defaults
pyyaml                    6.0.1           py312h2bbff1b_0    defaults
pyzmq                     25.1.2          py312hd77b12b_0    defaults
qdarkstyle                3.2.3              pyhd3eb1b0_0    defaults
qstylizer                 0.2.2           py312haa95532_0    defaults
qt-main                   5.15.8              hcef0176_21    conda-forge
qt-webengine              5.15.9               h5bd16bc_7    defaults
qtawesome                 1.2.2           py312haa95532_0    defaults
qtconsole                 5.5.1           py312haa95532_0    defaults
qtpy                      2.4.1           py312haa95532_0    defaults
queuelib                  1.6.2           py312haa95532_0    defaults
rav1e                     0.6.6                h975169c_2    conda-forge
re2                       2023.09.01           hd3b24a8_2    conda-forge
referencing               0.30.2          py312haa95532_0    defaults
regex                     2023.10.3       py312h2bbff1b_0    defaults
reproc                    14.2.4               hd77b12b_2    defaults
reproc-cpp                14.2.4               hd77b12b_2    defaults
requests                  2.32.2          py312haa95532_0    defaults
requests-file             1.5.1              pyhd3eb1b0_0    defaults
requests-toolbelt         1.0.0           py312haa95532_0    defaults
rfc3339-validator         0.1.4           py312haa95532_0    defaults
rfc3986-validator         0.1.1           py312haa95532_0    defaults
rich                      13.3.5          py312haa95532_1    defaults
rope                      1.12.0          py312haa95532_0    defaults
rpds-py                   0.10.6          py312h062c2fa_0    defaults
rtree                     1.0.1           py312h2eaa2aa_0    defaults
ruamel.yaml               0.17.21         py312h2bbff1b_0    defaults
ruamel_yaml               0.17.21         py312h2bbff1b_0    defaults
s3fs                      2024.3.1        py312haa95532_0    defaults
s3transfer                0.10.2             pyhd8ed1ab_0    conda-forge
scikit-image              0.23.2          py312h0158946_0    defaults
scikit-learn              1.4.2           py312hc7c4135_1    defaults
scipy                     1.13.1          py312hbb039d4_0    defaults
scrapy                    2.11.1          py312haa95532_0    defaults
seaborn                   0.13.2          py312haa95532_0    defaults
semver                    3.0.2           py312haa95532_0    defaults
send2trash                1.8.2           py312haa95532_0    defaults
service_identity          18.1.0             pyhd3eb1b0_1    defaults
setuptools                69.5.1          py312haa95532_0    defaults
sip                       6.7.12          py312hd77b12b_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
smart_open                5.2.1           py312haa95532_0    defaults
smmap                     4.0.0              pyhd3eb1b0_0    defaults
snappy                    1.2.1                h23299a8_0    conda-forge
sniffio                   1.3.0           py312haa95532_0    defaults
snowballstemmer           2.2.0              pyhd3eb1b0_0    defaults
sortedcontainers          2.4.0              pyhd3eb1b0_0    defaults
soupsieve                 2.5             py312haa95532_0    defaults
sphinx                    7.3.7           py312h827c3e9_0    defaults
sphinxcontrib-applehelp   1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-devhelp     1.0.2              pyhd3eb1b0_0    defaults
sphinxcontrib-htmlhelp    2.0.0              pyhd3eb1b0_0    defaults
sphinxcontrib-jsmath      1.0.1              pyhd3eb1b0_0    defaults
sphinxcontrib-qthelp      1.0.3              pyhd3eb1b0_0    defaults
sphinxcontrib-serializinghtml 1.1.10          py312haa95532_0    defaults
spyder                    5.5.1           py312haa95532_0    defaults
spyder-kernels            2.5.0           py312haa95532_0    defaults
sqlalchemy                2.0.30          py312h827c3e9_0    defaults
sqlite                    3.45.3               h2bbff1b_0    defaults
stack_data                0.2.0              pyhd3eb1b0_0    defaults
statsmodels               0.14.2          py312h4b0e54e_0    defaults
streamlit                 1.32.0          py312haa95532_0    defaults
svt-av1                   2.1.2                he0c23c2_0    conda-forge
sympy                     1.12            py312haa95532_0    defaults
tabulate                  0.9.0           py312haa95532_0    defaults
tbb                       2021.8.0             h59b6b97_0    defaults
tblib                     1.7.0              pyhd3eb1b0_0    defaults
tenacity                  8.2.2           py312haa95532_1    defaults
terminado                 0.17.1          py312haa95532_0    defaults
text-unidecode            1.3                pyhd3eb1b0_0    defaults
textdistance              4.2.1              pyhd3eb1b0_0    defaults
threadpoolctl             2.2.0              pyh0d69192_0    defaults
three-merge               0.1.1              pyhd3eb1b0_0    defaults
tifffile                  2023.4.12       py312haa95532_0    defaults
tinycss2                  1.2.1           py312haa95532_0    defaults
tk                        8.6.13               h5226925_1    conda-forge
tldextract                3.2.0              pyhd3eb1b0_0    defaults
toml                      0.10.2             pyhd3eb1b0_0    defaults
tomli                     2.0.1           py312haa95532_1    defaults
tomlkit                   0.11.1          py312haa95532_0    defaults
toolz                     0.12.0          py312haa95532_0    defaults
torchaudio                2.3.1                 py312_cpu    pytorch
torchvision               0.18.1                py312_cpu    pytorch
tornado                   6.4.1           py312h827c3e9_0    defaults
tqdm                      4.66.4          py312hfc267ef_0    defaults
traitlets                 5.14.3          py312haa95532_0    defaults
truststore                0.8.0           py312haa95532_0    defaults
twisted                   23.10.0         py312haa95532_0    defaults
twisted-iocpsupport       1.0.2           py312h2bbff1b_0    defaults
types-dataclasses         0.6.6                    pypi_0    pypi
typing-extensions         4.11.0          py312haa95532_0    defaults
typing_extensions         4.11.0          py312haa95532_0    defaults
tzdata                    2024a                h04d1e81_0    defaults
uc-micro-py               1.0.1           py312haa95532_0    defaults
ucrt                      10.0.20348.0         haa95532_0    defaults
ujson                     5.10.0          py312h5da7b33_0    defaults
unicodedata2              15.1.0          py312h2bbff1b_0    defaults
unidecode                 1.2.0              pyhd3eb1b0_0    defaults
urllib3                   2.2.2           py312haa95532_0    defaults
utf8proc                  2.6.1                h2bbff1b_1    defaults
vc                        14.3                h8a93ad2_20    conda-forge
vc14_runtime              14.40.33810         ha82c5b3_20    conda-forge
vs2015_runtime            14.40.33810         h3bf8584_20    conda-forge
w3lib                     2.1.2           py312haa95532_0    defaults
watchdog                  4.0.1           py312haa95532_0    defaults
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1           py312haa95532_2    defaults
websocket-client          1.8.0           py312haa95532_0    defaults
werkzeug                  3.0.3           py312haa95532_0    defaults
whatthepatch              1.0.2           py312haa95532_0    defaults
wheel                     0.43.0          py312haa95532_0    defaults
widgetsnbextension        3.6.6           py312haa95532_0    defaults
win_inet_pton             1.1.0           py312haa95532_0    defaults
winpty                    0.4.3                         4    defaults
wrapt                     1.14.1          py312h2bbff1b_0    defaults
xarray                    2023.6.0        py312haa95532_0    defaults
xlwings                   0.31.4          py312haa95532_0    defaults
xorg-libxau               1.0.11               hcd874cb_0    conda-forge
xorg-libxdmcp             1.1.3                hcd874cb_0    conda-forge
xyzservices               2022.9.0        py312haa95532_1    defaults
xz                        5.4.6                h8cc25b3_1    defaults
yaml                      0.2.5                he774522_0    defaults
yaml-cpp                  0.8.0                hd77b12b_1    defaults
yapf                      0.40.2          py312haa95532_0    defaults
yarl                      1.9.3           py312h2bbff1b_0    defaults
zeromq                    4.3.5                hd77b12b_0    defaults
zfp                       1.0.1                he0c23c2_1    conda-forge
zict                      3.0.0           py312haa95532_0    defaults
zipp                      3.17.0          py312haa95532_0    defaults
zlib                      1.2.13               h2466b09_6    conda-forge
zlib-ng                   2.0.7                h2bbff1b_0    defaults
zope                      1.0             py312haa95532_1    defaults
zope.interface            5.4.0           py312h2bbff1b_0    defaults
zstandard                 0.19.0          py312h2bbff1b_0    defaults
zstd                      1.5.6                h0ea2cb4_0    conda-forge

Additional Context

No response

travishathaway commented 3 months ago

@mantaionut,

I see the same thing in my pytorch install. I don't it actually effects anything though because the file itself is not set as being executable (that's why there's a .exe file next to it with a similar name).

Are you experience actual difficulties using pytorch because of this? I will bring this up with the pytorch team too.

mantaionut commented 3 months ago

@travishathaway there is currently an issue https://github.com/pytorch/pytorch/issues/108602 opened. I also reproduce it, when trying to use the torchrun .exe I will get failed to create process. The workaround was to change the shebang of the .py file.

travishathaway commented 3 months ago

@mantaionut,

Thanks for the link. We will try to work together with the pytorch team to resolve this. There's a chance this may not be a conda issue, but I will leave this issue open until that can be determined for sure.

atalman commented 3 months ago

hi @mantaionut could you please provide some details which project does torchrun-script.py script comes from ? Do you have a link ?

mantaionut commented 3 months ago

hi @mantaionut could you please provide some details which project does torchrun-script.py script comes from ? Do you have a link ?

Hi it is generated from entry_points https://github.com/pytorch/pytorch/blob/main/setup.py#L1098 https://github.com/pytorch/pytorch/blob/main/setup.py#L1479 together with convert-caffe2-to-onnx and convert-onnx-to-caffe2 which also have the same issue.

github-actions[bot] commented 2 weeks ago

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!