Python Forum
Python3 installation and venp error
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python3 installation and venp error
#1
my question here

I am new to python and trying to install python3 on linux server (2.6.32-696.1.1.el6.x86_64).
The VM already has python 2.6 installed, which I believe came with the o/s. So I ended up downloading python3.6 from python.org and ran following commands to install python3:

1. configure
2. make
3. make install

The above command installed python3 in /usr/local/bin as I can see python3 related files in this folder.

I now want to create virtual env and ran following command:

python3 -m venv test      

But getting following error:

Error: Command '['/users/python_venp/test/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

I have been running all the commands as root.  Could you let me know  if I used the correct process to install python3 and why I am getting errors creating the virtual environment?

Thanks
Reply
#2
(Jul-24-2017, 09:20 PM)sunilgt Wrote: Error: Command '['/users/python_venp/test/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
(emphasis mine)

python3 -m venv test looks fine and should work, and that error looks unrelated to venv.  I'm assuming if you run just python3 -V you see valid output, proving that python compiled correctly.  Is the same true if you do pip3 -V?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Understanding and debugging memory error crashes with python3.10.10 Arkaik 5 1,978 Apr-18-2023, 03:22 AM
Last Post: Larz60+
  Getting "SSL client not supported by this Python installation" error prabirsarkar 0 916 Mar-13-2023, 05:01 PM
Last Post: prabirsarkar
Bug maximum recursion depth exceeded while calling a Python object error in python3 Prezess 4 3,691 Aug-02-2020, 02:21 PM
Last Post: deanhystad
  import yaml error for python3 maiya 4 13,023 Jul-15-2020, 06:07 PM
Last Post: Gribouillis
  Pandas installation error pyzyx3qwerty 3 2,493 Jun-04-2020, 10:09 AM
Last Post: pyzyx3qwerty
  PIP Installation Error bhanukiran117 2 2,354 Apr-15-2020, 07:02 PM
Last Post: Larz60+
  Error in Python3.6:free() Corrupted unsorted chunks error sameer_k 2 3,798 Mar-18-2020, 09:37 AM
Last Post: sameer_k
  Beginner - simple package installation error mefeng2008 0 1,699 Mar-13-2020, 09:17 AM
Last Post: mefeng2008
  Error after installing Python3.8.2: "No module named 'apt_pkg'" Chromie 3 3,823 Mar-09-2020, 08:20 PM
Last Post: micseydel
  Error message when trying to install Matplotlib in Python3.8 Transitionyte 5 5,120 Jan-22-2020, 11:52 PM
Last Post: Transitionyte

Forum Jump:

User Panel Messages

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