Closed thattejada closed 6 years ago
Would you mind using the newest version pyrfc-1.9.93-py3.5-linux-x86_64.egg ? Just tested with easy_install, works fine.
Hi @bsrdjan, thank you so much for your answer, I'm testing right now...
After trying easy_install pyrfc-1.9.93-py3.5-linux-x86_64.egg
Now I get this error:
Processing pyrfc-1.9.93-py3.5-linux-x86_64.egg
removing '/usr/local/lib/python3.5/dist-packages/pyrfc-1.9.93-py3.5-linux-x86_64.egg' (and everything under it)
creating /usr/local/lib/python3.5/dist-packages/pyrfc-1.9.93-py3.5-linux-x86_64.egg
Extracting pyrfc-1.9.93-py3.5-linux-x86_64.egg to /usr/local/lib/python3.5/dist-packages
pyrfc 1.9.93 is already the active version in easy-install.pth
Installed /usr/local/lib/python3.5/dist-packages/pyrfc-1.9.93-py3.5-linux-x86_64.egg
Processing dependencies for pyrfc==1.9.93
Searching for pyrfc==1.9.93
Reading https://pypi.python.org/simple/pyrfc/
No local packages or working download links found for pyrfc==1.9.93
error: Could not find suitable distribution for Requirement.parse('pyrfc==1.9.93')
Right now I'm looking for that error on Google.
Could you give me some advice?
not sure, can check tomorrow. The setup in which I just created and tested this egg is ubutu:latest based docker:
cd PyRFC
python -V
# Python 3.5.6
easy_install --version
# setuptools 28.8.0 from /home/www-admin/.pyenv/versions/3.5.6/envs/py356/lib/python3.5/site-packages (Python 3.5)
pip uninstall pyrfc # to remove the active pyrfc wheel or egg
python setup.py bdist_egg
easy_install dist/pyrfc-1.9.93-py3.5-linux-x86_64.egg
I remember I sometimes had to run pip uninstall pyrfc
twice while testing, once to remove the wheel and once for egg, if both installed.
I'm trying the installation on Ubuntu server 16.04, Python 3.5.2, I don't know why the installation is trying to reach https://pypi.python.org/simple/pyrfc/
No idea but did you try if pip and wheel work on your system?
Why not use that new standard for binary wheels (https://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install) ?
Thanks so much @bsrdjan, I'm going to test that approach!!
Is there a .whl file for installing with python 3? I'm using Python 3.5.2
yes, also the wheel is available, attached to 1.9.93 release:
pyrfc-1.9.93-cp35-cp35m-linux_x86_64.whl
There are too many packages on /dist location anyway and for future releases I would publish them as release attachments only. Need to update the README as well.
When trying to install...
pip install https://github.com/SAP/PyRFC/releases/download/1.9.93/pyrfc-1.9.93-cp35-cp35m-linux_x86_64.whl
pyrfc-1.9.93-cp35-cp35m-linux_x86_64.whl is not a supported wheel on this platform.
I'm using Ubuntu server 16.04 (64-Bit) What am I doing wrong?
I think this documentation http://sap.github.io/PyRFC/ should also be updated
I can try to replicate. Could you please post the output of shell comand:
which python
and the welcome message after opening the python interpreter:
python
The system is 64bit, correct?
Sure!
(env) diego@ubuntu:~/PyRFC$ which python
/home/diego/trinidad/env/bin/python
(env) diego@ubuntu:~/PyRFC$ python -V
Python 3.5.2
(env) diego@ubuntu:~/PyRFC$ python
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
I'm using virtualenv
Thanks @bsrdjan
Hi @bsrdjan, finally after installing a fresh copy of a 64 bit Ubuntu the installation of the wheel file with pip was successfully completed.
Once again, the docs on the README and http://sap.github.io/PyRFC/install.html should be updated.
Now I can summarize the whole process in 2 big steps:
pip install https://github.com/SAP/PyRFC/releases/download/1.9.93/pyrfc-1.9.93-cp35-cp35m-linux_x86_64.whl
Thanks a lot for all your patience and quickly help with this issue these days!
How can I use the pyrfc-1.9.5-py3.5-linux-x86_64.egg with easy_install? First I downloaded a copy of pyrfc-1.9.5-py3.5-linux-x86_64.egg, then I cd to the download folder and run
easy_install pyrfc-1.9.5-py3.5-linux-x86_64.egg
but I get this error:I'm using Ubuntu server 16.04