micropy install dependency issue
- Dominant language
- Python
- Stars
- 337
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
Description
I'm new to micropython, so this may well be the fault of inexperience but here goes:
I'm using your great tool under Windows and VS Code.
I'm trying to run some code that depends on urlli.parse and urllib.parse depends on a module called collections.
I have run 'micropy install micropython-urllib.parse' and 'micropy install micropython-collections'
However, once uploaded to my pycom fipy I keep getting the error
```
File "/flash/lib/parse.py", line 32, in
ImportError: no module named 'collections'
```
However:
```
>>> os.listdir('lib')
['micropython-collections', 'micropython-hashlib', 'base64.py', 'defaultdict.py', 'hmac.py', 'mqtt_async.py', 'parse.py', 'urllib.py', 'warnings.py']
```
Any idea where I'm going wrong?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue with `micropy install micropython-urllib.parse` and `micropy install micropython-collections`, then inspect the uploaded `lib` directory on the Pycom FiPy. Determine why the installed dependency is not importable; done when the dependency imports successfully or the issue documents the precise failure and expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100