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.

Enforcing 32/64-bit python

See original GitHub issue

Via 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:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:20 (16 by maintainers)

github_iconTop GitHub Comments

3reactions
altendkycommented, Sep 13, 2018

@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.

0reactions
kennethreitzcommented, Sep 13, 2018

You can specify a path for a reason.

Read more comments on GitHub >

github_iconTop 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 >

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