addc
addc copied to clipboard
Error while installing to MacOS
I'm trying to install your package on my MacBook Pro 15, OS - High Sierra.
Python 3.5.4
pip 18.0 (python 3.5)
setuptools (40.4.3)
wheel (0.31.1)
Error message:
pip install git+git://github.com/carsonfarmer/addc.git
Collecting git+git://github.com/carsonfarmer/addc.git
Cloning git://github.com/carsonfarmer/addc.git to /private/var/folders/3p/k6xqt6w56jx2dlcfpkqb24m00000gn/T/pip-req-build-0itus359
Complete output from command python setup.py egg_info:
Download error on https://pypi.org/simple/pytest-runner/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:719) -- Some packages may not be found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/3p/k6xqt6w56jx2dlcfpkqb24m00000gn/T/pip-req-build-0itus359/setup.py", line 71, in <module>
"Topic :: System :: Distributed Computing",
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/setuptools/__init__.py", line 139, in setup
_install_setup_requires(attrs)
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/setuptools/__init__.py", line 134, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/setuptools/dist.py", line 514, in fetch_build_eggs
replace_conflicting=True,
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/pkg_resources/__init__.py", line 777, in resolve
replace_conflicting=replace_conflicting
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1060, in best_match
return self.obtain(req, installer)
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1072, in obtain
return installer(requirement)
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/setuptools/dist.py", line 581, in fetch_build_egg
return cmd.easy_install(req)
File "/Users/user/Python/dynamic_topics/env/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 670, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3p/k6xqt6w56jx2dlcfpkqb24m00000gn/T/pip-req-build-0itus359/
Tried to install on Ubuntu 16.04 and it worked well.
Can you help please with Mac OS?
Hmm, could you try installing pytest-runner first and trying again?
@carsonfarmer I tried, but I still have a problem:
pip install git+git://github.com/carsonfarmer/addc.git
Collecting git+git://github.com/carsonfarmer/addc.git
Cloning git://github.com/carsonfarmer/addc.git to /private/var/folders/3p/k6xqt6w56jx2dlcfpkqb24m00000gn/T/pip-req-build-dxcwqv6i
Collecting fastpair (from AddC===0.1.0.dev-175829c)
Could not find a version that satisfies the requirement fastpair (from AddC===0.1.0.dev-175829c) (from versions: )
No matching distribution found for fastpair (from AddC===0.1.0.dev-175829c)
Old issue but the last error about Fastpair missing was solved (on Windows OS) by first installing it from source:
git clone https://github.com/carsonfarmer/fastpair.git
cd fastpair
python setup.py install
addc installed successfully after this step.