Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda env export is exporting utf16-le encoded file on windows 11 (system language: english) #13882

Open
2 tasks done
jiangying000 opened this issue May 2, 2024 · 1 comment
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere

Comments

@jiangying000
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

conda env export is exporting utf16-le encoded file, this environment.yml is parsable for github actions
error:

Run conda-incubator/setup-miniconda@v2
Gathering Inputs...
Creating bootstrap condarc file in /home/runner/.condarc...
Ensuring installer...
  Can we use bundled Miniconda?
  ... will use bundled Miniconda.
Setup environment variables...
  Add "/usr/share/miniconda/condabin" to PATH
Parsing environment...
Error: null byte is not allowed in input (1:4)

 1 | ��n
--------^
 2 | a
 3 | m
0s

i though it should export a utf8 encoded file

Conda Info

active environment : None
       user config file : C:\Users\64478\.condarc
 populated config files : C:\Users\64478\.condarc
          conda version : 23.3.1
    conda-build version : 3.24.0
         python version : 3.10.9.final.0
       virtual packages : __archspec=1=x86_64
                          __win=0=0
       base environment : C:\Users\64478\anaconda3  (writable)
      conda av data dir : C:\Users\64478\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
          package cache : C:\Users\64478\anaconda3\pkgs
                          C:\Users\64478\.conda\pkgs
                          C:\Users\64478\AppData\Local\conda\conda\pkgs
       envs directories : C:\Users\64478\anaconda3\envs
                          C:\Users\64478\.conda\envs
                          C:\Users\64478\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/23.3.1 requests/2.28.1 CPython/3.10.9 Windows/10 Windows/10.0.22631
          administrator : False
             netrc file : None
           offline mode : False

Conda Config

==> C:\Users\64478\.condarc <==
auto_activate_base: False
channels:
  - defaults

Conda list

