question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install breaks with unicode file names

See original GitHub issue

Installing on Windows, 32-bit Python with with tar.gz or .whl files fails for unicode file names. Note that the wheel does build successfully when installing from tar.gz.

PG: Putting this under a details tag to make it shorter:

> pip install tinamit --no-index --find-links=./dist
Looking in links: ./dist
Collecting tinamit
Requirement already satisfied: numpy in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (1.14.2+mkl)
Requirement already satisfied: scipy in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (1.0.1)
Requirement already satisfied: matplotlib in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (2.2.2)
Requirement already satisfied: pillow in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (5.0.0)
Requirement already satisfied: pandas in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (0.23.0)
Requirement already satisfied: theano in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (1.0.1)
Requirement already satisfied: pymc3>=3.4 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (3.4.1)
Requirement already satisfied: python_dateutil in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (2.7.2)
Requirement already satisfied: regex in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (2018.2.21)
Requirement already satisfied: lark-parser in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (0.5.6)
Requirement already satisfied: Babel in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (2.5.3)
Requirement already satisfied: pint in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (0.8.1)
Requirement already satisfied: pyshp in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (1.2.12)
Requirement already satisfied: taqdir in c:\users\jmalar1\pycharmprojects\taqdir (from tinamit) (0.1.0)
Requirement already satisfied: pysd in c:\users\jmalar1\pycharmprojects\pysd (from tinamit) (0.8.3)
Requirement already satisfied: lxml in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (4.2.1)
Requirement already satisfied: spotpy in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from tinamit) (1.3.27)
Requirement already satisfied: cycler>=0.10 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from matplotlib->tinamit) (0.10.0)
Requirement already satisfied: pytz in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from matplotlib->tinamit) (2018.3)
Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from matplotlib->tinamit) (1.0.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from matplotlib->tinamit) (2.2.0)
Requirement already satisfied: six>=1.10 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from matplotlib->tinamit) (1.11.0)
Requirement already satisfied: patsy>=0.4.0 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pymc3>=3.4->tinamit) (0.5.0)
Requirement already satisfied: h5py>=2.7.0 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pymc3>=3.4->tinamit) (2.7.1)
Requirement already satisfied: joblib>=0.9 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pymc3>=3.4->tinamit) (0.11)
Requirement already satisfied: tqdm>=4.8.4 in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pymc3>=3.4->tinamit) (4.19.9)
Requirement already satisfied: parsimonious in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (0.8.0)
Requirement already satisfied: yapf in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (0.20.2)
Requirement already satisfied: xarray in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (0.10.1)
Requirement already satisfied: xlwt in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (1.3.0)
Requirement already satisfied: funcsigs in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (1.0.2)
Requirement already satisfied: pydoe in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (0.3.8)
Requirement already satisfied: xlrd in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from pysd->tinamit) (1.1.0)
Requirement already satisfied: setuptools in c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages (from kiwisolver>=1.0.1->matplotlib->tinamit) (39.2.0)
Building wheels for collected packages: tinamit
  Running setup.py bdist_wheel for tinamit ... error
  Complete output from command c:\users\jmalar1\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jmalar1\\AppData\\Local\\Temp\\pip-install-imnf4lpi\\tinamit\\setup.py';f=getattr(tokenize, 'open', open)(__
