Enforcing 32/64-bit python
See original GitHub issueVia python_version
it is possible to specifiy the exact version of python that shall be used.
But for some Project I need to ensure that only 32bit/64bit Python is used. I.e. if the project uses specific DLLs.
The windows launcher of python allows to specifiy the exact python interpreter by adding “-32” or “-64” to the version. I.e. python_version = "3.6-32"
. It would be nice if pipenv allows the same interpreter selection.
Alternatively an additional setting in the Pipfile
could solve the issue.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:20 (16 by maintainers)
Top Results From Across the Web
Enforce VirtualAlloc address less than 32-bits on 64-bit machine
I am using 64-bit windows and a 64-bit Python. I suspect that the program that copies data to the memory is only equipped...
Read more >Mailman 3 Re: [Python-Dev] cpython: Using 'long double' to force ...
Some platforms still have strict alignment rules and we must enforce that ... part because they are often larger than an int or...
Read more >Changelog — Python 3.11.1 documentation
gh-99729: Fix an issue that could cause frames to be visible to Python code as they are being torn down, possibly leading to...
Read more >Issue 1202: zlib.crc32() and adler32() return value
I store CRC in reed-solomon schema of mine. I compare with equality, so, I think we should enforce "CRC(python 32 bits) == CRC(python...
Read more >Changelog — Python 3.8.14 documentation
bpo-34962: make docstest in Doc now passes., and is enforced in CI ... bpo-26071: bdist_wininst created binaries fail to start and find 32bit...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@kennethreitz, it’s not pipenv’s goal to provide a way for developers to specify and setup the environment within which their program runs? Or, this is a perfectly valid thing to want to have work but pipenv is just passing this info through to a lower layer library that needs to implement this. And no, specifying a path is certainly not useful at all in any general sense when talking about getting a desired Python version and bitness on some other computer. Let alone across platforms or when needing different things on different platforms.
Anyways, thanks @techalchemy, I’ll give it a shot.
You can specify a path for a reason.