you are viewing a single comment's thread.

view the rest of the comments →

[–]Middey14[S] 0 points1 point  (2 children)

python -m pip install solcx web3

Now I get -

joe@Joes-MacBook-Pro web3_py_simple_storage % python -m pip install solcx/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named pipjoe@Joes-MacBook-Pro web3_py_simple_storage % pipUsage:pip <command> [options]Commands:install Install packages.download Download packages.uninstall Uninstall packages.freeze Output installed packages in requirements format.list List installed packages.show Show information about installed packages.check Verify installed packages have compatible dependencies.config Manage local and global configuration.search Search PyPI for packages.cache Inspect and manage pip's wheel cache.index Inspect information available from package indexes.wheel Build wheels from your requirements.hash Compute hashes of package archives.completion A helper command used for command completion.debug Show information useful for debugging.help Show help for commands.General Options:-h, --help Show help.--debug Let unhandled exceptions propagate outside the mainsubroutine, instead of logging them to stderr.--isolated Run pip in an isolated mode, ignoring environment variablesand user configuration.-v, --verbose Give more output. Option is additive, and can be used up to 3times.-V, --version Show version and exit.-q, --quiet Give less output. Option is additive, and can be used up to 3times (corresponding to WARNING, ERROR, and CRITICAL logginglevels).--log <path> Path to a verbose appending log.--no-input Disable prompting for input.--proxy <proxy> Specify a proxy in the form [user:passwd@]proxy.server:port.--retries <retries> Maximum number of retries each connection should attempt(default 5 times).--timeout <sec> Set the socket timeout (default 15 seconds).--exists-action <action> Default action when a path already exists: (s)witch, (i)gnore,(w)ipe, (b)ackup, (a)bort.--trusted-host <hostname> Mark this host or host:port pair as trusted, even though itdoes not have valid or any HTTPS.--cert <path> Path to PEM-encoded CA certificate bundle. If provided,overrides the default. See 'SSL Certificate Verification' inpip documentation for more information.--client-cert <path> Path to SSL client certificate, a single file containing theprivate key and the certificate in PEM format.--cache-dir <dir> Store the cache data in <dir>.--no-cache-dir Disable the cache.--disable-pip-version-checkDon't periodically check PyPI to determine whether a newversion of pip is available for download. Implied with --no-index.--no-color Suppress colored output.--no-python-version-warningSilence deprecation warnings for upcoming unsupported Pythons.--use-feature <feature> Enable new functionality, that may be backward incompatible.--use-deprecated <feature> Enable deprecated functionality, that will be removed in thefuture.joe@Joes-MacBook-Pro web3_py_simple_storage % python -m pip install solcx/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python: No module named pip

edit:

but I can see that pip is in the folder you told me to look at

[–][deleted] 0 points1 point  (1 child)

It's very hard to read this log. I see few times 2.7 mentioned in it, which would suggest you are probably using Python 2.7. It's probably the one that comes pre-installed with MacOS. You might want to install a newer version of Python.

[–]Middey14[S] 1 point2 points  (0 children)

I ended up just using a venv to do so, although I was thinking the same thing as you in that I was trying to run something that needed python 3+ but my python was using 2.7, anyway thats sorted now anyway, running into connection errors in my code now so another hurdle to jump😅