question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: no module named numpy

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When I use

from towhee import pipeline

it throws me an error

no module name numpy

Expected Behavior

from towhee import pipeline

It should not throw an error when I use from towhee import pipeline

Steps To Reproduce

1. Install NumPy when installing the towhee module can fix this issue

in the requirements.txt file add the NumPy dependency

Environment

- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Windows): Windows 11
- CPU/Memory:1.76 GHz

Anything else?

Reproduce Steps

  1. Install NumPy when installing the towhee module can fix this issue

in the requirements.txt file add the NumPy dependency.

Assign me to fix this issue

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

6reactions
fzliucommented, Mar 30, 2022

First off, welcome to the Towhee community.

Regarding your issue, did install towhee via pip? pip install towhee

1reaction
pravee42commented, Mar 30, 2022

@fzliu is it the same virtual environment error?

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "Import Error: No module named numpy" on Windows
It turns out the problem happens when you're installing Numpy to a version of python and trying to run the program using another...
Read more >
How to Fix: No module named NumPy - GeeksforGeeks
Numpy is a module used for array processing. The error “No module named numpy ” will occur when there is no NumPy library...
Read more >
ModuleNotFoundError: No module named numpy, simple fix!
The error “ModuleNotFoundError: No module named numpy" is a common error experienced by data scientists when developing in Python. The error is ...
Read more >
[Solved] No Module Named Numpy in Python
No Module Named Numpy is one of the persistent errors if you have multiple pythons installed or a virtual environment set up. This...
Read more >
No Module Named Numpy Import Error : Fix this Issue Easily
No Module Named Numpy Import Error on Windows · Step 1: Uninstall the previous NumPy library. · Step 2: Install the Numpy Library....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found