I need python3.6 for tensorflow installation, so I downloaded python3.6.12.tar. And I found that I should pip install tarfile. However, in this case it is an older version of python. FYI, In my computer(laptop) I installed python3.9. My question is: can I pip install python.tar inside a virtualenv?
Should I pip install python inside virtualenv?
2k Views Asked by Andy At
1
There are 1 best solutions below
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in PYTHON-3.X
- SQLAlchemy 2 Can't add additional column when specifying __table__
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Platform Generation for a Sky Hop clone
- What's the best way to breakup a large test in pytest
- chess endgame engine in Python doesn't work perfectly
- Function to create matrix of zeros and ones, with a certain density of ones
- how to create a polars dataframe giving the colum-names from a list
- Django socketio process
- How to decode audio stream using tornado websocket?
- Getting website metadata (Excel VBA/Python)
- How to get text and other elements to display over the Video in Tkinter?
- Tkinter App - My Toplevel window is not appearing. App is stuck in mainloop
- Can I use local resources for mp4 playback?
- How to pass the value of a function of one class to a function of another with the @property decorator
- Python ModuleNotFoundError for command line tools built with setup.py
Related Questions in VIRTUALENV
- Tensorflow Graph Execution Permission Denied Error
- Python 2.7 requirements won't install without virtualenv
- Python Selenium Chrome Driver version 123.0.6312.86
- Python Flask complains of a "No module named demo" error when running from VSCode
- Am I mistakenly setting up my project to use system Python interpreter instead of virtual environment? How do I tell?
- How can I install python packages in a virtual environment?
- What is the difference between pipx and using pip install inside a virtual environment?
- PyCharm cannot create Interpreter in Python3
- Running Python Debugger in VS Code Not Stopping at Breakpoints
- Pip from Python 2.7.10 installed via pyenv-win cannot install any packages
- How can I use the same virtual environment in PowerShell outside of Visual Studio Code?
- how do I recover an old python environment?
- cannot use pip to install packages in virtual env for Python in VSCODE
- pip says to upgrade while already updated
- Getting 'Python was not found' error when using virtualenv
Related Questions in PYTHON-3.6
- Web Scraping 'NoneType' object has no attribute 'find_all' error using BeautifulSoup in python3 Juypter Notebook
- Drop in r2 score when trying out Xgboost in different versions of python
- Trying to stream my first app using streamlit Python 3.6.8 on Mac Monterey 12.7.3 Yet I got zsh: permission denied:
- oifits module for python3
- How do you import pictures to Python console without other software/add-ons
- undefined symbol: _ZN10tensorflow6StatusC1ENS_5error4CodeESt17basic_string_viewIcSt11char_traitsIcEE
- Install python3.6.8 failed in MacOS Sonoma useing pyenv
- No module named 'PyQt5.QtTextToSpeech'
- module not found markupsafe
- scrot: failed to save image: test.png: No saver for file format
- Connect to a Kepware KepServerEx V6 that runs on Windows using python in Ubuntu
- How can I add a table after a specific paragraph in a word document using python
- How stop a aoihttp ClientSession event stream with a KeyboardInterrupt in Python 3.6?
- Is there any way to sort a python list by length (longest string first?)
- How do I resolve the permission denied error when trying to download a python library without sudo?
Related Questions in PYTHON-INSTALL
- Cannot install pygame_sdl2
- Can I install conda packages with pip?
- how to remove one of the python installed?
- Multiple python versions causing pip failure
- Execute script that uses my local package - ImportErrors
- Can't use apt-get on Ubuntu 16.04 VM cuz missing python3
- What is the correct way to install dronekit on windows and ubuntu?
- mysqlclient install error - ld: library not found for -lzlib
- I can't install any new python module
- Issue installing python 3.6.8 on Mac M1
- Install python in a user defined location in Mac OS
- "python setup.py bdist_wheel did not run successfully" Installing pandana
- Does package management of a WinPython installation depend on the machine?
- python, python3, python3.7 files don't work in a venv (can't be activated)
- Shipping Python interpreter with C++ project
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is not how virtual environments work. I suggest you to do a little bit more research on virtual environments in Python.
Virtual Environments and Packages
Basically you need to install the necessary python version onto your machine. Then go ahead and use that specific python (which is version 3.6 in your case), to create a virtual environment with the command
~ /usr/bin/<path-to-python3.6> -m venv venvThis command will create a folder called venv. Now you need to source the activation script inside this folder to activate your environment.
Handy note: if you are dealing with different versions of python, a more robust way of handling such situations is via using a tool called pyenv.