Skip to content

Not installing properly on regular computers (non-circuitpython devices) #23

Closed
@duckythescientist

Description

@duckythescientist

As far as I can tell, the actual Python files for this library aren't being installed anywhere on the system when doing a pip install. I've tried this on two separate Linux desktops and in a venv. I get an adafruit_circuitpython_waveform-***.dist-info folder in my site-packages but there's no corresponding adafruit_waveform folder with any source/pyc.

duck@alura:~/test$ mkdir project-name && cd project-name
duck@alura:~/test/project-name$ python3 -m venv .venv
duck@alura:~/test/project-name$ source .venv/bin/activate
[.venv]duck@alura:~/test/project-name$ pip3 install adafruit-circuitpython-waveform
Collecting adafruit-circuitpython-waveform
  Using cached adafruit_circuitpython_waveform-1.3.16-py3-none-any.whl (3.4 kB)
Installing collected packages: adafruit-circuitpython-waveform
Successfully installed adafruit-circuitpython-waveform-1.3.16
[.venv]duck@alura:~/test/project-name$ python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from adafruit_waveform import sine
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'adafruit_waveform'

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions