
GITHUB . COM {
}
Detected CMS Systems:
- Wordpress (2 occurrences)
Title:
Error while creating Python2.7 virtualenv Β· Issue #1694 Β· pypa/virtualenv
Description:
Issue Hi. I am trying to create a virtualenv for python 2.7 but it fails: $ virtualenv --python=/usr/bin/python2.7 /tmp/foobar RuntimeError: No virtualenv implementation for PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2....
Website Age:
17 years and 8 months (reg. 2007-10-09).
Matching Content Categories {π}
- Technology & Computing
- Video & Online Content
- Mobile Technology & AI
Content Management System {π}
What CMS is github.com built with?
Github.com utilizes WORDPRESS.
Traffic Estimate {π}
What is the average monthly size of github.com audience?
ππ Tremendous Traffic: 10M - 20M visitors per month
Based on our best estimate, this website will receive around 10,000,019 visitors per month in the current month.
However, some sources were not loaded, we suggest to reload the page to get complete results.
check SE Ranking
check Ahrefs
check Similarweb
check Ubersuggest
check Semrush
How Does Github.com Make Money? {πΈ}
Subscription Packages {π³}
We've located a dedicated page on github.com that might include details about subscription plans or recurring payments. We identified it based on the word pricing in one of its internal links. Below, you'll find additional estimates for its monthly recurring revenues.How Much Does Github.com Make? {π°}
Subscription Packages {π³}
Prices on github.com are in US Dollars ($).
They range from $4.00/month to $21.00/month.
We estimate that the site has approximately 4,989,889 paying customers.
The estimated monthly recurring revenue (MRR) is $20,957,532.
The estimated annual recurring revenues (ARR) are $251,490,385.
Wordpress Themes and Plugins {π¨}
What WordPress theme does this site use?
It is strange but we were not able to detect any theme on the page.
What WordPress plugins does this website use?
It is strange but we were not able to detect any plugins on the page.
Keywords {π}
gaborbernat, virtualenv, tzulberti, python, file, debug, commented, issue, version, usrbinpython, info, line, default, jul, red, contributor, usr, create, ngcc, null, content, sign, implementation, pythoninfospeccpythonfinal, exeusrbinpython, platformlinux, encodingfsioutfnone, data, lock, tmptmpdmvcpyinfobebfbbacbceacfdbbefeeecblock, filelock, options, usrlibpython, platstdlib, error, tmpfoobar, run, environment, report, builtin, usrlocallibpythonsitepackagesvirtualenvruninitpy, added, bug, author, platform, baselibpythonpyversionshort, navigation, pypa, pull, requests,
Topics {βοΈ}
app_data_dir=/tmp/tmp3yblu868/seed-app-data/v1 {base}/local/lib/python{py_version_short}/site-packages 6/site-packages/virtualenv/run/plugin/creators {platbase}/local/lib64/python{py_version_short}/site-packages 6/site-packages/virtualenv/run/__init__ 6/site-packages/virtualenv/discovery/py_info {base}/local/include/python{py_version_short} $ virtualenv --python=/usr/bin/python2 6/site-packages/virtualenv/discovery 6/site-packages/virtualenv/__init__ 6/site-packages/virtualenv/__main__ /usr/local/lib/python3 7 /usr/local/lib/python3 {base}/lib/python{py_version_short} io/en/latest/changelog {platbase}/lib64/python{py_version_short} /usr/local/bin/virtualenv /usr/local/lib/python2 local/share/virtualenv due /usr/local/lib64/python2 gaborbernat edits contributor case-sensitive [debug info src=/usr/lib/python2 exe=/usr/bin/python2 __file__ '/usr/lib64/python2 dest=/tmp/foobar path=/usr/bin/python2 /tmp/tmp19dm6vc0/py_info/20 7 /tmp/foobar runtimeerror {base}/local/bin detailed error report 7/site-packages/streampublisher-1 assigned labels bug personal information error /usr/lib/python2 /usr/bin/python2 gaborbernat added /usr/lib64/python2 /usr/lib/python27 org/project/virtualenv/20 notset [debug report lock [debug filelock 7/dist-packages/pil gaborbernat closed centos docker image [info app_data lock [info filelock python environment comment metadata assignees 7/site-packages
Payment Methods {π}
- Braintree
Questions {β}
- @tzulberti can you give #1697 a try?
- Already have an account?
- Interesting, can you reproduce this with a CentOS docker image?
Schema {πΊοΈ}
DiscussionForumPosting:
context:https://schema.org
headline:Error while creating Python2.7 virtualenv
articleBody:**Issue**
Hi. I am trying to create a virtualenv for python 2.7 but it fails:
```
$ virtualenv --python=/usr/bin/python2.7 /tmp/foobar
RuntimeError: No virtualenv implementation for PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None)
```
But, if I run: /usr/bin/python2.7 it finishes ok.
On the same computer, I try to create a virtualenv without specifing the python version and it creates everyting:
```
$ virtualenv /tmp/foobar
created virtual environment CPython3.6.10.final.0-64 in 231ms
creator CPython3Posix(dest=/tmp/foobar, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/tmp/tmp3yblu868/seed-app-data/v1)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
```
I am using the following virtualenv version:
```
$ virtualenv --version
virtualenv 20.0.7 from /usr/local/lib/python3.6/site-packages/virtualenv/__init__.py
```
**Output of the virtual environment creation**
Make sure to run the creation with `-vvv --with-traceback`:
```console
$ virtualenv --python=/usr/bin/python2.7 -vvv --with-traceback /tmp/foobar
56 setup logging to NOTSET [DEBUG report:43]
56 could not create app data folder /home/foobar/.local/share/virtualenv due to FileNotFoundError(2, 'No such file or directory') [INFO app_data:54]
67 created temporary app data folder /tmp/tmp19dm6vc0 [DEBUG app_data:32]
68 find interpreter for spec PythonSpec(path=/usr/bin/python2.7) [INFO builtin:44]
68 Attempting to acquire lock 140619915224400 on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [DEBUG filelock:270]
68 Lock 140619915224400 acquired on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [INFO filelock:274]
68 get interpreter info via cmd: /usr/bin/python2.7 /usr/local/lib/python3.6/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105]
98 write PythonInfo to /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.json for /usr/bin/python2.7 [DEBUG cached_py_info:91]
99 Attempting to release lock 140619915224400 on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [DEBUG filelock:315]
99 Lock 140619915224400 released on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [INFO filelock:318]
99 proposed PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None) [INFO builtin:50]
99 accepted PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None) [DEBUG builtin:52]
101 filesystem is case-sensitive [DEBUG info:28]
106 CPython2Posix missing PathRefToDest(src=/usr/lib/python2.7/os.py) [DEBUG via_global_self_do:44]
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in <module>
sys.exit(run_with_catch())
File "/usr/local/lib/python3.6/site-packages/virtualenv/__main__.py", line 50, in run_with_catch
run(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/__main__.py", line 20, in run
session = cli_run(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 27, in cli_run
session = session_via_cli(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 35, in session_via_cli
parser = build_parser(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 75, in build_parser
CreatorSelector(interpreter, parser),
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/plugin/creators.py", line 17, in __init__
raise RuntimeError("No virtualenv implementation for {}".format(interpreter))
RuntimeError: No virtualenv implementation for PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None)
```
But if I check the output of the `os` module it is at:
```
$ python2.7
Python 2.7.16 (default, Jul 19 2019, 22:59:28)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.__file__
'/usr/lib64/python2.7/os.pyc'
```
author:
url:https://github.com/tzulberti
type:Person
name:tzulberti
datePublished:2020-03-06T17:07:32.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:9
url:https://github.com/1694/virtualenv/issues/1694
context:https://schema.org
headline:Error while creating Python2.7 virtualenv
articleBody:**Issue**
Hi. I am trying to create a virtualenv for python 2.7 but it fails:
```
$ virtualenv --python=/usr/bin/python2.7 /tmp/foobar
RuntimeError: No virtualenv implementation for PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None)
```
But, if I run: /usr/bin/python2.7 it finishes ok.
On the same computer, I try to create a virtualenv without specifing the python version and it creates everyting:
```
$ virtualenv /tmp/foobar
created virtual environment CPython3.6.10.final.0-64 in 231ms
creator CPython3Posix(dest=/tmp/foobar, clear=False, global=False)
seeder FromAppData(download=False, pip=latest, setuptools=latest, wheel=latest, via=copy, app_data_dir=/tmp/tmp3yblu868/seed-app-data/v1)
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
```
I am using the following virtualenv version:
```
$ virtualenv --version
virtualenv 20.0.7 from /usr/local/lib/python3.6/site-packages/virtualenv/__init__.py
```
**Output of the virtual environment creation**
Make sure to run the creation with `-vvv --with-traceback`:
```console
$ virtualenv --python=/usr/bin/python2.7 -vvv --with-traceback /tmp/foobar
56 setup logging to NOTSET [DEBUG report:43]
56 could not create app data folder /home/foobar/.local/share/virtualenv due to FileNotFoundError(2, 'No such file or directory') [INFO app_data:54]
67 created temporary app data folder /tmp/tmp19dm6vc0 [DEBUG app_data:32]
68 find interpreter for spec PythonSpec(path=/usr/bin/python2.7) [INFO builtin:44]
68 Attempting to acquire lock 140619915224400 on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [DEBUG filelock:270]
68 Lock 140619915224400 acquired on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [INFO filelock:274]
68 get interpreter info via cmd: /usr/bin/python2.7 /usr/local/lib/python3.6/site-packages/virtualenv/discovery/py_info.py [DEBUG cached_py_info:105]
98 write PythonInfo to /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.json for /usr/bin/python2.7 [DEBUG cached_py_info:91]
99 Attempting to release lock 140619915224400 on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [DEBUG filelock:315]
99 Lock 140619915224400 released on /tmp/tmp19dm6vc0/py_info/20.0.7/beb4f305451b4835b36a63cb1c75e625a7251cf8d76b65be2f5856eee68cb551.lock [INFO filelock:318]
99 proposed PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None) [INFO builtin:50]
99 accepted PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None) [DEBUG builtin:52]
101 filesystem is case-sensitive [DEBUG info:28]
106 CPython2Posix missing PathRefToDest(src=/usr/lib/python2.7/os.py) [DEBUG via_global_self_do:44]
Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 11, in <module>
sys.exit(run_with_catch())
File "/usr/local/lib/python3.6/site-packages/virtualenv/__main__.py", line 50, in run_with_catch
run(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/__main__.py", line 20, in run
session = cli_run(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 27, in cli_run
session = session_via_cli(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 35, in session_via_cli
parser = build_parser(args, options)
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/__init__.py", line 75, in build_parser
CreatorSelector(interpreter, parser),
File "/usr/local/lib/python3.6/site-packages/virtualenv/run/plugin/creators.py", line 17, in __init__
raise RuntimeError("No virtualenv implementation for {}".format(interpreter))
RuntimeError: No virtualenv implementation for PythonInfo(spec=CPython2.7.16.final.0-64, exe=/usr/bin/python2.7, platform=linux2, version='2.7.16 (default, Jul 19 2019, 22:59:28) \n[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)]', encoding_fs_io=UTF-8-None)
```
But if I check the output of the `os` module it is at:
```
$ python2.7
Python 2.7.16 (default, Jul 19 2019, 22:59:28)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-28)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.__file__
'/usr/lib64/python2.7/os.pyc'
```
author:
url:https://github.com/tzulberti
type:Person
name:tzulberti
datePublished:2020-03-06T17:07:32.000Z
interactionStatistic:
type:InteractionCounter
interactionType:https://schema.org/CommentAction
userInteractionCount:9
url:https://github.com/1694/virtualenv/issues/1694
Person:
url:https://github.com/tzulberti
name:tzulberti
url:https://github.com/tzulberti
name:tzulberti
InteractionCounter:
interactionType:https://schema.org/CommentAction
userInteractionCount:9
interactionType:https://schema.org/CommentAction
userInteractionCount:9
External Links {π}(5)
- Explore the financials of https://github.blog
- How much does https://pypi.org/project/virtualenv/20.0.9/ pull in?
- How much does https://virtualenv.pypa.io/en/latest/changelog.html#v20-0-9-2020-03-08 pull in?
- How much does https://camo.githubusercontent.com/8c452dfd85952020f1b9a40a7eca287458efaa2afe120a543ea265d40d42274e/68747470733a2f2f6d656469612e74656e6f722e636f2f696d616765732f31313134303637383831333239626234323138383830656562376563333466642f74656e6f722e676966 pull in monthly?
- https://www.githubstatus.com/ income
Analytics and Tracking {π}
- Site Verification - Google
Libraries {π}
- Clipboard.js
- D3.js
- Lodash
Emails and Hosting {βοΈ}
Mail Servers:
- aspmx.l.google.com
- alt1.aspmx.l.google.com
- alt2.aspmx.l.google.com
- alt3.aspmx.l.google.com
- alt4.aspmx.l.google.com
Name Servers:
- dns1.p08.nsone.net
- dns2.p08.nsone.net
- dns3.p08.nsone.net
- dns4.p08.nsone.net
- ns-1283.awsdns-32.org
- ns-1707.awsdns-21.co.uk
- ns-421.awsdns-52.com
- ns-520.awsdns-01.net