# packages in environment at C:\Users\64478\anaconda3:
#
# Name                    Version                   Build  Channel
alabaster                 0.7.12             pyhd3eb1b0_0    defaults
anaconda-client           1.11.2          py310haa95532_0    defaults
anaconda-navigator        2.4.0           py310haa95532_0    defaults
anaconda-project          0.11.1          py310haa95532_0    defaults
anyio                     3.5.0           py310haa95532_0    defaults
appdirs                   1.4.4              pyhd3eb1b0_0    defaults
argon2-cffi               21.3.0             pyhd3eb1b0_0    defaults
argon2-cffi-bindings      21.2.0          py310h2bbff1b_0    defaults
arrow                     1.2.3           py310haa95532_1    defaults
astroid                   2.14.2          py310haa95532_0    defaults
astropy                   5.1             py310h9128911_0    defaults
asttokens                 2.0.5              pyhd3eb1b0_0    defaults
atomicwrites              1.4.0                      py_0    defaults
attrs                     22.1.0          py310haa95532_0    defaults
automat                   20.2.0                     py_0    defaults
autopep8                  1.6.0              pyhd3eb1b0_1    defaults
babel                     2.11.0          py310haa95532_0    defaults
backcall                  0.2.0              pyhd3eb1b0_0    defaults
backports                 1.1                pyhd3eb1b0_0    defaults
backports.functools_lru_cache 1.6.4              pyhd3eb1b0_0    defaults
backports.tempfile        1.0                pyhd3eb1b0_1    defaults
backports.weakref         1.0.post1                  py_1    defaults
bcrypt                    3.2.0           py310h2bbff1b_1    defaults
beautifulsoup4            4.11.1          py310haa95532_0    defaults
binaryornot               0.4.4              pyhd3eb1b0_1    defaults
black                     22.6.0          py310haa95532_0    defaults
blas                      1.0                         mkl    defaults
bleach                    4.1.0              pyhd3eb1b0_0    defaults
blosc                     1.21.3               h6c2663c_0    defaults
bokeh                     2.4.3           py310haa95532_0    defaults
boltons                   23.0.0          py310haa95532_0    defaults
bottleneck                1.3.5           py310h9128911_0    defaults
brotli                    1.0.9                h2bbff1b_7    defaults
brotli-bin                1.0.9                h2bbff1b_7    defaults
brotlipy                  0.7.0           py310h2bbff1b_1002    defaults
bzip2                     1.0.8                he774522_0    defaults
ca-certificates           2024.3.11            haa95532_0    defaults
certifi                   2024.2.2        py310haa95532_0    defaults
cffi                      1.15.1          py310h2bbff1b_3    defaults
cfitsio                   3.470                h2bbff1b_7    defaults
chardet                   4.0.0           py310haa95532_1003    defaults
charls                    2.2.0                h6c2663c_0    defaults
charset-normalizer        2.0.4              pyhd3eb1b0_0    defaults
click                     8.0.4           py310haa95532_0    defaults
cloudpickle               2.0.0              pyhd3eb1b0_0    defaults
clyent                    1.2.2           py310haa95532_1    defaults
colorama                  0.4.6           py310haa95532_0    defaults
colorcet                  3.0.1           py310haa95532_0    defaults
comm                      0.1.2           py310haa95532_0    defaults
conda                     23.3.1          py310haa95532_0    defaults
conda-build               3.24.0          py310haa95532_0    defaults
conda-content-trust       0.1.3           py310haa95532_0    defaults
conda-pack                0.6.0              pyhd3eb1b0_0    defaults
conda-package-handling    2.0.2           py310haa95532_0    defaults
conda-package-streaming   0.7.0           py310haa95532_0    defaults
conda-repo-cli            1.0.41          py310haa95532_0    defaults
conda-token               0.4.0              pyhd3eb1b0_0    defaults
conda-verify              3.4.2                      py_1    defaults
console_shortcut          0.1.1                         4    defaults
constantly                15.1.0          py310haa95532_0    defaults
contourpy                 1.0.5           py310h59b6b97_0    defaults
cookiecutter              1.7.3              pyhd3eb1b0_0    defaults
cpuonly                   2.0                           0    pytorch
cryptography              39.0.1          py310h21b164f_0    defaults
cssselect                 1.1.0              pyhd3eb1b0_0    defaults
curl                      7.87.0               h2bbff1b_0    defaults
cycler                    0.11.0             pyhd3eb1b0_0    defaults
cytoolz                   0.12.0          py310h2bbff1b_0    defaults
daal4py                   2023.0.2        py310hf497b98_0    defaults
dal                       2023.0.1         h59b6b97_26646    defaults
dask                      2022.7.0        py310haa95532_0    defaults
dask-core                 2022.7.0        py310haa95532_0    defaults
datashader                0.14.4          py310haa95532_0    defaults
datashape                 0.5.4           py310haa95532_1    defaults
debugpy                   1.5.1           py310hd77b12b_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.6           py310haa95532_0    defaults
distributed               2022.7.0        py310haa95532_0    defaults
docstring-to-markdown     0.11            py310haa95532_0    defaults
docutils                  0.18.1          py310haa95532_3    defaults
entrypoints               0.4             py310haa95532_0    defaults
et_xmlfile                1.1.0           py310haa95532_0    defaults
executing                 0.8.3              pyhd3eb1b0_0    defaults
filelock                  3.9.0           py310haa95532_0    defaults
flake8                    6.0.0           py310haa95532_0    defaults
flask                     2.2.2           py310haa95532_0    defaults
flit-core                 3.6.0              pyhd3eb1b0_0    defaults
fonttools                 4.25.0             pyhd3eb1b0_0    defaults
freetype                  2.12.1               ha860e81_0    defaults
fsspec                    2022.11.0       py310haa95532_0    defaults
future                    0.18.3          py310haa95532_0    defaults
gensim                    4.3.0           py310h4ed8f06_0    defaults
giflib                    5.2.1                h8cc25b3_3    defaults
glib                      2.69.1               h5dc1a3c_2    defaults
glob2                     0.7                pyhd3eb1b0_0    defaults
greenlet                  2.0.1           py310hd77b12b_0    defaults
gst-plugins-base          1.18.5               h9e645db_0    defaults
gstreamer                 1.18.5               hd78058f_0    defaults
h5py                      3.7.0           py310hfc34f40_0    defaults
hdf5                      1.10.6               h1756f20_1    defaults
heapdict                  1.0.1              pyhd3eb1b0_0    defaults
holoviews                 1.15.4          py310haa95532_0    defaults
huggingface_hub           0.10.1          py310haa95532_0    defaults
hvplot                    0.8.2           py310haa95532_0    defaults
hyperlink                 21.0.0             pyhd3eb1b0_0    defaults
icc_rt                    2022.1.0             h6049295_2    defaults
icu                       58.2                 ha925a31_3    defaults
idna                      3.4             py310haa95532_0    defaults
imagecodecs               2021.8.26       py310h4c966c4_2    defaults
imageio                   2.26.0          py310haa95532_0    defaults
imagesize                 1.4.1           py310haa95532_0    defaults
imbalanced-learn          0.10.1          py310haa95532_0    defaults
importlib-metadata        4.11.3          py310haa95532_0    defaults
importlib_metadata        4.11.3               hd3eb1b0_0    defaults
incremental               21.3.0             pyhd3eb1b0_0    defaults
inflection                0.5.1           py310haa95532_0    defaults
iniconfig                 1.1.1              pyhd3eb1b0_0    defaults
intake                    0.6.7           py310haa95532_0    defaults
intel-openmp              2021.4.0          haa95532_3556    defaults
intervaltree              3.1.0              pyhd3eb1b0_0    defaults
ipykernel                 6.19.2          py310h9909e9c_0    defaults
ipython                   8.10.0          py310haa95532_0    defaults
ipython_genutils          0.2.0              pyhd3eb1b0_1    defaults
ipywidgets                7.6.5              pyhd3eb1b0_1    defaults
isort                     5.9.3              pyhd3eb1b0_0    defaults
itemadapter               0.3.0              pyhd3eb1b0_0    defaults
itemloaders               1.0.4              pyhd3eb1b0_1    defaults
itsdangerous              2.0.1              pyhd3eb1b0_0    defaults
jedi                      0.18.1          py310haa95532_1    defaults
jellyfish                 0.9.0           py310h2bbff1b_0    defaults
jinja2                    3.1.2           py310haa95532_0    defaults
jinja2-time               0.2.0              pyhd3eb1b0_3    defaults
jmespath                  0.10.0             pyhd3eb1b0_0    defaults
joblib                    1.1.1           py310haa95532_0    defaults
jpeg                      9e                   h2bbff1b_1    defaults
jq                        1.6                  haa95532_1    defaults
json5                     0.9.6              pyhd3eb1b0_0    defaults
jsonpatch                 1.32               pyhd3eb1b0_0    defaults
jsonpointer               2.1                pyhd3eb1b0_0    defaults
jsonschema                4.17.3          py310haa95532_0    defaults
jupyter                   1.0.0           py310haa95532_8    defaults
jupyter_client            7.3.4           py310haa95532_0    defaults
jupyter_console           6.6.2           py310haa95532_0    defaults
jupyter_core              5.2.0           py310haa95532_0    defaults
jupyter_server            1.23.4          py310haa95532_0    defaults
jupyterlab                3.5.3           py310haa95532_0    defaults
jupyterlab_pygments       0.1.2                      py_0    defaults
jupyterlab_server         2.19.0          py310haa95532_0    defaults
jupyterlab_widgets        1.0.0              pyhd3eb1b0_1    defaults
jxrlib                    1.1                  he774522_2    defaults
keyring                   23.4.0          py310haa95532_0    defaults
kiwisolver                1.4.4           py310hd77b12b_0    defaults
lazy-object-proxy         1.6.0           py310h2bbff1b_0    defaults
lcms2                     2.12                 h83e58a3_0    defaults
lerc                      3.0                  hd77b12b_0    defaults
libaec                    1.0.4                h33f27b4_1    defaults
libarchive                3.6.2                hebabd0d_0    defaults
libbrotlicommon           1.0.9                h2bbff1b_7    defaults
libbrotlidec              1.0.9                h2bbff1b_7    defaults
libbrotlienc              1.0.9                h2bbff1b_7    defaults
libclang                  12.0.0          default_h627e005_2    defaults
libcurl                   7.87.0               h86230a5_0    defaults
libdeflate                1.17                 h2bbff1b_0    defaults
libffi                    3.4.2                hd77b12b_6    defaults
libiconv                  1.16                 h2bbff1b_2    defaults
libjpeg-turbo             2.0.0                h196d8e1_0    defaults
liblief                   0.12.3               hd77b12b_0    defaults
libogg                    1.3.5                h2bbff1b_1    defaults
libpng                    1.6.39               h8cc25b3_0    defaults
libsodium                 1.0.18               h62dcd97_0    defaults
libspatialindex           1.9.3                h6c2663c_0    defaults
libssh2                   1.10.0               hcd4344a_0    defaults
libtiff                   4.5.0                h6c2663c_2    defaults
libuv                     1.44.2               h2bbff1b_0    defaults
libvorbis                 1.3.7                he774522_0    defaults
libwebp                   1.2.4                hbc33d0d_1    defaults
libwebp-base              1.2.4                h2bbff1b_1    defaults
libxml2                   2.9.14               h0ad7f3c_0    defaults
libxslt                   1.1.35               h2bbff1b_0    defaults
libzopfli                 1.0.3                ha925a31_0    defaults
llvmlite                  0.39.1          py310h23ce68f_0    defaults
locket                    1.0.0           py310haa95532_0    defaults
lxml                      4.9.1           py310h1985fb9_0    defaults
lz4                       3.1.3           py310h2bbff1b_0    defaults
lz4-c                     1.9.4                h2bbff1b_0    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-libwinpthread-git   5.0.0.4634.697f757               2    defaults
markdown                  3.4.1           py310haa95532_0    defaults
markupsafe                2.1.1           py310h2bbff1b_0    defaults
matplotlib                3.7.0           py310haa95532_0    defaults
matplotlib-base           3.7.0           py310h4ed8f06_0    defaults
matplotlib-inline         0.1.6           py310haa95532_0    defaults
mccabe                    0.7.0              pyhd3eb1b0_0    defaults
menuinst                  1.4.19          py310h59b6b97_0    defaults
mistune                   0.8.4           py310h2bbff1b_1000    defaults
mkl                       2021.4.0           haa95532_640    defaults
mkl-service               2.4.0           py310h2bbff1b_0    defaults
mkl_fft                   1.3.1           py310ha0764ea_0    defaults
mkl_random                1.2.2           py310h4ed8f06_0    defaults
mock                      4.0.3              pyhd3eb1b0_0    defaults
mpmath                    1.2.1           py310haa95532_0    defaults
msgpack-python            1.0.3           py310h59b6b97_0    defaults
msys2-conda-epoch         20160418                      1    defaults
multipledispatch          0.6.0           py310haa95532_0    defaults
munkres                   1.1.4                      py_0    defaults
mypy_extensions           0.4.3           py310haa95532_1    defaults
navigator-updater         0.3.0           py310haa95532_0    defaults
nbclassic                 0.5.2           py310haa95532_0    defaults
nbclient                  0.5.13          py310haa95532_0    defaults
nbconvert                 6.5.4           py310haa95532_0    defaults
nbformat                  5.7.0           py310haa95532_0    defaults
nest-asyncio              1.5.6           py310haa95532_0    defaults
networkx                  2.8.4           py310haa95532_0    defaults
ninja                     1.10.2               haa95532_5    defaults
ninja-base                1.10.2               h6d14046_5    defaults
nltk                      3.7                pyhd3eb1b0_0    defaults
notebook                  6.5.2           py310haa95532_0    defaults
notebook-shim             0.2.2           py310haa95532_0    defaults
numba                     0.56.4          py310h4ed8f06_0    defaults
numexpr                   2.8.4           py310hd213c9f_0    defaults
numpy                     1.23.5          py310h60c9a35_0    defaults
numpy-base                1.23.5          py310h04254f7_0    defaults
numpydoc                  1.5.0           py310haa95532_0    defaults
openjpeg                  2.4.0                h4fc8c34_0    defaults
openpyxl                  3.0.10          py310h2bbff1b_0    defaults
openssl                   1.1.1w               h2bbff1b_0    defaults
packaging                 22.0            py310haa95532_0    defaults
pandas                    1.5.3           py310h4ed8f06_0    defaults
pandocfilters             1.5.0              pyhd3eb1b0_0    defaults
panel                     0.14.3          py310haa95532_0    defaults
param                     1.12.3          py310haa95532_0    defaults
paramiko                  2.8.1              pyhd3eb1b0_0    defaults
parsel                    1.6.0           py310haa95532_0    defaults
parso                     0.8.3              pyhd3eb1b0_0    defaults
partd                     1.2.0              pyhd3eb1b0_1    defaults
pathlib                   1.0.1              pyhd3eb1b0_1    defaults
pathspec                  0.10.3          py310haa95532_0    defaults
patsy                     0.5.3           py310haa95532_0    defaults
pcre                      8.45                 hd77b12b_0    defaults
pep8                      1.7.1           py310haa95532_1    defaults
pexpect                   4.8.0              pyhd3eb1b0_3    defaults
pickleshare               0.7.5           pyhd3eb1b0_1003    defaults
pillow                    9.4.0           py310hd77b12b_0    defaults
pip                       22.3.1          py310haa95532_0    defaults
pkginfo                   1.9.6           py310haa95532_0    defaults
platformdirs              2.5.2           py310haa95532_0    defaults
plotly                    5.9.0           py310haa95532_0    defaults
pluggy                    1.0.0           py310haa95532_1    defaults
ply                       3.11            py310haa95532_0    defaults
pooch                     1.4.0              pyhd3eb1b0_0    defaults
powershell_shortcut       0.0.1                         3    defaults
poyo                      0.5.0              pyhd3eb1b0_0    defaults
prometheus_client         0.14.1          py310haa95532_0    defaults
prompt-toolkit            3.0.36          py310haa95532_0    defaults
prompt_toolkit            3.0.36               hd3eb1b0_0    defaults
protego                   0.1.16                     py_0    defaults
psutil                    5.9.0           py310h2bbff1b_0    defaults
ptyprocess                0.7.0              pyhd3eb1b0_2    defaults
pure_eval                 0.2.2              pyhd3eb1b0_0    defaults
py                        1.11.0             pyhd3eb1b0_0    defaults
py-lief                   0.12.3          py310hd77b12b_0    defaults
pyasn1                    0.4.8              pyhd3eb1b0_0    defaults
pyasn1-modules            0.2.8                      py_0    defaults
pycodestyle               2.10.0          py310haa95532_0    defaults
pycosat                   0.6.4           py310h2bbff1b_0    defaults
pycparser                 2.21               pyhd3eb1b0_0    defaults
pyct                      0.5.0           py310haa95532_0    defaults
pycurl                    7.45.1          py310hcd4344a_0    defaults
pydispatcher              2.0.5           py310haa95532_2    defaults
pydocstyle                6.3.0           py310haa95532_0    defaults
pyerfa                    2.0.0           py310h2bbff1b_0    defaults
pyflakes                  3.0.1           py310haa95532_0    defaults
pygments                  2.11.2             pyhd3eb1b0_0    defaults
pyhamcrest                2.0.2              pyhd3eb1b0_2    defaults
pyjwt                     2.4.0           py310haa95532_0    defaults
pylint                    2.16.2          py310haa95532_0    defaults
pylint-venv               2.3.0                    pypi_0    pypi
pyls-spyder               0.4.0              pyhd3eb1b0_0    defaults
pynacl                    1.5.0           py310h8cc25b3_0    defaults
pyodbc                    4.0.34          py310hd77b12b_0    defaults
pyopenssl                 23.0.0          py310haa95532_0    defaults
pyparsing                 3.0.9           py310haa95532_0    defaults
pyqt                      5.15.7          py310hd77b12b_0    defaults
pyqt5-sip                 12.11.0         py310hd77b12b_0    defaults
pyqtwebengine             5.15.7          py310hd77b12b_0    defaults
pyrsistent                0.18.0          py310h2bbff1b_0    defaults
pysocks                   1.7.1           py310haa95532_0    defaults
pytables                  3.7.0           py310h388bc9b_1    defaults
pytest                    7.1.2           py310haa95532_0    defaults
python                    3.10.9               h966fe2a_1    defaults
python-dateutil           2.8.2              pyhd3eb1b0_0    defaults
python-fastjsonschema     2.16.2          py310haa95532_0    defaults
python-libarchive-c       2.9                pyhd3eb1b0_1    defaults
python-lsp-black          1.2.1           py310haa95532_0    defaults
python-lsp-jsonrpc        1.0.0              pyhd3eb1b0_0    defaults
python-lsp-server         1.7.1           py310haa95532_0    defaults
python-slugify            5.0.2              pyhd3eb1b0_0    defaults
python-snappy             0.6.1           py310hd77b12b_0    defaults
pytoolconfig              1.2.5           py310haa95532_1    defaults
pytorch                   2.2.1              py3.10_cpu_0    pytorch
pytorch-mutex             1.0                         cpu    pytorch
pytz                      2022.7          py310haa95532_0    defaults
pyviz_comms               2.0.2              pyhd3eb1b0_0    defaults
pywavelets                1.4.1           py310h2bbff1b_0    defaults
pywin32                   305             py310h2bbff1b_0    defaults
pywin32-ctypes            0.2.0           py310haa95532_1000    defaults
pywinpty                  2.0.10          py310h5da7b33_0    defaults
pyyaml                    6.0             py310h2bbff1b_1    defaults
pyzmq                     23.2.0          py310hd77b12b_0    defaults
qdarkstyle                3.0.2              pyhd3eb1b0_0    defaults
qstylizer                 0.2.2                    pypi_0    pypi
qt-main                   5.15.2               he8e5bd7_7    defaults
qt-webengine              5.15.9               hb9a9bb5_5    defaults
qtawesome                 1.2.2                    pypi_0    pypi
qtconsole                 5.4.0                    pypi_0    pypi
qtpy                      2.2.0           py310haa95532_0    defaults
qtwebkit                  5.212                h3ad3cdb_4    defaults
queuelib                  1.5.0           py310haa95532_0    defaults
regex                     2022.7.9        py310h2bbff1b_0    defaults
requests                  2.28.1          py310haa95532_0    defaults
requests-file             1.5.1              pyhd3eb1b0_0    defaults
requests-toolbelt         0.9.1              pyhd3eb1b0_0    defaults
rope                      1.7.0           py310haa95532_0    defaults
rtree                     1.0.1           py310h2eaa2aa_0    defaults
ruamel.yaml               0.17.21         py310h2bbff1b_0    defaults
ruamel.yaml.clib          0.2.6           py310h2bbff1b_1    defaults
ruamel_yaml               0.17.21         py310h2bbff1b_0    defaults
scikit-image              0.19.3          py310hd77b12b_1    defaults
scikit-learn              1.2.1           py310hd77b12b_0    defaults
scikit-learn-intelex      2023.0.2        py310haa95532_0    defaults
scipy                     1.10.0          py310hb9afe5d_1    defaults
scrapy                    2.8.0           py310haa95532_0    defaults
seaborn                   0.12.2          py310haa95532_0    defaults
send2trash                1.8.0              pyhd3eb1b0_1    defaults
service_identity          18.1.0             pyhd3eb1b0_1    defaults
setuptools                65.6.3          py310haa95532_0    defaults
sip                       6.6.2           py310hd77b12b_0    defaults
six                       1.16.0             pyhd3eb1b0_1    defaults
smart_open                5.2.1           py310haa95532_0    defaults
snappy                    1.1.9                h6c2663c_0    defaults
sniffio                   1.2.0           py310haa95532_1    defaults
snowballstemmer           2.2.0              pyhd3eb1b0_0    defaults
sortedcontainers          2.4.0              pyhd3eb1b0_0    defaults
soupsieve                 2.3.2.post1     py310haa95532_0    defaults
sphinx                    5.0.2           py310haa95532_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.5              pyhd3eb1b0_0    defaults
spyder                    5.4.1           py310haa95532_0    defaults
spyder-kernels            2.4.1           py310haa95532_0    defaults
sqlalchemy                1.4.39          py310h2bbff1b_0    defaults
sqlite                    3.40.1               h2bbff1b_0    defaults
stack_data                0.2.0              pyhd3eb1b0_0    defaults
statsmodels               0.13.5          py310h9128911_1    defaults
sympy                     1.11.1          py310haa95532_0    defaults
tabulate                  0.8.10          py310haa95532_0    defaults
tbb                       2021.7.0             h59b6b97_0    defaults
tbb4py                    2021.7.0        py310h59b6b97_0    defaults
tblib                     1.7.0              pyhd3eb1b0_0    defaults
tenacity                  8.0.1           py310haa95532_1    defaults
terminado                 0.17.1          py310haa95532_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                  2021.7.2           pyhd3eb1b0_2    defaults
tinycss2                  1.2.1           py310haa95532_0    defaults
tk                        8.6.12               h2bbff1b_0    defaults
tldextract                3.2.0              pyhd3eb1b0_0    defaults
tokenizers                0.11.4          py310he5181cf_1    defaults
toml                      0.10.2             pyhd3eb1b0_0    defaults
tomli                     2.0.1           py310haa95532_0    defaults
tomlkit                   0.11.1          py310haa95532_0    defaults
toolz                     0.12.0          py310haa95532_0    defaults
torchaudio                2.2.1                 py310_cpu    pytorch
torchvision               0.17.1                py310_cpu    pytorch
tornado                   6.1             py310h2bbff1b_0    defaults
tqdm                      4.64.1          py310haa95532_0    defaults
traitlets                 5.7.1           py310haa95532_0    defaults
transformers              4.24.0          py310haa95532_0    defaults
twisted                   22.2.0          py310h2bbff1b_1    defaults
twisted-iocpsupport       1.0.2           py310h2bbff1b_0    defaults
typing-extensions         4.4.0           py310haa95532_0    defaults
typing_extensions         4.4.0           py310haa95532_0    defaults
tzdata                    2022g                h04d1e81_0    defaults
ujson                     5.4.0           py310hd77b12b_0    defaults
unidecode                 1.2.0              pyhd3eb1b0_0    defaults
urllib3                   1.26.14         py310haa95532_0    defaults
vc                        14.2                 h21ff451_1    defaults
vs2015_runtime            14.27.29016          h5e58377_2    defaults
w3lib                     1.21.0             pyhd3eb1b0_0    defaults
watchdog                  2.1.6           py310haa95532_0    defaults
wcwidth                   0.2.5              pyhd3eb1b0_0    defaults
webencodings              0.5.1           py310haa95532_1    defaults
websocket-client          0.58.0          py310haa95532_4    defaults
werkzeug                  2.2.2           py310haa95532_0    defaults
whatthepatch              1.0.2           py310haa95532_0    defaults
wheel                     0.38.4          py310haa95532_0    defaults
widgetsnbextension        3.5.2           py310haa95532_0    defaults
win_inet_pton             1.1.0           py310haa95532_0    defaults
wincertstore              0.2             py310haa95532_2    defaults
winpty                    0.4.3                         4    defaults
wrapt                     1.14.1          py310h2bbff1b_0    defaults
xarray                    2022.11.0       py310haa95532_0    defaults
xlwings                   0.29.1          py310haa95532_0    defaults
xz                        5.2.10               h8cc25b3_1    defaults
yaml                      0.2.5                he774522_0    defaults
yapf                      0.31.0             pyhd3eb1b0_0    defaults
zeromq                    4.3.4                hd77b12b_0    defaults
zfp                       0.5.5                hd77b12b_6    defaults
zict                      2.1.0           py310haa95532_0    defaults
zipp                      3.11.0          py310haa95532_0    defaults
zlib                      1.2.13               h8cc25b3_0    defaults
zope                      1.0             py310haa95532_1    defaults
zope.interface            5.4.0           py310h2bbff1b_0    defaults
zstandard                 0.19.0          py310h2bbff1b_0    defaults
zstd                      1.5.2                h19a0ad4_0    defaults

Additional Context

No response

@jiangying000 jiangying000 added the type::bug describes erroneous operation, use severity::* to classify the type label May 2, 2024
@travishathaway
Copy link
Contributor

Hi @jiangying000,

For exporting environment files, on UNIX systems conda will use the operating system default, so if the system default has been set to utf16-le this is entirely possible.

I think the solution here would be to make sure the system default is being correctly set to utf-8. You may also have luck by setting the LC_CTYPE environment variable to utf-8. Beyond this, I cannot offer much more advice because I am unfamiliar with the system conda is operating in.

I hope this helps.

@travishathaway travishathaway added type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere source::community catch-all for issues filed by community members pending::feedback indicates we are waiting on feedback from the user and removed type::bug describes erroneous operation, use severity::* to classify the type labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending::feedback indicates we are waiting on feedback from the user source::community catch-all for issues filed by community members type::support neither a bug nor feature, is really just a user having questions or difficulty somewhere
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants