Plutus
Plutus copied to clipboard
No module named Ellepticcurve
Have this error:
Traceback (most recent call last): File "plutus.py", line 10, in <module> from ellipticcurve.privateKey import PrivateKey ModuleNotFoundError: No module named 'ellipticcurve'
Tried this:
pip install elipticcurve
says
Defaulting to user installation because normal site-packages is not writeable ERROR: Could not find a version that satisfies the requirement elipticcurve (from versions: none) ERROR: No matching distribution found for elipticcurve
Help pls!
#61 pip3 install -r requirements.txt
#61 pip3 install -r requirements.txt
Hello, Mister Teo! Yes, i tried all this, the same problem. Using macOS
sudo pip3 install setuptools Password: DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: The directory '/Users/.........../Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python (41.0.1) sudo pip3 install -r requirements.txt DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support WARNING: The directory '/Users/........./Library/Caches/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: starkbank-ecdsa==0.1.4 in /Library/Python/2.7/site-packages (from -r requirements.txt (line 1)) (0.1.4) python3 plutus.py Traceback (most recent call last): File "plutus.py", line 10, in <module> from ellipticcurve.privateKey import PrivateKey ModuleNotFoundError: No module named 'ellipticcurve'
Could you help pls? Thank you!
Install python 3...not working with python 2 Python 3.6 or higher
Install python 3...not working with python 2 Python 3.6 or higher
Python 3.7.3 installed already
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python is says something else remove python 2 and 3 and reinstall only python 3 latest with "add to path" option checked during install process... Linux or windows ?
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python is says something else remove python 2 and 3 and reinstall only python 3 latest with "add to path" option checked during install process... Linux or windows ?
MacOS Will try to remove python
You should uninstall python and then reinstall Python3 with pip in your path
Work good, thank you, Mister Teo
Hi @eduard1989,
you probably ran pip3 install -r requirements.txt
in the context of Python 2.
This happens, however, because everytime you update pip, you'll replace the standard pip command with the version you updated. So even pip2 install --upgrade pip
will put a /usr/local/bin/pip
in your system, messing up the Python 3 version.
But to get around this issue you don't necessarilly have to remove Python 2.
Just replace pip3 [...]
with python3 -m pip [...]
and you're good to go (python3 -m pip install -r requirements.txt
).
macuser@M1 plutus % python3 plutus.py
Traceback (most recent call last):
File "/Users/macuser/Desktop/Projects/Sources/plutus/plutus.py", line 10, in
I don't get the point, why it can find it. No reason. Maybe I am overlooking something. Any advise will help.
Try the followings, especially those using the python version (python 3.9) ;
- pip install starkbank-ecdsa
- pip install elliptic-curve Should work thanks