autograd.numpy import in Ubuntu 16.04.1 LTS
See original GitHub issueHello, 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:
- Created 7 years ago
- Reactions:2
- Comments:7 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Never mind. Fixed it by doing
python3 -m pip install autograd -v
.How did you fix the issue?