Python Forum
Error in a file and problem with ptpython
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in a file and problem with ptpython
#4
(Aug-24-2018, 05:10 PM)sylas Wrote: Hi all! First trouble: python works with version 3.7 while ptpython works with verion 3.6. How make them both work with 3.7 ?
You have to install ptpython to 3.7.
I guess you have gotten pyenv to work now.
Then both python and pip should point to 3.7.
# Set python and pip to point to 3.7
mint@mint ~ $ pyenv global 3.7.0
mint@mint ~ $ python -V
Python 3.7.0
mint@mint ~ $ pip -V
pip 10.0.1 from /home/mint/.pyenv/versions/3.7.0/lib/python3.7/site-packages/pip (python 3.7)
mint@mint ~ $ 
Then pip install ptpython will install to 3.7,test with which pyinstaller Terminal.
Gribouillis Wrote:I suspect it is this module from the cheeseshop
No is this one prime_finder 0.1
New users may wonder cheeseshop Think

You should link to the code you use @sylas
Reply


Messages In This Thread
RE: Error in a file and problem with ptpython - by snippsat - Aug-25-2018, 09:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to handle "History" in ptpython sylas 4 4,945 Oct-07-2018, 11:09 PM
Last Post: Larz60+
  Cannot use functions at the bottom of ptpython sylas 1 2,656 Aug-29-2018, 12:02 PM
Last Post: sylas
  How to correct, save, run with ptpython sylas 17 11,893 Jun-03-2018, 04:48 PM
Last Post: sylas
  ptpython docstring metulburr 4 5,317 Nov-17-2017, 01:36 AM
Last Post: metulburr

Forum Jump:

User Panel Messages

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