This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Pipenv lock : ModuleNotFoundError: No module named '_ctypes'
Type: crash Stage: resolved
Components: Library (Lib) Versions: Python 3.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Arselon, ned.deily
Priority: normal Keywords:

Created on 2018-09-04 14:50 by Arselon, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Repositories containing patches
https://github.com/Arselon/pollsheroku
Messages (2)
msg324589 - (view) Author: (Arselon) Date: 2018-09-04 14:50
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))
msg325255 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2018-09-13 15:18
Since you are using pipenv and it is not part of the Python standard library, you should check the pipenv issue tracker and documentation and, if necessary, ask there:

https://github.com/pypa/pipenv/issues
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78759
2018-09-13 15:18:17ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg325255

resolution: third party
stage: resolved
2018-09-04 14:50:41Arseloncreate