file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d C:\Users\jmalar1\AppData\Local\Temp\pip-wheel-jv256esd --python-tag cp36:
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build\lib
  creating build\lib\pruebas
  copying pruebas\test_bf.py -> build\lib\pruebas
  copying pruebas\test_calib_valid_modelos.py -> build\lib\pruebas
  copying pruebas\test_conectado.py -> build\lib\pruebas
  copying pruebas\test_datos.py -> build\lib\pruebas
  copying pruebas\test_envolturas_bf.py -> build\lib\pruebas
  copying pruebas\test_geog.py -> build\lib\pruebas
  copying pruebas\test_mds.py -> build\lib\pruebas
  copying pruebas\test_microcalib.py -> build\lib\pruebas
  copying pruebas\test_números.py -> build\lib\pruebas
  copying pruebas\test_simuls_con_datos.py -> build\lib\pruebas
  copying pruebas\test_unidades.py -> build\lib\pruebas
  copying pruebas\__init__.py -> build\lib\pruebas
  creating build\lib\tinamit
  copying tinamit\BF.py -> build\lib\tinamit
  copying tinamit\Conectado.py -> build\lib\tinamit
  copying tinamit\MDS.py -> build\lib\tinamit
  copying tinamit\Modelo.py -> build\lib\tinamit
  copying tinamit\__init__.py -> build\lib\tinamit
  creating build\lib\tinamit\Análisis
  copying tinamit\Análisis\Calibs.py -> build\lib\tinamit\Análisis
  copying tinamit\Análisis\Datos.py -> build\lib\tinamit\Análisis
  copying tinamit\Análisis\Números.py -> build\lib\tinamit\Análisis
  copying tinamit\Análisis\sintaxis.py -> build\lib\tinamit\Análisis
  copying tinamit\Análisis\Valids.py -> build\lib\tinamit\Análisis
  copying tinamit\Análisis\__init__.py -> build\lib\tinamit\Análisis
  creating build\lib\tinamit\EnvolturasBF
  copying tinamit\EnvolturasBF\__init__.py -> build\lib\tinamit\EnvolturasBF
  creating build\lib\tinamit\EnvolturasMDS
  copying tinamit\EnvolturasMDS\PySD.py -> build\lib\tinamit\EnvolturasMDS
  copying tinamit\EnvolturasMDS\Vensim.py -> build\lib\tinamit\EnvolturasMDS
  copying tinamit\EnvolturasMDS\__init__.py -> build\lib\tinamit\EnvolturasMDS
  creating build\lib\tinamit\Geog
  copying tinamit\Geog\Geog.py -> build\lib\tinamit\Geog
  copying tinamit\Geog\__init__.py -> build\lib\tinamit\Geog
  creating build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Animaciones.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Arte.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Botones.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Cajas.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\CajasGenéricas.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\CajasSubEtapas.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Controles.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\ControlesGenéricos.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Formatos.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\IGU.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Listas.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\Traducciones.py -> build\lib\tinamit\Interfaz
  copying tinamit\Interfaz\__init__.py -> build\lib\tinamit\Interfaz
  creating build\lib\tinamit\trads
  copying tinamit\trads\__init__.py -> build\lib\tinamit\trads
  creating build\lib\tinamit\Unidades
  copying tinamit\Unidades\conv.py -> build\lib\tinamit\Unidades
  copying tinamit\Unidades\trads.py -> build\lib\tinamit\Unidades
  copying tinamit\Unidades\__init__.py -> build\lib\tinamit\Unidades
  creating build\lib\tinamit\EnvolturasBF\DSSAT
  copying tinamit\EnvolturasBF\DSSAT\envoltDSSAT.py -> build\lib\tinamit\EnvolturasBF\DSSAT
  copying tinamit\EnvolturasBF\DSSAT\envoltDSSAT_senc.py -> build\lib\tinamit\EnvolturasBF\DSSAT
  copying tinamit\EnvolturasBF\DSSAT\Lector.py -> build\lib\tinamit\EnvolturasBF\DSSAT
  copying tinamit\EnvolturasBF\DSSAT\__init__.py -> build\lib\tinamit\EnvolturasBF\DSSAT
  creating build\lib\tinamit\EnvolturasBF\SAHYSMOD
  copying tinamit\EnvolturasBF\SAHYSMOD\envoltura.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
  copying tinamit\EnvolturasBF\SAHYSMOD\_anlzd_sntct.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
  copying tinamit\EnvolturasBF\SAHYSMOD\_sahysmodIE.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
  copying tinamit\EnvolturasBF\SAHYSMOD\__init__.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
  creating build\lib\tinamit\EnvolturasBF\Tikon
  copying tinamit\EnvolturasBF\Tikon\envoltTikon.py -> build\lib\tinamit\EnvolturasBF\Tikon
  copying tinamit\EnvolturasBF\Tikon\__init__.py -> build\lib\tinamit\EnvolturasBF\Tikon
  creating build\lib\tinamit\Interfaz\Imágenes
  copying tinamit\Interfaz\Imágenes\__init__.py -> build\lib\tinamit\Interfaz\Imágenes
  creating build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\BF.py -> build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\Conectado.py -> build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\definiciones.py -> build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\MDS.py -> build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\Modelo.py -> build\lib\tinamit\trads\nl
  copying tinamit\trads\nl\__init__.py -> build\lib\tinamit\trads\nl
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "C:\Users\jmalar1\AppData\Local\Temp\pip-install-imnf4lpi\tinamit\setup.py", line 179, in <module>
      'sdist': dist_f  # Comanda para crear distribución instalable
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\__init__.py", line 129, in setup
      return distutils.core.setup(**attrs)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\core.py", line 148, in setup
      dist.run_commands()
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 955, in run_commands
      self.run_command(cmd)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\wheel\bdist_wheel.py", line 202, in run
      self.run_command('build')
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build.py", line 135, in run
      self.run_command(cmd_name)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
      cmd_obj.run()
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\build_py.py", line 52, in run
      self.build_packages()
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build_py.py", line 372, in build_packages
      self.build_module(module, module_file, package)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\build_py.py", line 75, in build_module
      package)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build_py.py", line 342, in build_module
      self.mkpath(dir)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 338, in mkpath
      dir_util.mkpath(name, mode, dry_run=self.dry_run)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dir_util.py", line 66, in mkpath
      log.info("creating %s", head)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\log.py", line 44, in info
      self._log(INFO, msg, args)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\log.py", line 34, in _log
      stream.write('%s\n' % msg)
    File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\encodings\cp1252.py", line 19, in encode
      return codecs.charmap_encode(input,self.errors,encoding_table)[0]
  UnicodeEncodeError: 'charmap' codec can't encode characters in position 33-34: character maps to <undefined>

  ----------------------------------------
  Failed building wheel for tinamit
  Running setup.py clean for tinamit
