Im working within the SaltStack system on a ubuntu box and Im trying to figure out how to upgrade pyOpenSSL to above 0.14 as requested by the system. However, i cant find any way to do that. anyone can shed some light on how this is done I'd be grateful.
Thanks.
Try this :
sudo easy_install --upgrade PyOpenSSL
Related
I'm trying to install TTS, but it's not allowing me to?
Please help!!
Python version is 3.8.10 //
Linux version Ubuntu 20.04.3 LTS // Running on WSL2
Thanks guys... and apologies for the rookie error, but I just needed to update pip!
I have Python 3.7 installed on my mac with brew. However i need Python 3.6.8 to be installed alongside. I don't know how to find the brew formula for 3.6.8 to install this version. Can somebody please help me with this? (I found some examples with formulas for 3.6.5, but could not find any with 3.6.8).
Please note: I am specifically looking for a solution using brew install.
I haven't been able to find anything useful as far as fixing this and I've only just started learning python.
Try easy_install pip this will install pip.
I would advise installing python using anaconda to avoid such issues
Thanks for your patience, this question has not been answered anywhere on the internet and I am unable to find any clues on how to fix it.
The problem is:
[jv#xp ~]$ /usr/bin/python3
/usr/bin/python3: symbol lookup error: /usr/bin/python3: undefined symbol: _Py_CoerceLegacyLocale
Before this happened I was fixing problems with anaconda3 python environments so there may be a connection there.
It is the new Fedora 27 system python3 that all the packaging systems(yum, dnf) depends on, so if I am unable to fix it, it is probably better to re-install the whole system.(Which will probably mean that with a face of defeat, looking down I ll go back to mint :-/ )
Here this gentleman is battling the same problem:
https://forums.fedoraforum.org/showthread.php?316109-f26-DNF-error-undefined-symbol-_Py_CoerceLegacyLocale
Thanks for your help. Any clues and advice will be greatly appreciated.
I had the same problem after installing python3 via conda.
What I did to solve this problem was to :
1/
Reinstall python3, python3-libs and system-python with the following command :
python2 /usr/bin/yum reinstall python3-libs
(note that you can still run dnf and yum with python2, assuming that only python3 was broken)
2/
Remove the following files :
/usr/lib/libpython3.so
/usr/lib/libpython3.6m.so
/usr/lib/libpython3.6m.so.1.0
The command rpm -qf libpython3.6m.so says that those files do not belong to any package. They were surely installed via conda.
The problem was that the python3 executable loaded these shared libraries instead of the good ones.
While conda update intel-openmp didn't work for me;
conda install --channel conda-forge llvm-openmp worked for me.
yagmail was working for me, this is the first time ive tried it since I upgraded to python 3.5, and it doesnt work. I uninstalled yagmail and tried to pip install it again but it showed me this error on no matching distribution found for win32ctypes?
http://imgur.com/nko5GRs
Any help will be appreciated. Thanks!
It seems to be a keyring issue. Probably they need to support windows for Python3.5
You could try to see if their most recent version on git works:
pip uninstall keyring
pip install git+https://github.com/jaraco/keyring.git
pip install yagmail
Let me know, and feel free to open a ticket on github as well.
Not sure if that would work: there are no issues for Python 3.5 on OS' other than Windows.