[SERVER-28881] MongoDB failed to build due to ImportError: No module named typing Created: 20/Apr/17 Updated: 20/Apr/17 Resolved: 20/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | KarenHuang [X] | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows Server 2012 R2 + VS2017 RTM + Python 2.7 + SCons 2.5.1 |
||
| Issue Links: |
|
||||||||
| Participants: | |||||||||
| Description |
|
I tried to build Mongodb with master barnch latest revision on Windows. It failed due to ImportError: No module named typing. This issue can be produced form master branch revision c776e095 (https://github.com/mongodb/mongo/commit/c776e095ac25d0426624f4a84c03f0094c3c661f) Some investigation on my side: You can repro the issue as the steps below: Error info: |
| Comments |
| Comment by Stennie Steneker (Inactive) [ 20/Apr/17 ] |
|
Hi, To build MongoDB from source please follow the requirements as documented on the MongoDB GitHub wiki instructions: As you've noted SCons does not fully support Python 3 yet, so you will have to use Python 2.7. I also noticed you originally filed this question in the MONGOID project, which is for reporting bugs or feature suggestions for the Mongoid ODM. For future discussion around building MongoDB or working with the source code please post in the mongodb-dev discussion group. If you have questions about using MongoDB, the mongodb-user discussion forum would be a more appropriate starting point. Regards, |