Failed to build tinamit
recommonmark 0.4.0 has requirement commonmark<=0.5.4, but you'll have commonmark 0.7.4 which is incompatible.
Installing collected packages: tinamit
  Running setup.py install for tinamit ... error
    Complete output from command c:\users\jmalar1\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jmalar1\\AppData\\Local\\Temp\\pip-install-imnf4lpi\\tinamit\\setup.py';f=getattr(tokenize, 'open', open)(
__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jmalar1\AppData\Local\Temp\pip-record-0q2wrmex\install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    creating build
    creating build\lib
    creating build\lib\pruebas
    copying pruebas\test_bf.py -> build\lib\pruebas
    copying pruebas\test_calib_valid_modelos.py -> build\lib\pruebas
    copying pruebas\test_conectado.py -> build\lib\pruebas
    copying pruebas\test_datos.py -> build\lib\pruebas
    copying pruebas\test_envolturas_bf.py -> build\lib\pruebas
    copying pruebas\test_geog.py -> build\lib\pruebas
    copying pruebas\test_mds.py -> build\lib\pruebas
    copying pruebas\test_microcalib.py -> build\lib\pruebas
    copying pruebas\test_números.py -> build\lib\pruebas
    copying pruebas\test_simuls_con_datos.py -> build\lib\pruebas
    copying pruebas\test_unidades.py -> build\lib\pruebas
    copying pruebas\__init__.py -> build\lib\pruebas
    creating build\lib\tinamit
    copying tinamit\BF.py -> build\lib\tinamit
    copying tinamit\Conectado.py -> build\lib\tinamit
    copying tinamit\MDS.py -> build\lib\tinamit
    copying tinamit\Modelo.py -> build\lib\tinamit
    copying tinamit\__init__.py -> build\lib\tinamit
    creating build\lib\tinamit\Análisis
    copying tinamit\Análisis\Calibs.py -> build\lib\tinamit\Análisis
    copying tinamit\Análisis\Datos.py -> build\lib\tinamit\Análisis
    copying tinamit\Análisis\Números.py -> build\lib\tinamit\Análisis
    copying tinamit\Análisis\sintaxis.py -> build\lib\tinamit\Análisis
    copying tinamit\Análisis\Valids.py -> build\lib\tinamit\Análisis
    copying tinamit\Análisis\__init__.py -> build\lib\tinamit\Análisis
    creating build\lib\tinamit\EnvolturasBF
    copying tinamit\EnvolturasBF\__init__.py -> build\lib\tinamit\EnvolturasBF
    creating build\lib\tinamit\EnvolturasMDS
    copying tinamit\EnvolturasMDS\PySD.py -> build\lib\tinamit\EnvolturasMDS
    copying tinamit\EnvolturasMDS\Vensim.py -> build\lib\tinamit\EnvolturasMDS
    copying tinamit\EnvolturasMDS\__init__.py -> build\lib\tinamit\EnvolturasMDS
    creating build\lib\tinamit\Geog
    copying tinamit\Geog\Geog.py -> build\lib\tinamit\Geog
    copying tinamit\Geog\__init__.py -> build\lib\tinamit\Geog
    creating build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Animaciones.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Arte.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Botones.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Cajas.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\CajasGenéricas.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\CajasSubEtapas.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Controles.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\ControlesGenéricos.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Formatos.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\IGU.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Listas.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\Traducciones.py -> build\lib\tinamit\Interfaz
    copying tinamit\Interfaz\__init__.py -> build\lib\tinamit\Interfaz
    creating build\lib\tinamit\trads
    copying tinamit\trads\__init__.py -> build\lib\tinamit\trads
    creating build\lib\tinamit\Unidades
    copying tinamit\Unidades\conv.py -> build\lib\tinamit\Unidades
    copying tinamit\Unidades\trads.py -> build\lib\tinamit\Unidades
    copying tinamit\Unidades\__init__.py -> build\lib\tinamit\Unidades
    creating build\lib\tinamit\EnvolturasBF\DSSAT
    copying tinamit\EnvolturasBF\DSSAT\envoltDSSAT.py -> build\lib\tinamit\EnvolturasBF\DSSAT
    copying tinamit\EnvolturasBF\DSSAT\envoltDSSAT_senc.py -> build\lib\tinamit\EnvolturasBF\DSSAT
    copying tinamit\EnvolturasBF\DSSAT\Lector.py -> build\lib\tinamit\EnvolturasBF\DSSAT
    copying tinamit\EnvolturasBF\DSSAT\__init__.py -> build\lib\tinamit\EnvolturasBF\DSSAT
    creating build\lib\tinamit\EnvolturasBF\SAHYSMOD
    copying tinamit\EnvolturasBF\SAHYSMOD\envoltura.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
    copying tinamit\EnvolturasBF\SAHYSMOD\_anlzd_sntct.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
    copying tinamit\EnvolturasBF\SAHYSMOD\_sahysmodIE.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
    copying tinamit\EnvolturasBF\SAHYSMOD\__init__.py -> build\lib\tinamit\EnvolturasBF\SAHYSMOD
    creating build\lib\tinamit\EnvolturasBF\Tikon
    copying tinamit\EnvolturasBF\Tikon\envoltTikon.py -> build\lib\tinamit\EnvolturasBF\Tikon
    copying tinamit\EnvolturasBF\Tikon\__init__.py -> build\lib\tinamit\EnvolturasBF\Tikon
    creating build\lib\tinamit\Interfaz\Imágenes
    copying tinamit\Interfaz\Imágenes\__init__.py -> build\lib\tinamit\Interfaz\Imágenes
    creating build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\BF.py -> build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\Conectado.py -> build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\definiciones.py -> build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\MDS.py -> build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\Modelo.py -> build\lib\tinamit\trads\nl
    copying tinamit\trads\nl\__init__.py -> build\lib\tinamit\trads\nl
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\jmalar1\AppData\Local\Temp\pip-install-imnf4lpi\tinamit\setup.py", line 179, in <module>
        'sdist': dist_f  # Comanda para crear distribución instalable
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\__init__.py", line 129, in setup
        return distutils.core.setup(**attrs)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\install.py", line 545, in run
        self.run_command('build')
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dist.py", line 974, in run_command
        cmd_obj.run()
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\build_py.py", line 52, in run
        self.build_packages()
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build_py.py", line 372, in build_packages
        self.build_module(module, module_file, package)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\site-packages\setuptools\command\build_py.py", line 75, in build_module
        package)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\command\build_py.py", line 342, in build_module
        self.mkpath(dir)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\cmd.py", line 338, in mkpath
        dir_util.mkpath(name, mode, dry_run=self.dry_run)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\dir_util.py", line 66, in mkpath
        log.info("creating %s", head)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\log.py", line 44, in info
        self._log(INFO, msg, args)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\distutils\log.py", line 34, in _log
        stream.write('%s\n' % msg)
      File "c:\users\jmalar1\appdata\local\programs\python\python36-32\lib\encodings\cp1252.py", line 19, in encode
        return codecs.charmap_encode(input,self.errors,encoding_table)[0]
    UnicodeEncodeError: 'charmap' codec can't encode characters in position 33-34: character maps to <undefined>

    ----------------------------------------
