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.

autograd.numpy import in Ubuntu 16.04.1 LTS

See original GitHub issue

Hello, I am trying to use autograd. When I try to import autograd.numpy as np I get an ImportError: No module named 'autograd'.

I installed autograd using pip3 install autograd. The output for this is the following:

Requirement already satisfied: numpy>=1.10 in /home/alarcj/.local/lib/python3.5/site-packages (from autograd)
Requirement already satisfied: scipy>=0.17 in /usr/local/lib/python3.5/dist-packages (from autograd)
Requirement already satisfied: future>=0.15.2 in /usr/local/lib/python3.5/dist-packages (from autograd)

I'm not sure how to fix this.
Thank you,
Jorge

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
alejandrox1commented, Jan 3, 2017

Never mind. Fixed it by doing python3 -m pip install autograd -v.

0reactions
habbas3commented, Sep 29, 2022

How did you fix the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to install scipy and numpy on Ubuntu 16.04?
Make sure your repo sources are up to date. Run the following command to fix broken or missing dependencies. sudo apt install -f...
Read more >
Autograd Tutorial - University of Toronto
Introduction to Autograd ... Autograd can automatically differentiate Python and Numpy code ... import autograd.numpy as np.
Read more >
Installation for Ubuntu 16.04 - PyHRF
Install package from PyPI. It is recommended to install the package in user mode (the --user option). $ pip install --user pyhrf.
Read more >
softmax-regression-scratch中的输出问题- 课程讨论
from mxnet import gluon from mxnet import ndarray as nd def ... Linux stephen-ThinkPad-T410 4.10.0-33-generic #37~16.04.1-Ubuntu SMP Fri Aug ...
Read more >
Why i cant install the numpy package using pip on Ubuntu ...
Try installing a more recent version of Python3, activating a virtual environment, and installing with python3 -m pip install numpy . Python 3.5 ......
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