ApeWorX / ApeWorX/py-solc-x

install error

Open
#129 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
142
Forks
50
PR merge metrics
No merged PRs in 30d

Description

### Environment information

* `py-solc-x` Version: 1.1.1
* `solc` Version: ?
* Python Version: 3.7.7
* OS: linux

### What was wrong?

When running `python3.7 -m solcx.install v0.8.9` (or similar) it complains about not solc present (which is why I ran this) and that it was loaded before being run.
```
RuntimeWarning: 'solcx.install' found in sys.modules after import of package 'solcx', but prior to execution of 'solcx.install'; this may result in unpredictable behaviour
```
Maybe this was because I already tried to run it before? Also after checking the output directory, it did install solc, but this was not visible from the output.

Full output (PATH somewhat redacted):

```
❯ python3.7 -m solcx.install v0.5.0
which: no solc in (/home/user/.local/bin:/home/user/bin:)
/usr/lib64/python3.7/runpy.py:125: RuntimeWarning: 'solcx.install' found in sys.modules after import of package 'solcx', but prior to execution of 'solcx.install'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
which: no solc in (/home/user/.local/bin:/home/user/bin:)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.