Reputation: 153
I have pip and virtualenv installed through cygwin and I'm running a virtualenv on my project. All that is working fine. I have installed a few packages. But trying to run the project I'm getting:
NotImplementedError: no support for this platform
When I look into the Python packages in the virtualenv that are throwing the error, I find this line in a bunch of the init files:
if sys.platform == 'darwin':
I'm on a pc running cygwin and if I go into python interactive from the command line and print out 'sys.platform' I get 'Cygwin'
Is there some pip configuration that I need to set manually? Can I do that and reload the packages somehow?
Here's the full error (edited to exclude some client info)
File "release_process/main.py", line 1, in <module>
from core import orchestrator
File "/[PROJECT PATH]/core/orchestrator.py", line 6, in <module>
from services import BuildConfigService, SigningService, SCFSService, GitHubService, CDNService
File "/[PROJECT PATH]/core/services/__init__.py", line 1, in <module>
from buildconfig import BuildConfigService
File "/[ENVIRONMENT PATH]/lib/python3.6/site-packages/buildconfig/__init__.py", line 2, in <module>
from . import runpersistent
File "/[ENVIRONMENT PATH]/lib/python3.6/site-packages/buildconfig/runpersistent/__init__.py", line 15, in <module>
raise NotImplementedError('no support for this platform')
NotImplementedError: no support for this platform
Upvotes: 0
Views: 467
Reputation: 295278
This isn't a problem with pip, but with the buildconfig
library, which is not part of pip
but rather is pulled in by the application you're trying to install.
That library explicitly supports no platforms other than darwin
or linux
.
Upvotes: 1