Command "c:\users\jmalar1\appdata\local\programs\python\python36-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\\Users\\jmalar1\\AppData\\Local\\Temp\\pip-install-imnf4lpi\\tinamit\\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().
replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\jmalar1\AppData\Local\Temp\pip-record-0q2wrmex\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\jmalar1\AppData\Lo
cal\Temp\pip-install-imnf4lpi\tinamit\

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pgansslecommented, Oct 26, 2018

@julienmalard It would be much more helpful if you could provide a minimal working example rather than pointing us to an existing broken build.

For one thing, whoever fixes this will need to construct a minimal working example in order to write a test for it anyway, so constructing an MWE is really step 1 in the process.

Even if you don’t have the fix for it, a PR with a failing test (marked with @pytest.mark.xfail) would be a very useful contribution.

0reactions
jaracocommented, May 25, 2020

It’s not obvious to me what part of julianmalard/tinamit is causing the failure. Please create a standalone project that minimally replicates the failure. If it’s the presence of a file like region, then create a minimal project that has just that file in the package. If that example fails on Windows with the same error, then we have something to work from. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

broken diacritics in downloaded Unicode file name
My application uploads unicode file from client to server and storing in the database is done correctly. Encoding is kept. The file name...
Read more >
Unicode characters in filenames break file upload - Drupal
Prepare a file with a left-to-right mark in its name. On Mac you can do this by pressing Ctrl+Cmd to get the character...
Read more >
RStudio can't deal with file names with unicode characters
I've suddenly started having a problem in RStudio when I've got file/folder names that contain unicode characters.
Read more >
Choose text encoding when you open and save files
You can open and read Unicode-encoded files on your English-language computer ... Under Change your installation of Microsoft Office, click Add or Remove ......
Read more >
Unicode File Name Support - Suggested Solution - Perl Maven
As you have mentioned, the problem is not Perl specific, however the Windows C stdio has native support for unicode filenames (via wfopen)...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found