-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install error Ubuntu 18.04.1 LTS V.B #2326
Comments
I using Ubuntu 18.04.1 LTS Virtual box
|
On 2019/01/25 10:50, ahmadti wrote:
|from hashlib import md5 ImportError: cannot import name md5 |
pip install hashlib?
…--
Inus Scheepers
+27 82 658 1961 Skype:inus.s PO Box 21721, Kloof Street, 8008
|
Actually, that note should be improved. For the best way forward, use the latest Senaite code. Bika add-ons (to be released 2019) use Senaite as base, where we continue to contribute |
On 2019/01/25 10:50, ahmadti wrote:
I using Ubuntu 18.04.1 LTS Virtual box
I fellow the installation steps until "sudo -u plone_buildout
bin/buildout" I face the following errors
* In previous steps I didn't install the latest version of Plone
because it's not compatible with bika-lims I install 4.3.11
***@***.***:/usr/local/Plone/zeocluster$ sudo -u
plone_buildout bin/buildout [sudo] password for ahmad:
ERROR:root:code for hash md5 was not found. Traceback (most recent
call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found. Traceback (most
recent call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type sha1
ERROR:root:code for hash sha224 was not found. Traceback (most
recent call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found. Traceback (most
recent call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type sha256
ERROR:root:code for hash sha384 was not found. Traceback (most
recent call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type sha384
ERROR:root:code for hash sha512 was not found. Traceback (most
recent call last): File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 147,
in <module> globals()[__func_name] = __get_hash(__func_name) File
"/usr/local/Plone/Python-2.7/lib/python2.7/hashlib.py", line 97,
in __get_builtin_constructor raise ValueError('unsupported hash
type ' + name) ValueError: unsupported hash type sha512 Traceback
(most recent call last): File "bin/buildout", line 9, in <module>
import zc.buildout.buildout File
"/usr/local/Plone/buildout-cache/eggs/zc.buildout-2.5.3-py2.7.egg/zc/buildout/buildout.py",
line 23, in <module> from md5 import md5 File
"/usr/local/Plone/Python-2.7/lib/python2.7/md5.py", line 10, in
<module> from hashlib import md5 ImportError: cannot import name
md5 ***@***.***:/usr/local/Plone/zeocluster$ ^C
***@***.***:/usr/local/Plone/zeocluster$ |
Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2326 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABI2Sosd3lhfyfvWgf2-Lv07BHPBYDzHks5vGsVOgaJpZM4aSbdf>.
Please see
https://stackoverflow.com/questions/47884422/python-2-7-not-working-anymore-cannot-import-name-md5
…--
Inus Scheepers
+27 82 658 1961 Skype:inus.s PO Box 21721, Kloof Street, 8008
|
Thank you all for the response
I have to follow another tutorial here https://stackoverflow.com/questions/17889799/libraries-in-usr-local-lib-not-found It's went OK but in the final step I get confuse where I have to modify/create the file in /etc which I need to run I copy the file "zeocluster" using 'open as admstrtor tool' and agine I run the command |
On 2019/01/26 22:38, ahmadti wrote:
Thank you all for the response
First of all |pip install hashlib| did't help a bit
Can you identify which pip you used? It seems you have more than one
python version on your machine. Another way to get going is to start
with a unified Plone installer, which installs its' own python, then make
sure that works first, then add the bika stuff to the buildout.cfg.
Hth
…--
Inus Scheepers
+27 82 658 1961 Skype:inus.s PO Box 21721, Kloof Street, 8008
|
Dear inus thank you for being patient with me
Do I really have more than one I don't know I just copy your command
-my Python is (Python 2.7.15rc1)
|
Steps to reproduce
Current behavior
Expected behavior
Screenshot (optional)
The text was updated successfully, but these errors were encountered: