Skip to content

Unable to Install pyrfc in Python 3.9 or 3.12 (Previously Worked in Virtual Environment) #380

Closed Answered by sandipsable506
sandipsable506 asked this question in Q&A
Discussion options

You must be logged in to vote

Problem:

I was trying to install pyrfc using pip install pyrfc, but I kept getting the following error:

ERROR: Could not find a version that satisfies the requirement pyrfc (from versions: none)
ERROR: No matching distribution found for pyrfc

Solution (Worked for Python 3.12)

1️⃣ Download the Compatible .whl File

I manually downloaded the correct .whl file from the [SAP PyRFC Releases](https://github.com/SAP/PyRFC/releases) page.
For Python 3.12, I chose the appropriate file:

pyrfc-x.x.x-cp312-cp312-win_amd64.whl

2️⃣ Install Using pip

After downloading, I navigated to the folder containing the .whl file and ran:

pip install path\to\pyrfc-x.x.x-cp312-cp312-win_amd64.whl

Example:

pip …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sandipsable506
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant