I've run into this problem, I use get-pip.py (https://bootstrap.pypa.io/get-pip.py) to update pip to the latest version when I start a new venv.
-- Just save that script and run it with 'python get-pip.py' when you have the venv active.
On Tuesday, September 4, 2018 at 6:14:40 AM UTC-7, Christian Haugland wrote:
On Tuesday, September 4, 2018 at 6:14:40 AM UTC-7, Christian Haugland wrote:
this is the output i get using python 3.7: any idea?(venv) D:\Code\CompanyVTC\venv\Scripts>python -m pip install --upgrade pip Collecting pipInstalling collected packages: pipFound existing installation: pip 10.0.1Uninstalling pip-10.0.1:Successfully uninstalled pip-10.0.1Rolling back uninstall of pipException:Traceback (most recent call last):File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\ basecommand.py", line 228, in main status = self.run(options, args)File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\commands\ install.py", line 335, in run use_user_site=options.use_user_site, File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\req\__ init__.py", line 49, in install_given_reqs **kwargsFile "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\req\req_ install.py", line 748, in install use_user_site=use_user_site, pycompile=pycompile,File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\req\req_ install.py", line 961, in move_wheel_files warn_script_location=warn_script_location, File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_internal\wheel.py", line 431, in move_wheel_files generated.extend(maker.make(spec)) File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_vendor\distlib\ scripts.py", line 403, in make self._make_script(entry, filenames, options=options)File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_vendor\distlib\ scripts.py", line 307, in _make_script self._write_script(scriptnames, shebang, script, filenames, ext) File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_vendor\distlib\ scripts.py", line 243, in _write_script launcher = self._get_launcher('t')File "D:\Code\CompanyVTC\venv\lib\site-packages\pip-10.0.1-py3. 7.egg\pip\_vendor\distlib\ scripts.py", line 382, in _get_launcher result = finder(distlib_package).find(name).bytes AttributeError: 'NoneType' object has no attribute 'bytes'(venv) D:\Code\CompanyVTC\venv\Scripts>
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/ed130344-ce53-4f77-af31-e9ea8b716ba5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment