Install Twisted Windows

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Mar 25, 2015  Twisted itself does not depend on pyodbc, so there is no need to install it if your application doesn’t use it. As of March 2015, pyodbc is not available in wheel format from PyPI. Download the Windows installer. Make sure to get the installer that. This Is For Educational Purposes Only! -All the links you might need are located below. If you found this helpful, please leave a thumbs up. If you have any questions, feel free to ask. Pip install twisted in the command line in windows, it starts installing packages until the flowing line comes up. Failed building wheel for twisted pip then crashed soon after, saying it has failed the installation. Is there a way round it to install twisted? My wheel version is 0.29, I'm running windows 10, twisted installs fine. Jul 07, 2018  run pip install twisted If you'd like access to win32 apis, install pypiwin32, using pip install pypiwin32 Sign up for free to join this conversation on GitHub.

  1. Tinted Windows
  2. Pip Install Twisted Windows Error
  3. Install Twisted Windows 6
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 commits
Select commit Hold shift + click to select a range
Filter file types
Failed to load files and symbols.
@@ -63,6 +63,7 @@ install:
python -m pip install --ignore-installed --upgrade setuptools
}
python -m pip install --upgrade pip
python setup.py install
pip install -r dev_requirements.txt
build: off
@@ -2,7 +2,7 @@
__description__ ='The official Python client for the Kite Connect trading API'
__url__ ='https://kite.trade'
__download_url__ ='https://github.com/zerodhatech/pykiteconnect'
__version__='3.7.0.b8'
__version__='3.7.0b9'
__author__ ='Zerodha Technology Pvt ltd. (India)'
__author_email__ ='talk@zerodha.tech'
__license__ ='MIT'
@@ -1,15 +1,51 @@
#!/usr/bin/env python

import os
import sys
import distutils.util
from codecs importopen
from setuptools import setup
from setuptools.command.install import install as _install

current_dir = os.path.abspath(os.path.dirname(__file__))

about = {}
withopen(os.path.join(current_dir, 'kiteconnect', '__version__.py'), 'r', 'utf-8') as f:
exec(f.read(), about)

# Public URL to download windows wheel
public_wheels_path ='https://raw.githubusercontent.com/zerodhatech/python-wheels/master/{wheel_name}'
# Twisted package wheel name
twisted_wheel_name ='Twisted-17.9.0-cp{version}-cp{version}m-{platform}.whl'
# Available python versions for Twisted package
twisted_py_versions = ['34', '35', '36']


# Install package using pip
defpip_install(pkg):
os.system('pip install '+ pkg)


classinstall(_install):
defrun(self):
# Service identity has to be installed before twisted.
pip_install('service-identity>=17.0.0')
py_version ='{}{}'.format(sys.version_info.major, sys.version_info.minor)

# Check if platform is Windows and package for Python version is available
# Currently python version with enable unicode UCS4 is not supported
if os.name 'nt'and sys.version_info.major >2and py_version in twisted_py_versions:
# Install twisted wheels for windows
platform = distutils.util.get_platform().replace('-', '_')
wheel_name = twisted_wheel_name.format(version=py_version, platform=platform)
pip_install(public_wheels_path.format(wheel_name=wheel_name))
else:
# Install from Pypi for other platforms
pip_install('Twisted>=17.9.0')

_install.do_egg_install(self)


setup(
name=about['__title__'],
version=about['__version__'],
@@ -39,18 +75,17 @@
install_requires=[
'requests>=2.18.4',
'six>=1.11.0',
'autobahn[twisted]>=17.10.1',
'Twisted>=17.9.0',
'pyOpenSSL>=17.5.0',
'service-identity>=17.0.0',
'enum34>=1.1.6',
'python-dateutil>=2.6.1'
'python-dateutil>=2.6.1',
'autobahn[twisted]>=17.10.1'
],
tests_require=['pytest', 'responses', 'pytest-cov', 'mock', 'flake8'],
test_suite='tests',
setup_requires=['pytest-runner'],
extras_require={
'doc': ['pdoc'],
':sys_platform'win32'': ['pypiwin32<=220']
}
},
cmdclass={'install': install}
)

Tinted Windows

ProTip! Use n and p to navigate between commits in a pull request.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.
Active4 months ago

I am trying to install Scrapy on Windows 7. Thanks to problems with the installation, I got to installing Twisted first. If i try

I get 'failed building wheel for Twisted'. Is I came across suggestions: Installing twisted on python 3.5 and virtualenv using pipI downloaded the file Twisted-18.7.0-cp37-cp37m-win_amd64.whl and I would like to install Twisted via this wheel. How should I modify this command, so pip finds the file. Or where should I place the file?

I tried:

I get a response: 'URL 'C:Twisted-18.7.0-cp37-cp37m-win_amd64.whl' is ignored. It is either a non-existing path or lacks a specific scheme'. If I try:

Install twisted windows 10

I get a response: Requirement 'Twisted.[..] looks like a filename, but the file does not exist'.The path is correct, so what am I doing wrong?

CassoCasso

1 Answer

you can install it with python -m pip install Twisted-19.2.0-cp37-cp37m-win_amd64.whl , change the package name as per your version.

Pip Install Twisted Windows Error

Tarun KumarTarun Kumar

Install Twisted Windows 6

Not the answer you're looking for? Browse other questions tagged windows-7pythonpip or ask your own question.