Python Forum
Cannot use pypy on Python3 code
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot use pypy on Python3 code
#4
I installed numpy for Ptyhon2 and Python3.

Here is the system response.

james@james-VirtualBox:~/Desktop$ pypy basic-multilayer-ann.py
Traceback (most recent call last):
File "basic-multilayer-ann.py", line 1, in <module>
import numpy as np
ImportError: No module named numpy
james@james-VirtualBox:~/Desktop$ pip install numpy
Requirement already satisfied: numpy in /home/james/.local/lib/python2.7/site-packages (1.14.3)
james@james-VirtualBox:~/Desktop$ pip3 install numpy
Requirement already satisfied: numpy in /home/james/.local/lib/python3.5/site-packages (1.14.3)
james@james-VirtualBox:~/Desktop$ pypy ann.py

What is causing this? Everything tTat is installed should be.


Respectfully,

ErnestTBass
Reply


Messages In This Thread
Cannot use pypy on Python3 code - by ErnestTBass - May-15-2018, 02:23 PM
RE: Cannot use pypy on Python3 code - by Larz60+ - May-15-2018, 02:55 PM
RE: Cannot use pypy on Python3 code - by snippsat - May-15-2018, 02:59 PM
RE: Cannot use pypy on Python3 code - by ErnestTBass - May-15-2018, 04:24 PM
RE: Cannot use pypy on Python3 code - by snippsat - May-15-2018, 05:17 PM
RE: Cannot use pypy on Python3 code - by snippsat - May-15-2018, 05:45 PM
RE: Cannot use pypy on Python3 code - by Larz60+ - May-17-2018, 12:44 PM
RE: Cannot use pypy on Python3 code - by snippsat - May-17-2018, 05:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Linear Regression Python3 code giving weird solutions deepsen 0 1,473 Nov-01-2019, 12:06 PM
Last Post: deepsen
  Pypy installation in Windows 10 Frankie 2 10,732 Jun-13-2018, 04:05 AM
Last Post: Frankie

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020