[New-bugs-announce] [issue34578] Pipenv lock : ModuleNotFoundError: No module named '_ctypes'

Arselon report at bugs.python.org
Tue Sep 4 10:50:41 EDT 2018


New submission from Arselon <arslanaliev at yahoo.com>:

I migrated from 3.6.6 to 3.7.
Error during command: pipenv lock (environment was created before successfully):
LOG:
PS C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python\repos\DjangoPollsNew> pipenv lock
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
ser\appdata\local\programs\python\python37\lib\site-packages\pipenv\vendor\click\core.py", line 8, in <module>
    from .types import convert_type, IntRange, BOOL
  File "c:\users\user\appdata\local\programs\python\python37\lib\site-packages\pipenv\vendor\click\types.py", line 4, in <module>
    from ._compat import open_stream, text_type, filename_to_ui, \
  File "c:\users\user\appdata\local\programs\python\python37\lib\site-packages\pipenv\vendor\click\_compat.py", line 536, in <module>
    from ._winconsole import _get_windows_console_stream
  File "c:\users\user\appdata\local\programs\python\python37\lib\site-packages\pipenv\vendor\click\_winconsole.py", line 16, in <module>
    import ctypes
  File "C:\Users\User\AppData\Local\Programs\Python\Python37\Lib\ctypes\__init__.py", line 7, in <module>
    from _ctypes import Union, Structure, Array
ModuleNotFoundError: No module named '_ctypes'

What can I do?
I need to create new Pipfile.lock for heroku hosting.
Thanks in advance))

----------
components: Library (Lib)
hgrepos: 378
messages: 324589
nosy: Arselon
priority: normal
severity: normal
status: open
title: Pipenv lock : ModuleNotFoundError: No module named '_ctypes'
type: crash
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34578>
_______________________________________


More information about the New-bugs-announce mailing list